LinuxQuestions.org
Register a domain and help support LQ
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 03-05-2006, 03:27 PM   #1
ale_x_andru
LQ Newbie
 
Registered: Jan 2006
Posts: 5

Rep: Reputation: 0
problem with compiler


problem with compiler
i have this problem when trying to install something from source:

vlad@super-cinghiale:~/29153-yakuake-2.7.3/yakuake-2.7.3> ./configure
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... /opt/kde3/bin/kde-config
checking where to install... /opt/kde3 (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.


and when doing

vlad@super-cinghiale:~/29153-yakuake-2.7.3/yakuake-2.7.3> echo $PATH

the result is:

/home/vlad/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin
vlad@super-cinghiale:~/29153-yakuake-2.7.3/yakuake-2.7.3>

maybe i have to edit the config.log file?
if that i don't know what to write on....
 
Old 03-05-2006, 03:46 PM   #2
lees
LQ Newbie
 
Registered: Mar 2006
Location: NE England
Distribution: FC4
Posts: 17

Rep: Reputation: 0
Hi,

i don't know how much help I can be as I am a newby myself but have you looked to see if you have these installed.

in terminal type:

whereis gcc or whereis cc

it should give you the path.

if it is there you could compare the paths with the values in your path variable.
If it is not there then maybe it is not installed on your machine.

regards Lee
 
Old 03-06-2006, 12:21 AM   #3
victorh
Member
 
Registered: Jul 2005
Location: La Paz, Bolivia
Distribution: Debian Sarge - Sid, Slackware, Gentoo, openSuse, Fedora, Ubuntu, Mandriva
Posts: 241

Rep: Reputation: 30
You have to install the development tools, in this case the gcc compiler and other dependencies. The installation depends of your distro, and the package management progran that you use.
 
  


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
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 12:35 PM
C++ Compiler Problem jefe_goode Mandriva 0 06-14-2004 02:23 PM
c++ compiler problem evian Linux - General 4 10-30-2003 11:29 AM
C++ compiler problem? New 2 The Game Linux - Software 2 09-06-2003 01:09 AM
Compiler Problem ixion Linux - Software 2 06-17-2003 07:28 PM


All times are GMT -5. The time now is 10:46 PM.

Main Menu
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