Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Hi,

I'm interested in installing Inline::CPP on my ubuntu box.
Obviously I need g++ for that but, although gcc-4.6.3 is installed, I don't seem to have g++:
sisyphus@sisyphus5-desktop:~$ g++ -v The program 'g++' can be found in the following packages: * g++ * pentium-builder Try: sudo apt-get install <selected package> sisyphus@sisyphus5-desktop:~$
So I tried:
sisyphus@sisyphus5-desktop:~$ sudo apt-get install g++ Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: g++:i386 : Depends: cpp:i386 (>= 4:4.6.3-1ubuntu5) but it is not goin +g to be installed Depends: gcc:i386 (>= 4:4.6.3-1ubuntu5) but it is not goin +g to be installed Depends: g++-4.6:i386 (>= 4.6.3-1~) but it is not going to + be installed Depends: gcc-4.6:i386 (>= 4.6.3-1~) but it is not going to + be installed E: Unable to correct problems, you have held broken packages. sisyphus@sisyphus5-desktop:~$
and I also tried:
sisyphus@sisyphus5-desktop:~$ sudo apt-get install pentium-builder Reading package lists... Done Building dependency tree Reading state information... Done Package pentium-builder is not available, but is referred to by anothe +r package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'pentium-builder' has no installation candidate sisyphus@sisyphus5-desktop:~$
and (although I already have a very serviceable gcc-4.6.3 and make), I tried:
sisyphus@sisyphus5-desktop:~$ sudo apt-get install build-essential Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: build-essential : Depends: g++ (>= 4:4.4.3) but it is not installable Depends: dpkg-dev (>= 1.13.5) but it is not going t +o be installed E: Unable to correct problems, you have held broken packages. sisyphus@sisyphus5-desktop:~$
Any advice on how to install g++ ?

Cheers,
Rob

In reply to [OT] Installing g++ compiler on ubuntu-12.04LTS by syphilis

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-03-29 11:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found