LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Difficulty installing, missing software (https://www.linuxquestions.org/questions/linux-software-2/difficulty-installing-missing-software-144924/)

ch4s3r 02-11-2004 02:15 PM

Difficulty installing, missing software
 
I'm missing, gcc? cc? CFLAGS, etc? What are these and how do I aquire them. I'm running redhat 9.0, and i'm not too sure what to do. Thanks for your time.

-------------------------------------------------------
[root@cacole ncftp-3.1.7]# ./configure
loading cache ./config.cache
checking if you set and exported the environment variable CC... no (you may want to do that since configure scripts look for gcc first)
checking for environment variable CFLAGS... no (we will choose a default set for you)
checking for environment variable CPPFLAGS... no
checking for environment variable LDFLAGS... no
checking for environment variable LIBS... no
checking version of C library... glibc2.0
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
[root@cacole ncftp-3.1.7]#
----------------------------------------------------------------------

DrOzz 02-11-2004 02:16 PM

by the looks of it you dont' have gcc installed ..
you'll have to downlaod and install that package ...

you can find it on your redhat installation cds, or even a place such as rpmfind.net ...

ch4s3r 02-11-2004 02:55 PM

thanks dr ozz i found a file but now this happens when i try to use the rpm
--------------------------------------------
[root@cacole Desktop]# ls
gcc-3.2.3-24.src.rpm kopete-0.8.0.tar.bz2 Trash
j2re-1_4_2_03-linux-i586-rpm.bin ncftp-3.1.7
konsole.desktop snowball.0.3.tar.gz

[root@cacole Desktop]# rpm -i gcc-3.2.3-24.src.rpm
error: cannot create %sourcedir /usr/src/redhat/SOURCES
[root@cacole Desktop]#
-----------------------------------------------

why can't it create the source directory?

DrOzz 02-12-2004 01:53 PM

well why it can't make it i am not too sure, but i have heard people having success by manually making this directory ..
just :
cd /usr/src/redhat
mkdir SOURCES

and then try to install the rpm again ...
if that doesn't work, then post back and we'll take further measures ..


All times are GMT -5. The time now is 04:10 AM.