LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-18-2005, 10:53 PM   #1
jwilcox09
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Rep: Reputation: 0
Angry Compiling problems


i keep getting this will trying to ./configure programs

jwilcox09@josh-wilcox-2:~/evolution-2.0.0> ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... none
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.

any ideas

confused new linux user.
 
Old 03-18-2005, 11:37 PM   #2
tassinari
LQ Newbie
 
Registered: Mar 2005
Location: Waltham, MA
Distribution: SUSE 9.1
Posts: 15

Rep: Reputation: 0
You don't have gcc installed. gcc is a c compiler and is needed to make whatever it is you are trying to compile. Download it at http://gcc.gnu.org/ or do a google serch for it. Also check your installation cd, which would have it too.
You may face further challenges but the first step is gcc.

Good luck
 
Old 03-18-2005, 11:37 PM   #3
mduser63
LQ Newbie
 
Registered: Mar 2005
Distribution: Xandros
Posts: 4

Rep: Reputation: 0
I'm afraid I'm another confused linux newbie, but anyway, it appears that you don't have GCC (GNU C Compiler) installed, or at least it's not in your PATH variable. What distro are you using?
 
Old 03-18-2005, 11:38 PM   #4
mebrelith
Member
 
Registered: Nov 2004
Location: Torreón, Coahuila, México
Distribution: Gentoo
Posts: 342
Blog Entries: 1

Rep: Reputation: 30
Mate do us a favor and give us some specs like what distro are you running?
Also it seems that you dont have any compiler installed, did you skipped development packages from installation or your distro didnt install'em?
 
Old 03-19-2005, 07:57 AM   #5
jwilcox09
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Original Poster
Rep: Reputation: 0
i have SUSE linux 9.1 personal. i will look on the cd and see if the gcc is there.
 
Old 03-19-2005, 12:32 PM   #6
jwilcox09
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Angry

now i get this when i try to install the new gcc

jwilcox09@josh-wilcox-2:~/gcc-3.4.3/gcc-3.4.3> ./configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
./configure: line 2332: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

any other ideas
thanks
 
Old 03-19-2005, 01:07 PM   #7
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Your environment variable is not set correctly, this is the last sentence in your error
message. You should do a research on what this variable is and set it correctly.
gcc is probably included in your system but the PATH which recognizes its presence is not correct.

I know this sounds like RFTM but it is a good starting point.

Cheers !

try to research the command "export" to set your path
after a line beginning by "declare" in mine, there is the Path, usually
/usr/bin ..etc..Check if gcc is in one of the folders you will find and if not..
see what I mean

Last edited by samael26; 03-19-2005 at 01:15 PM.
 
Old 03-19-2005, 07:11 PM   #8
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Quote:
Originally posted by jwilcox09
now i get this when i try to install the new gcc

jwilcox09@josh-wilcox-2:~/gcc-3.4.3/gcc-3.4.3> ./configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
./configure: line 2332: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

any other ideas
thanks
you cannot build a compiler without a compiler... ( it's a circular dependency).

you need to go into Yast and install the development packages. gcc/g++ ( the c and c++ compilers respectively) are only part of what you need:

gcc
g++
binutils
sed
awk
perl
autoconf
automake
m4
make


that would be the minimum you would need if you are gonna build programs from source. But soon you will run into other problems, since you are running a distro that is not necessarily meant to be a platform to compile applications on ( but it can be done without too much hassle, provided you know what you need and know what you are doing). Also, since you are using a rpm distro, remember packages are split into multiple pieces, so look out for -devel packages and install them too.

Also, in addition to the above list, look for a libstdc++ and libstdc++-devel package. rpm distro's are known to split this into it's own package ( it comes with g++, but for some reason rpm distro's like to split it off into it's own package.)


Really, in the end, if you want to avoid all this start using prebuilt binary packages specifically packaged for your version of Suse.
 
  


Reply



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
problems compiling alaios Linux - General 3 02-10-2005 06:00 AM
Problems Compiling Problems With GCC And C++ phnxbn Linux - Software 0 11-02-2004 05:49 PM
Problems installing amsn (TK compiling problems) JNewton Linux - Software 0 05-24-2004 12:07 PM
Problems compiling! akasantos Fedora 8 11-13-2003 03:10 PM
Problems Compiling QT-3.0.3 X11 Linux - Software 3 06-11-2002 02:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:32 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