[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hi where can I get g++ package



isarayunyong wrote:

> 
> I have the same problem. "Configure error: C compiler cannot create
> executables"
> 
> First of all I did not have "gcc" at all. I downloaded and installed
> [b]gcc-4.1_4.1.1-21_i386.deb[/b]. Then I got your heading message. After
> reading your messages I downloaded [b]g++-4.1_4.1.1-21_i386.deb[/b], tried
> to installed with GDebi package installer."Error: Dependency is not
> satisfiable: [b]libstdc++c-4.1-dev[/b]".
> 

Please stop using html formatted emails. Just use plain text.

If all you need is a C++ compiler, apt-get it. The exact command looks like

apt-get install g++

If you are interested in a specific g++ version then look for available
versions

$apt-cache search g++ | grep g++

and then install the corresponding package available. For example, you would
do

sudo apt-get install g++-4.2

to install the 4.2 version of g++.

> So I downloaded [b]libstdc++c-4.1-dev_4.1.1_21_i386.deb[/b],tried to
> install "Error:Dependency is not satisfiable:g++-4.1"
> 
> Now I downloaded and tried to install [b]g++-4.1_4.1.1-21_i386.deb[/b]
> "Error:Dependency is not satisfiable: [b]libstdc++6-4.1-dev[/b]"
> 
> Things seem to be going into an infinite loop. What do I do from here. Any
> suggesstion, please?

apt-get pulls in all the necessary dependencies. You need not download all
the .deb files and install them individually. apt-get will do that for you.
That is its job.

raju

-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/



Reply to: