LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 09-08-2003, 05:03 PM   #1
lonzilla1969
LQ Newbie
 
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
Exclamation 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
 
Old 09-09-2003, 02:45 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
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
 
Old 09-09-2003, 03:23 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
please use suitable forums in future thanks. moved to Linux - Newbie
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing gcc library path jon_k Linux - Software 1 08-22-2004 01:09 AM
Setting arm-gcc path? karfei00 Linux - General 0 06-16-2004 05:59 AM
Gcc not found in the $PATH redrobin77 Linux - Software 3 01-12-2004 12:08 PM
please help - cannot find gcc in path mchao Linux - General 9 02-14-2002 10:49 AM
GCC include path. jwilson Linux - General 1 04-02-2001 04:58 PM


All times are GMT -5. The time now is 11:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration