gcc
Peter Garrett
peter.garrett at optusnet.com.au
Sun Nov 13 06:56:48 UTC 2005
On Sun, 6 Nov 2005 20:41:04 +0100
"Jonathan Brossard" <jbrossar at messel.emse.fr> wrote:
> Hi,
> I'm an admin at my school, and I strongly recommanded to my users to install ubuntu :)
> Pb is gcc doesn't work in default install : glibc-devel need to be installed first :( - and it need to be installed manually, indeed.
gcc works fine - something else was missing in your install , namely:
I strongly suggest you install the "build-essential" package. It contains the basic compilers , "make" and other bits needed for compiling. I've compiled a number of things on Breezy with no problems.
Perhaps, actually, the problem you had was not gcc but missing development lbraries, as you appear to indicate. One way to speed up the process of getting dependencies is to use
apt-get build-dep <packagename>
which installs the build dependencies for you - for instance I wanted to use the recent fluxbox 0.9.14 , but 5:10 (breezy) has the 0.9.12 version.
sudo apt-get install build-essential && sudo apt-get build-dep fluxbox
sorted out what I needed, and fluxbox compiled flawlessly.
In general, though, most apps are already available as .deb binaries in the repos - see
https://wiki.ubuntu.com/AddingRepositoriesHowto
Peter
--
Linux User #343161
More information about the ubuntu-users
mailing list