Skip to contentSkip to conversation

installing gcc.3.3.4

DISCUSSION Edward Parrilla 2 participants 2 messages Nov 7, 2004

lore
Share & tools
lore
#0 lore raw

Hi All,
I was trying to install gcc-3.3.4 but when i ran the configure part I got the following message:

$ configure --prefix=/
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
./configure: line 2332: cc: command not found
*** The command 'cc -o conftest -g   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

Any idea what the problem could be?
Why should I set the config with a compiler when I am installing a compile?
Thanks
Ed

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 9 lines · you

Hi All,
I was trying to install gcc-3.3.4 but when i ran the configure part I got the following message:

./configure: line 2332: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

Any idea what the problem could be?

You don't have a C-compiler in your path.

Quoted 2 lines

Why should I set the config with a compiler when I am installing a compile?

Because you downloaded the source.

If you don't have an other C-Compiler you should get the gcc binarys and install them.

Greets Lothar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBjrUcWOkN8SqY+ZkRAoA5AJ9KcnV2h4YmVlGQ9EA3GYqVH3t8dwCgmRrA 9NNb0ORqD2ZHj3vycPTCIyU=
=OhXN
-----END PGP SIGNATURE-----