#1  
Old 1st November 2008, 22:50
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,033
Thanks: 261
Thanked 149 Times in 130 Posts
Default 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?
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
Sponsored Links
  #2  
Old 2nd November 2008, 15:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

Maybe you can try to create a symlink from g++ 4.x to g++ 3.x. However, I don't know if it works.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
edge (2nd November 2008)
  #3  
Old 2nd November 2008, 16:12
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,033
Thanks: 261
Thanked 149 Times in 130 Posts
Default

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!
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel compile error/ndiswrapper error Droogie Kernel Questions 1 28th April 2008 21:38
compile php alja Installation/Configuration 3 22nd July 2007 13:59
Upgrade causes the removal of /root/ispconfig due to compile failure lawrenceong Feature Requests 3 24th April 2007 13:25
How to compile kernel for PowerPC Fedora? tomhammond Kernel Questions 1 7th March 2007 18:10
Can I compile the 2.4.x kernel from kernel.org on ubuntu 5.10 with kernel 2.6.12? jack.ma Kernel Questions 4 10th December 2006 14:09


All times are GMT +2. The time now is 01:19.


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