PDA

View Full Version : Problem with gcc3



Lodar
06-08-2002, 07:48 PM
Ok... did a clean install of Mandrake 8.2
Installed all required rpm (well i think i did)
gcc3 is installed

I ran the batch (bash seq.txt) which seems to run ok, installs the qt-gcc rpm too etc.. i get the error at the ./configure statement.

Always saying that the gcc3 is not there. I would appreciate any help on that plz.

here is message


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 build environment is sane... yes
/seq/showeq/missing: Unknown `--run' option
Try `/seq/showeq/missing --help' for more information
configure: warning: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc3... no
checking for gcc... gcc
checking for g++3... no
checking for g++... g++
checking for supported compiler version... no
checking for gcc-3.0... no
checking for gcc3... no
checking for g++-3.0... no
checking for g++3... no
checking alternate compiler for supported compiler version... no
configure: error: You need at least GCC G++ 3.0 or greater to compile ShowEQ
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.

Thx

Lodar
06-08-2002, 08:48 PM
Ok I did uninstall and reinstall gcc3.0 with package manager and it still says that its not installed.

Also downloaded the rpm from mandrake ftp (gcc3.0) and when i try to install it it says everything is installed!

I'm kinda clueless now!

Cryonic
06-08-2002, 08:48 PM
Your problem isn't with gcc it is with you. Read the howto's, learn, understand and most of all USE THE SEARCH FEATURE OF THIS BOARD.

JackDaRipper
06-08-2002, 08:55 PM
try checking to see if gcc and g++ are reporting that they are version 3.whatever (they shouldnt afaik - should be something like "gcc version 2.95.x xxxxxxxx (release)"

gcc -v
g++ -v

If those are showing version 3.whatever goto the directory they're in and run the following commands.

ln -s gcc gcc3
ln -s g++ g++3

If those arent showing version 3, try doing the following finds and see if they turn up where it is if its installed.

find / -name gcc-3.0 -print
find / -name gcc-3 -print
find / -name gcc3 -print

Lodar
06-08-2002, 11:11 PM
Ok, thx Jack

I got it working now. I had some RPMs missing it seems, I installed them upon error I was getting.

Still the gcc error was weird. I uninstalled it again and installed another rpm I downloaded and it worked!

:D

Have to excuse me... linux is chinese for me still hehe...