LinuxQuestions.org
Help answer threads with 0 replies.
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 06-17-2006, 12:59 PM   #1
hammam12
Member
 
Registered: Jun 2006
Posts: 160

Rep: Reputation: 30
Cool c compiler


Hi all,
When I type in terminal mode
./configure
+++++++++++++++++
I face a problem in c compiler
when i type in run mode
./configure
I got this error
&&&&&&&&&&&&&&&&
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
&&&&&&&&&&&&&&&&
linux-9tgg:/home/hammam/Documents/programs/ktranslator-0.4 # ./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.
linux-9tgg:/home/hammam/Documents/programs/ktranslator-0.4 #
&&&&&&&&&&&&&&&&

The above is the error I got.
Could someone help to free this error.
... thanx
Mohammed Hammam
 
Old 06-17-2006, 01:01 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Install gcc.
 
Old 06-18-2006, 07:51 AM   #3
hammam12
Member
 
Registered: Jun 2006
Posts: 160

Original Poster
Rep: Reputation: 30
Hi Nylex,
How ? I found the gcc in usr/lib/
I tried to install it
linux-9tgg:/usr/lib # install gcc
install: missing destination file operand after `gcc'
Try `install --help' for more information.
linux-9tgg:/usr/lib #

Could you pls tell me How ?

... thanx
Mohammed Hammam
 
Old 06-18-2006, 08:03 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Don't know what that file is in /usr/lib, but it won't be the compiler itself. Binaries usually reside in /usr/bin (well quite a few do, anyway).

Install gcc using your distro's package manager. I can't give you more detailed info, since I don't know what distro you're using..
 
Old 06-18-2006, 09:23 AM   #5
hammam12
Member
 
Registered: Jun 2006
Posts: 160

Original Poster
Rep: Reputation: 30
Hi Nylex,
1st thank you for quick responce. 2nd the distro is linux opensuse 10.1.
... thanx
Mohammed Hammam
 
Old 06-18-2006, 10:33 AM   #6
mcmillan
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 489

Rep: Reputation: 30
Suse uses yast for a package manager, I don't use Suse so I can't tell you exactly how to use it though. You also might be able to install the original program with yast as well. This should automatically take care of any dependencies that are needed to run it and makes it easier to upgrade or remove later if you don't want to keep it.
 
Old 06-18-2006, 11:42 AM   #7
hammam12
Member
 
Registered: Jun 2006
Posts: 160

Original Poster
Rep: Reputation: 30
Hi mcmillan,
to use yast just open the file by it. The only now I want is to install the dictionary, and it would not because of this error
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
linux-9tgg:/home/hammam/Documents/programs/ktranslator-0.4

... thanx
Mohammed Hammam
 
Old 06-18-2006, 11:44 AM   #8
UK MAdMaN
Member
 
Registered: Jul 2004
Location: Manchester, England
Distribution: Gentoo
Posts: 211

Rep: Reputation: 30
Open YaST, click Software Management and install gcc.
 
Old 06-18-2006, 12:17 PM   #9
hammam12
Member
 
Registered: Jun 2006
Posts: 160

Original Poster
Rep: Reputation: 30
Hi UK MADMAN,
1st thank you. 2nd I installed gcc as you adviced and successfully end. I went to install the dictionary, I typed ./configure it works but at the end it gave me this error
checking if C++ programs can be compiled... no
configure: error: Your Installation isn't able to compile simple C++ programs.
Check config.log for details - if you're using a Linux distribution you might miss
Could you pls help to run ./configure successfully.
... thanx
Mohammed Hammam
 
Old 06-18-2006, 12:38 PM   #10
hammam12
Member
 
Registered: Jun 2006
Posts: 160

Original Poster
Rep: Reputation: 30
Hi again UK MADMAN,
I installed more cc++ then I ran ./configure again, I got this error

checking for libjpeg... no
configure: WARNING: libjpeg not found. disable JPEG support.
checking for perl... /usr/bin/perl
checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.

... thanx
Mohammed Hammam
 
Old 06-18-2006, 12:47 PM   #11
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You do understand what that error message means, right? It's pretty clear..
 
Old 06-18-2006, 01:15 PM   #12
UK MAdMaN
Member
 
Registered: Jul 2004
Location: Manchester, England
Distribution: Gentoo
Posts: 211

Rep: Reputation: 30
Now you need to install Qt's development files.

Have you tried looking for a pre-comiled binary package for whatever distro you're using? It'll probably save you a lot of problems.
 
Old 06-18-2006, 02:06 PM   #13
hammam12
Member
 
Registered: Jun 2006
Posts: 160

Original Poster
Rep: Reputation: 30
Hi UKMADMAN,
I installed Qt file and ran ./configure again I got this error message at the end of running ./configure

checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
linux-9tgg:/home/hammam/Documents/programs/ktranslator-0.4 #

What prefix I have to use ?

... thanx
Mohammed Hammam
 
Old 06-18-2006, 03:04 PM   #14
UK MAdMaN
Member
 
Registered: Jul 2004
Location: Manchester, England
Distribution: Gentoo
Posts: 211

Rep: Reputation: 30
Whenever an error message comes up, try looking for source/developer files pertaining to said error.
 
Old 06-18-2006, 03:58 PM   #15
hammam12
Member
 
Registered: Jun 2006
Posts: 160

Original Poster
Rep: Reputation: 30
Hi UKMADMAN,
1st thank you for staying that time with me. 2nd I got another problem yast (software manager) does not shown when i mount it and enter its password, that happened the installation I did and then restart.
Could you ols help to get it back. After I'll continue what I was doing.
... thanx
Mohammed Hammam
 
  


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
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 12:35 PM
C++ IDE+Compiler?Java IDE+compiler? Boby Linux - Software 3 05-31-2005 01:12 PM
Compiler conundrum: Which came first, a compiler, or it's source code? fr0zen Programming 21 01-29-2004 04:31 AM
No compiler to compiler the compliler NewtonIX Linux - Newbie 13 11-03-2003 05:32 AM
compile a compiler without a compiler? lackluster Linux - General 18 01-02-2003 07:55 PM

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

All times are GMT -5. The time now is 06:01 PM.

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