LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with compiler (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-compiler-421927/)

ale_x_andru 03-05-2006 03:27 PM

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....

lees 03-05-2006 03:46 PM

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

victorh 03-06-2006 12:21 AM

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.


All times are GMT -5. The time now is 06:15 AM.