LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   gcc installed but not working properly (https://www.linuxquestions.org/questions/linux-general-1/gcc-installed-but-not-working-properly-284022/)

cylaxzene 01-30-2005 07:05 AM

gcc installed but not working properly
 
hi, i installed gcc and now want to compile this plugin for xmms which will enable it to play avi files but the problem is that when i type in ./configure it says :-
______________________________________________________________________________
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
-----------------------------------------------------------------------------------------------------------------------------

i tried to google it and some people said i need gcc-c++- but when i try to install that it says i need gcc... when i query the RPM (rpm -q gcc) it says i have gcc-3.4.2-6.fc3
which suggest i have it installed. Maybe i need to uninstall gcc and all the components and install it again, if yes then how can i uninstall it

acid_kewpie 01-30-2005 07:15 AM

i can't remember exactly which packages this means you're missing, probaly glibc-devel, and maybe some others, that i can't recall at all.

cylaxzene 01-30-2005 07:18 AM

yea it does tell me that i am missing two packages called glibc and i think the other one is glibc++-devel or something but when i query them by terminal it says i have them installed

btmiller 01-30-2005 11:07 AM

You probably need glibc-devel, as acid_kewpie said. If you didn't have glibc, your system would not function. Anyhow, one easy way to tell is to look at the configure.log that was produced by the configure script. Configure triesd to compile little programs to see what features you have on your system. If it died trying to find header files (stdio.h, stdlib.h, basically something ending in a .h) you're missing glibc-devel.

cylaxzene 01-30-2005 12:30 PM

yea its working now, thanx a lot for your time


All times are GMT -5. The time now is 02:08 AM.