LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-25-2006, 02:47 PM   #1
thomasw92
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Rep: Reputation: 0
Can't use make command when installing from source


Hi,
I'm using a distro called SLAX 5.0.6 Kill Bill Edition (it's a LiveCD) but I have the HDD install option, and it's based on Slackware. Whenever I try to compile a programme from source I run:

root@slax:~/Desktop/gtkspell-2.0.11# ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -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... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
root@slax:~/Desktop/gtkspell-2.0.11#

I'm presuming this means everything is ok.

Then I run:

root@slax:~/Desktop/gtkspell-2.0.11# make

and get

make: *** No targets specified and no makefile found. Stop.

I take it this is wrong.

Thanks in advance, Thomas
 
Old 03-25-2006, 02:58 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The ./configure script failed
Quote:
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
 
Old 03-25-2006, 03:03 PM   #3
thomasw92
LQ Newbie
 
Registered: Mar 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Ooooooh.... That's embarrassing!

Thanks and I'll try and fix that.

Thomas
 
  


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
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
Installing: the 'make' command SteveH Linux - Newbie 7 09-21-2004 02:46 AM
installing the make command on suse linux supersucker Linux - Software 1 09-05-2004 09:54 AM
installing software from source, make uninstall question darkleaf Linux - Software 2 08-19-2004 04:18 PM
MAKE, installing source packages, etc...can someone explain this or at least... squirrels Linux - Newbie 16 06-14-2004 04:00 PM

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

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