LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 06-24-2004, 01:05 AM   #1
wlaw
Member
 
Registered: Jun 2004
Location: HK
Distribution: Ubuntu
Posts: 245

Rep: Reputation: 30
./Configure problem !


I¡@got the following message when I typed ./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)... yes
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



Where is the C compiler located ?
How to add it to my PATH ??
 
Old 06-24-2004, 01:08 AM   #2
wlaw
Member
 
Registered: Jun 2004
Location: HK
Distribution: Ubuntu
Posts: 245

Original Poster
Rep: Reputation: 30
./configure problem !

I¡@got the following message when I typed ./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)... yes
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


I am running RedHat 9.0
Where is the C compiler located ?
How to add it to my PATH ??
 
Old 06-24-2004, 01:20 AM   #3
lrt2003
Member
 
Registered: Mar 2004
Distribution: Fedora 10
Posts: 182

Rep: Reputation: 30
Did you select the development package in install? If not, you don't have the compilers. Use add/remove applications and pop in the install CDs to install the development package.
 
Old 06-24-2004, 01:42 AM   #4
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
Re: ./Configure problem !

Quote:
Originally posted by wlaw
Where is the C compiler located ?
How to add it to my PATH ??
I wonder why did you post this question under this thread...
What distribution are you using?
Try this to locate your C compiler:

$ find / -name "*cc*"

You may get unwanted results but try to look for cc or gcc.
But it is most probably not installed as it should usually be put inside a common path...
 
Old 06-24-2004, 03:00 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
And Wlaw - politeness dictates that you start your own thread - not hijack someone else's.

You will notice that I have now split your thread off.
 
Old 06-24-2004, 03:01 AM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
and now I have merged both of your threads.
 
Old 06-24-2004, 03:12 AM   #7
wlaw
Member
 
Registered: Jun 2004
Location: HK
Distribution: Ubuntu
Posts: 245

Original Poster
Rep: Reputation: 30
I am sorry ! I am not intended to do it ! Just by mistake and this forum doesn't provide the kill post function !



By the way,now I've got another problem after installing the compiler !
I type make install by root and got the following in red !


See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ../libtool --mode=install /usr/bin/install -c libpspell.la /usr/local/
lib/libpspell.la
libtool: install: warning: relinking `libpspell.la'
(cd /programs/aspell/aspell-0.50.5/lib; /bin/sh ../libtool --mode=relink g++ -g
-O2 -o libpspell.la -rpath /usr/local/lib -version-info 15:3:0 dummy.lo libaspe
ll.la )
mv: can't stat source libpspell.so.15.0.3
libtool: install: error: relink `libpspell.la' with the above command before ins
talling it
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/programs/aspell/aspell-0.50.5/lib'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/programs/aspell/aspell-0.50.5/lib'
make: *** [install-recursive] Error 1




what's wrong this time ?
 
Old 06-24-2004, 04:33 AM   #8
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
When building from source you will not only need the rpm packages that the program you're building depends on but their -devel companion packages as well. As far as I can see, Redhat 9 comes with pspell-0.12.2-16.i386.rpm as its pspell package. You will need to install pspell-devel-0.12.2-16.i386.rpm as well in order to build software that depends on pspell. The same goes for most rpm packages.


Håkan
 
Old 06-24-2004, 06:11 AM   #9
wlaw
Member
 
Registered: Jun 2004
Location: HK
Distribution: Ubuntu
Posts: 245

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by hw-tph
When building from source you will not only need the rpm packages that the program you're building depends on but their -devel companion packages as well. As far as I can see, Redhat 9 comes with pspell-0.12.2-16.i386.rpm as its pspell package. You will need to install pspell-devel-0.12.2-16.i386.rpm as well in order to build software that depends on pspell. The same goes for most rpm packages.


Håkan
Well, actually, I know it ! I was asked to install either pspell or aspell, and i finally downloaded aspell and installed it , this message was shown when I tried to install aspell !

Can you help ?

THanks !
 
  


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
Problem with ./configure Chtiman Linux - Software 1 01-04-2005 09:53 AM
./configure problem :( moskal Mandriva 23 08-15-2004 10:33 PM
problem with ./configure vijay_souri Linux - Software 0 06-07-2004 12:04 PM
.\configure PROBLEM mla Linux - Software 13 10-13-2003 04:01 PM
configure problem. qanopus Linux - General 9 12-17-2002 08:07 AM

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

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