PDA

View Full Version : g++ trouble



grim918
December 3rd, 2005, 09:28 PM
i have 2 computers that are running ubuntu one of them is running in server mode and the other has the normal breezy badger. i installed the the g++ compiler on both of them and the compiler works great on regular one but it doesnt work on the server version. i installed the package using
sudo apt-get install build-essential.
does anyone know what could be causing the problem.

invalid
December 3rd, 2005, 09:30 PM
You will have to be more specific. What is the exact error you get when you try to use it?

Cb

KingOfNowhere
December 6th, 2005, 08:43 PM
You need to be more specific with your problem, but depending on what you are trying to complie, you may need a different version of g++ (if this is 3rd party software). Explain your problem and post your error.

JohnnyMast
December 6th, 2005, 08:48 PM
Both gcc and g++ are notinstalled by default, my suggestions ofpackages to apt-get

gcc3.6
g++
make
manpages-dev

These will turn your machine into a uber super development machine for when your building packages the old old fashion wat (./configure ; make; make install )

LordHunter317
December 6th, 2005, 08:59 PM
That's not enough. You should always install build-essential at a minimum.

blanky
December 7th, 2005, 12:50 AM
i installed the package using
sudo apt-get install build-essential.


Guess he already did.