LinuxQuestions.org
Visit Jeremy's Blog.
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-31-2009, 10:02 PM   #1
iochinome
Member
 
Registered: Mar 2009
Posts: 32

Rep: Reputation: 15
libwebcam installation- so close!


hey guys, so i am trying to install libwebcam so i can run my logitech orbit af. i went through all of the steps it gave me, installed cmake and everything, and finally i got the the very last thing it says to do in the readme:

Quote:
Once you have CMake installed you can build and install it by running the
following commands in the libwebcam source directory:

mkdir build
cd build
cmake ..
make
i put in them all up to 'make' in terminal, none gave any error messages, then when i inputted 'make,' it seemed to not be able to find the file! here is what the error message said:

make: *** No targets specified and no makefile found. Stop.
what should i do? i was so close to making it work!
(if you cannot tell, i am a linux newbie and am really into it!)
thanks!
(you can check out the libwebcam stuff at http://forums.quickcamteam.net/showthread.php?tid=145)
 
Old 03-31-2009, 10:55 PM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by iochinome View Post
hey guys, so i am trying to install libwebcam so i can run my logitech orbit af. i went through all of the steps it gave me, installed cmake and everything, and finally i got the the very last thing it says to do in the readme:



i put in them all up to 'make' in terminal, none gave any error messages, then when i inputted 'make,' it seemed to not be able to find the file! here is what the error message said:

make: *** No targets specified and no makefile found. Stop.
what should i do? i was so close to making it work!
(if you cannot tell, i am a linux newbie and am really into it!)
thanks!
(you can check out the libwebcam stuff at http://forums.quickcamteam.net/showthread.php?tid=145)
Are you running make from the directory that has the Makefile you created? Have you checked that there is really Makefile in that folder? In other words, did the first steps actually produce a Makefile that make can use? If make can't find Makefile then
a. you never created one
b. you're not in the correct directory when you run make
c. Depending on what the libwebcam install directory is (you don't give us this information) you may not have write permissions in that directory. If that is the case you'll need to repeat the steps above using sudo.
Cheers,
jdk
 
Old 04-01-2009, 03:55 PM   #3
iochinome
Member
 
Registered: Mar 2009
Posts: 32

Original Poster
Rep: Reputation: 15
ok, well, i think i figured something out: i did not have either libxml2 or uvcvideo installed.
so i think i now have libxml2 installed, i went through some process on the web and it seemed to work, no error messages.
but now, when i try to install libwebcam, it says the 'uvcvideo.h' file is not defined, then gives a few functions that i assume are defined in uvcvideo.h and says they are not defined either.

so how do you install uvcvideo.h? no idea....
thanks, much appreciated!

(here are the errors i get
libwebcam.c:48:22: error: uvcvideo.h : no such file or directory.
then it gives me "Error 1" in Libs/libwebcam/Cmakefiles/webcam.dir/libwebcam.o and Error 2 in 'all'

thanks for any help!
 
Old 04-02-2009, 07:41 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
What kernel are you running? is it by chance 2.6.26? if so there is a bug report about this.
jdk
 
Old 04-03-2009, 03:53 PM   #5
iochinome
Member
 
Registered: Mar 2009
Posts: 32

Original Poster
Rep: Reputation: 15
the kernel is 2.6.27-11. did the bug stick with it in that? can i upgrade the kernel somehow and avoid this?

thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
close terminal mean close background process? Niceman2005 Linux - General 7 05-27-2010 02:58 PM
how to close port 1050 please help how to close it. mr norm Linux - General 1 09-12-2008 07:57 AM
so close! tEh Bsq Linux - Newbie 4 03-15-2006 01:56 PM
mplayer 'close all' doesn't close anything allelopath Linux - Software 2 12-08-2005 09:40 AM
Help - So close but yet so far!! Nubell Linux - Newbie 15 01-22-2003 06:38 PM

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

All times are GMT -5. The time now is 12:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration