LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-17-2005, 04:38 PM   #1
harnadem
Member
 
Registered: Nov 2003
Location: London, Ontario
Distribution: Ubuntu - Hoary
Posts: 66

Rep: Reputation: 15
need help installing program in fc3


I am trying to install a program into fc3. As su, when I type ./configure I receive the following error.

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /usr/bin/kde-config
checking where to install... /usr (as returned by kde-config)
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.


I have included the output when I list my PATH:

[root@localhost /]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/home/michael/bin


I do have GCC installed:
[root@localhost /]# whereis gcc
gcc: /usr/libexec/gcc


How can I set my $PATH to include /usr/libexec/gcc?

Any help is appeciated!
 
Old 02-17-2005, 04:51 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
I doubt very much that that is your C compiler. gcc would be located in /usr/bin
Load YaST or whatever tool dead rat comes with these days and install the development tools that you undoubtedly thought you wouldn't need when you installed the system. While you're at it install the gtk-devel tools or qt-devel and kde-devel packages if you're planning on installing any gtk or qt (gnome or kde) apps.
 
Old 02-17-2005, 04:52 PM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
/usr/libexec/gcc is a folder, not an executable binary. It won't compile anything. Open the Fedora menu> System Settings> Add/Remove Applications> enter roots password> Scroll down and install the Development Tools
 
Old 02-17-2005, 07:20 PM   #4
harnadem
Member
 
Registered: Nov 2003
Location: London, Ontario
Distribution: Ubuntu - Hoary
Posts: 66

Original Poster
Rep: Reputation: 15
Thanks for the help. I'll do it tonight.
 
Old 03-02-2005, 11:34 AM   #5
Askholia
LQ Newbie
 
Registered: Mar 2005
Posts: 16

Rep: Reputation: 0
I had the same problem- mistake made initially when I thought "what use would i have for programming"- Now I know why

I've been on linux for 2 days (first time ever, and oh yes, I pledge my allegiance) and am able to get by uptill now. I followed the instructions to add applications but i got the following error message.

http://xs18.xs.to/pics/05093/packagesnotfound.png

I figured out the problem could be solved by upgrading the installation- so i rebooted with the FEdora Core 3 CD1 and went through the installation, unfortunately it didnt specifically prompt for the "add/remove" apps dialogue box. The only option i selected was upgrading and NOT a fresh install (since I had used both YUM and up2date, i felt a fresh installation is a waste of time)- if there's anyway, i can get around this without a fresh installation, please let me know.

In the mean time, let me re-run the installation to see if i can get the options right again
 
Old 03-03-2005, 10:07 AM   #6
harnadem
Member
 
Registered: Nov 2003
Location: London, Ontario
Distribution: Ubuntu - Hoary
Posts: 66

Original Poster
Rep: Reputation: 15
Thank you for your response. I ended up having to do an upgrade with my fc3 disks, and still not all of the dependencies were fulfilled. So I searched the net and downloaded the missing files and installed those individually. Now, fortunately, the problem is solved.

Next time I install fc3 - which will be soon as I am moving to a larger hard drive - I will know better.
 
  


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
Making a program/service ( MySQL ) start up on boot ( FC3 ) karmazilla Fedora 6 06-27-2005 10:19 AM
[SOLVED] installing FC3 politik Linux - Newbie 11 06-15-2005 10:23 PM
Preferred Applications/Program defaults for FC3 dubya Fedora 3 03-19-2005 01:26 PM
FC3 Program Installation lonelydreamer Fedora 1 01-04-2005 04:34 PM
FC3 not installing Redwraith111 Fedora 5 12-26-2004 07:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:07 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
Open Source Consulting | Domain Registration