Click to See Complete Forum and Search --> : GCC Installation


Janet
04-19-2001, 01:42 AM
Thanks to the two posters on my last question on GCC. GCC doesnt seem to have a RPM version. I borrowed the CD for this Mandrake version and Ive moved away from the CD holder.

My question is this. Do I have to use GCC ?? Are there other compilers the same that are easier to install. Im going round in circles on all fronts.
Thanks :(

Janet
04-19-2001, 01:57 AM
Just looked at a tutorial on GCC which told me to check if I had a version already. GCC -v and I have one already version 2.95.2. So why the errors when Im trying to install packages ?? :confused:

SubPar
04-19-2001, 02:28 AM
Everything for Linux is done with GCC. There's nothing else to choose from.

If you're trying to install RPM packages that require GCC, then they'll only recognize GCC if it was installed in an RPM. You'll have to install RPMs with "rpm --nodeps" if they give you those sorts of errors.

Janet
04-19-2001, 03:48 AM
Thanks Sub Par. Im trying to install tar packages. I couldnt find a GCC rpm only tar. The exact error message was " no acceptable C++ compiler found in $Path" As I said I have GCC 2.95.2 which came with the Mandrake CD. Im not sure if its rpm or tar. I downloaded the latest GCC which is a tar but cant work out how to install. As a newbie I havnet a clue what theyre telling me to do.

Lorithar
04-19-2001, 08:52 AM
*....

You've installed the gcc from the cd , but things are still yelling about gcc??

try checking ld.so.conf and see if it has a path that points to directories in which most of your libraries are installed
/lib
/usr/lib
/usr/local/lib
/usr/ixxx-[installation]-linux/

then run ldconfig ....
I don't think your ld.so.conf is picking up all your libraries ...