LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   No Compiler (https://www.linuxquestions.org/questions/fedora-35/no-compiler-305853/)

svendabassist 03-25-2005 06:44 AM

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.

obscure-shadow 03-25-2005 12:27 PM

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
and see if that gives you a path... then you can go from there.
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
and also.. see if you can just find an rpm for the programs that you are trying to install.. becuase that should go better than compiling from the source.. because you see if there are dependancies that you need to reaolve.. it can get to be a pain..
another thing I would suggest is switching to suse.. becuase it has a better gui for installing specially for n00be's

svendabassist 03-28-2005 06:04 AM

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.

svendabassist 03-28-2005 06:20 AM

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)

reddazz 03-28-2005 07:34 AM

So are you using Fedora right now. If so to install gcc, just do "yum install gcc" as root.

svendabassist 03-28-2005 05:16 PM

its all good. thanks for that.. I now quite like yum.. :D


All times are GMT -5. The time now is 10:41 PM.