Click to See Complete Forum and Search --> : Where do i get a C compiler?
KilerCris
03-05-2001, 12:58 AM
I trying to install apache and I got this:
[root@cn510908-a apache_1.3.14]# ./configure --prefix=/usr/local/apache
Configuring for Apache, Version 1.3.14
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
Error: could not find any of these C compilers
anywhere in your PATH: gcc cc acc c89
Configure terminated
Where can I get one of these??
nextbillgates
03-05-2001, 02:25 AM
ftp://ftp.gnu.org/gnu/gcc
[ 05 March 2001: Message edited by: nextbillgates ]
KilerCris
03-05-2001, 04:21 AM
I downloaded gcc-2.95.2.tar.gz and ran
tar -zxvf gcc-2.95.2.tar.gz
It extracted exactly 30MG then said no space left on device. I just installed lnx4win with the root partion up to 3gig and I havn't downlaoded much and I didn't install much so I can't possibly be out of space...is there a 30 MB limit on directories or something?
chimaybleue
03-05-2001, 07:08 AM
to check your space, just type df in a term ... It will tell you everything ... But the easiest way to install the gcc is to download the RPM's (check the dependencies) on your distro's website ...
PLBlaze
03-05-2001, 12:29 PM
FYI, gcc-2.95.2.1 is the latest one...unless you want to play with pre 3.0 (gcc-2.95.3-test4 or so).A word of advice,do not build the cc in the gcc-blah directory instead do it from another one and don't forget to compile c++ besides cc,making sure to do it in two stages (make bootstrap).
Perhaps it would be easier just to install the one found on your linux cd, no?Hope this helps.
treatment
03-05-2001, 12:31 PM
hold on!
What distro are you running?
GCC is included in all distros, but some don't install it automatically.
KilerCris
03-05-2001, 07:27 PM
I using Mandrake 7.2
The installer won't give me the options for what components to install for some reason..it did once but I can't get it to again.
And also it won't let me access my cdrom drive...I already asked about that in another topic
[ 05 March 2001: Message edited by: KilerCris ]
Tyr-7BE
03-05-2001, 07:30 PM
type "echo $PATH" and tell us what it says. If you haven't fscked around with the install at all, then you should have gcc on there somewhere.
KilerCris
03-05-2001, 07:51 PM
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
I dont' think it is even installed becaseu Mandrake is being a real B*TCH..the installer is assuming I want minimum install or something...I sent problem to mandrake yesterday but they not answere yet..making me mad
[ 05 March 2001: Message edited by: KilerCris ]
KilerCris
03-05-2001, 08:13 PM
[root@cn510908-a /root]# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 9757928 5873696 3884232 60% /initrd/loopfs
/initrd/loopfs/lnx4win/linuxsys.img 377335 327354 30499 91% /
hmmm..When the installer asked I put Swap file to 300 MB(max) and root partion to 3000MB(max)..that seems alto less then 3GB..why doesn the installer even ask stuff if it ignores them...took forever for it to make linuxsys.img...i've reinstalled many times and it keeps doing the same things..what am I suppose to do with 30 MB free space...even the one time when it gave me the component options and installed so much more I still only had 30 MB free space