config prob no acceptable cc found in $PATH
glorfinion
glorfinion_alban@hotmail.com
Thu Oct 5 13:12:00 GMT 2006
Hello,
Im new to Linux i am using Suse.10 and KDE. With Konsole as a shell
environment
as i think its called and am having problems installing an apache webserver.
To
do so i need a c compiler such as GCC. I downloaded the whole box and dice
from
GCC 4.4.1 tarball and extracted it. I then tried to configure the GCC
program following the
directions, of creating an objdir and a srcdir:
THis is what i typed, as i wanted gcccomp to be the objdir
and gcc-4.4.1 was the extracted download
linux:/usr/local/gcccomp # /home/alban/bin/gcc-4.1.1/configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
linux:/usr/local/gcccomp #
I then tried to specify the folder inside the gcc-4.4.1 because i thought it
must
be in there but that didnt seem to work and on rereading the installation
instructions i dont think that was right. Anyway it didnt work this is what
happened.
linux:/usr/local/gcccomp # /home/alban/bin/gcc-4.1.1/gcc/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 LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking whether to place generated files in the source directory... no
checking whether a default linker was specified... no
checking whether a default assembler was specified... no
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.
linux:/usr/local/gcccomp #
So i figured i`d check out what a PATH is. So anyway 2 paths which are
specified
as paths the /home/alban/bin: and /usr/local/bin: dont contain any command
files
at all. Some of the others have heaps of command files in them like the
/usr/bin
path. Do i need to change where it looks for a cc or something else?
Can anyone help I`ve tried heaps of things but can`t seem to get anywhere.
i
tried typing
CC=gcc
export CC
If you can keep things simple for me as i have a hard time following most of
the
installation instructions.
ty Glorfinion
--
View this message in context: http://www.nabble.com/config-prob-no-acceptable-cc-found-in-%24PATH-tf2388318.html#a6658145
Sent from the gcc - Help mailing list archive at Nabble.com.
More information about the Gcc-help
mailing list