No Compiler
I am trying to install a few programmes, but have been stopped at the 1st hurdle.. I have no compiler. I try to install gcc using rpms, but it tells me i have a newer version.. I get this error when i run a ./configure on the programme i am installing:
[dhibberd@localhost ~]$ cd dock [dhibberd@localhost dock]$ ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. [dhibberd@localhost dock]$ The only problem I can think of is that it is in the wrong directory. I have it in the home directory. Should this be anywhere else? Also, I have JVM and Limewire, but limewire will not start. Any ideas? Thanks.. this seems like alot of help i need.. Sven. |
you should have had a compiler with the distro disks.. i can't imagine that you wouldnt.. and.. if you think that it's a problem with the location, are the rpms that you are using to install made for fc? because.. that's the main problem.. somtimes the installation point are different for different distros...
try running Code:
which gcc If that doesn't give you a path, then you dont have gcc installed.. how are you trying to install your rpms also? if you have it ... try doing Code:
rpm -Uvh yourrpm.rpm another thing I would suggest is switching to suse.. becuase it has a better gui for installing specially for n00be's |
Used Suse.. got bored.. used Debian.. got bored.. used Mepis + Ubuntu got bored. I like Fedora on the other hand. Not bored at all.. Dunni why I got bored of the others. Just.. Didnt appeal. I usually use RPMs, but can't find any for any of the programs. hmm.. Will try those and post results.
|
My RPM installations are fine.. but when I run which GCC i get this message :
[root@localhost dhibberd]# which gcc /usr/bin/which: no gcc in (/usr/kerberos/sbin:/sbin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/lib/jre/bin:/home/dhibberd/bin:/usr/lib/jre/bin) |
So are you using Fedora right now. If so to install gcc, just do "yum install gcc" as root.
|
its all good. thanks for that.. I now quite like yum.. :D
|
All times are GMT -5. The time now is 10:41 PM. |