LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-19-2005, 02:46 PM   #1
sandugo
LQ Newbie
 
Registered: Apr 2005
Location: Ottawa
Distribution: Slackware
Posts: 21

Rep: Reputation: Disabled
Compiling Motion in Slackware


Has anyone compiled Motion software in Slackware? The software is used as a command line control of webcams.

When I typed ./configure, I got this error message:

.....
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

I don't know if I am missing a library or the path is just not right.

HELP PLEASE!!!
 
Old 05-19-2005, 02:55 PM   #2
black hole sun
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Rep: Reputation: 15
You need to install gcc (more specifically, g++) / glibc. I'm not sure which ones you have or which you dont, but you appear to be new so download and install all of this stuff.

http://slackware.com/pb/download.php...c-2.3.5-i486-2
http://slackware.com/pb/download.php...c-3.3.5-i486-1
http://slackware.com/pb/download.php...+-3.3.5-i486-1
http://slackware.com/pb/download.php...c-3.3.5-i486-1

Last edited by black hole sun; 05-19-2005 at 02:56 PM.
 
Old 05-19-2005, 03:15 PM   #3
sandugo
LQ Newbie
 
Registered: Apr 2005
Location: Ottawa
Distribution: Slackware
Posts: 21

Original Poster
Rep: Reputation: Disabled
ok. I was missing the gcc-objc*. I installed it but still got the same error message when I run ./configure.
 
Old 05-19-2005, 03:49 PM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
by itself, gcc cannot create an executable. mount your install cd ( the first one), or go to a slackware mirror and install the missing packages out of the d/ directory. if your not hurting for space, install most of them, some you will never use, but it will save some headaches in the future. the other thing you will need is the kernel headers package if you don't have it. make sure you get the kernel-headers package that came with your version of slack
 
Old 05-19-2005, 05:29 PM   #5
sandugo
LQ Newbie
 
Registered: Apr 2005
Location: Ottawa
Distribution: Slackware
Posts: 21

Original Poster
Rep: Reputation: Disabled
I have a limited hard disk space.... but I got it.... I was missing the kernel headers.

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
screen motion with linux C.Aymen Linux - Software 2 09-28-2005 02:50 AM
Motion jpeg stream. Xa! Programming 2 08-29-2005 10:45 AM
vim: motion to , gypsy_rabbi Linux - Software 1 02-22-2005 05:20 PM
mouse motion xlord Linux - Newbie 1 06-14-2004 01:38 PM
In Motion... Or Not.. robhargreaves Linux - Software 1 05-20-2004 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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