HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Need to compile with G++ 3.X. (http://www.howtoforge.com/forums/showthread.php?t=28344)

edge 1st November 2008 22:50

Need to compile with G++ 3.X.
 
Hi all,

I need to compile something with g++ 3.X. (and not the last g++ 4.X.)
For testing I created a virtual host, with a clean install of Dbian Etch.
I installed g++ 3.x with "apt-get install g++-3.4", and it looks like this worked fine.
However when I do a ./configure I get the following error:
Quote:

checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
So.. It looks like I'm missing gcc.
apt-get install gcc-3.4 looks fine, and it installs fine.

Again when I do a ./configure I get the same error as above.
The onlyway I get even close to installing is when I do an "apt-get install build-essential". but this will install ++ 4.X, and will break the make.

Any suggestion on what I could try to get this installed?

falko 2nd November 2008 15:02

Maybe you can try to create a symlink from g++ 4.x to g++ 3.x. However, I don't know if it works.

edge 2nd November 2008 16:12

I found a beta version of the program that I needed to compile.
The beta version did wotk with g++4, and it looks like the beta version is working fine (for now)

Thank you for your info, but it was not needed, and did not test it!


All times are GMT +2. The time now is 16:15.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.