LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gcc path problem (https://www.linuxquestions.org/questions/linux-newbie-8/gcc-path-problem-90629/)

lonzilla1969 09-08-2003 04:03 PM

gcc path problem
 
trying to install qpopper


[root@ qpopper4.0.5]# ./configure
checking whether make sets ${MAKE}... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable cc found in $PATH
[root@ qpopper4.0.5]# whereis gcc
gcc:
[root@ qpopper4.0.5]# gcc:# echo $PATH
bash: gcc:#: command not found
[root@mca qpopper4.0.5]# whereis gcc
gcc:

..........note there is no path

[root@ qpopper4.0.5]# gcc:
bash: gcc:: command not found
[root@mca qpopper4.0.5]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
I believe that gcc must not be installed?

i found and downloaded the gcc 3 rpm and tryed to install them


[root@ root]# rpm -ivh cpp-2.95.3-0.20000503.1.i386.rpm
Preparing... ########################################### [100%]
package cpp-3.2.2-5 (which is newer than cpp-2.95.3-0.20000503.1) is alr
eady installed
file /lib/cpp from install of cpp-2.95.3-0.20000503.1 conflicts with fil
e from package cpp-3.2.2-5
file /usr/bin/cpp from install of cpp-2.95.3-0.20000503.1 conflicts with
file from package cpp-3.2.2-5


how do i remove the package so i can install new package
i tryed this and it did not work.

rpm -e cpp-2.95.3-0.20000503.1
error: package cpp-2.95.3-0.20000503.1 is not installed

rpm -e cpp-2.95.3-0.20000503.1
error: package cpp-2.95.3-0.20000503.1 is not installed


how do i add gcc to $path
:newbie: :rolleyes: :newbie: :newbie: :newbie:

david_ross 09-09-2003 01:45 PM

Welcome to LQ.

Yes you need gcc but what you tried to install was cpp. Try installing:
ftp://fr2.rpmfind.net/linux/redhat/9...2.2-5.i386.rpm

acid_kewpie 09-09-2003 02:23 PM

please use suitable forums in future thanks. moved to Linux - Newbie


All times are GMT -5. The time now is 06:32 PM.