Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-07-2009, 04:43 PM   #1
Registered: Mar 2009
Posts: 32

Rep: Reputation: 15
error installing libwebcam

hey guys, so i am trying to install libwebcam onto ubuntu 8.10 and i keep getting this error message that i cannot figure out. (pretty new to ubuntu still...) here it is:

name@linux-desktop:~/Desktop/libwebcam-0.1.1/build$ cmake ..
-- checking for module 'libxml-2.0'
-- found libxml-2.0, version 2.6.32
-- Configuring done
-- Generating done
-- Build files have been written to: /home/name/Desktop/libwebcam-0.1.1/build
name@linus-desktop:~/Desktop/libwebcam-0.1.1/build$ sudo make
Linking C shared library
[ 33%] Built target webcam
[ 50%] Generating getopt parser code (cmdline.*) ...
/bin/sh: gengetopt: not found
make[2]: *** [../Apps/uvcdynctrl/cmdline.c] Error 127
make[1]: *** [Apps/uvcdynctrl/CMakeFiles/uvcdynctrl.dir/all] Error 2
make: *** [all] Error 2

what is gengetopt? can i just install it with the
sudo apt-get install gengetopt
thanks! much appreciated
Old 04-07-2009, 04:47 PM   #2
Registered: Mar 2009
Posts: 32

Original Poster
Rep: Reputation: 15
yeah, that seemed to work:
$sudo apt-get install gengetopt

so what is that? i do not exactly understand the command string
apt-get install [name of thing]

it just seems to always solve my problems...

Old 04-08-2009, 11:05 AM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The command # apt-get install gengetopt
downloads the package gengetopt_2.22.1-1_i386.deb
to '/var/cache/apt/archives' and installs it.

The package is fetched from the repository,
please see the details in the file /etc/apt/sources.list .



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
libwebcam installation- so close! iochinome Linux - Newbie 4 04-03-2009 03:53 PM
error when installing gift: error: cannot compute sizeof (short), 77 v1pEr Linux - Software 5 11-04-2004 02:43 AM
Error installing Alsa (Error copying pcm_lib.c) Doleo Linux - Software 1 02-25-2004 10:53 AM
ERROR running make when installing Nvidia drivers (syntax error) randyriver10 Linux - Software 5 02-21-2004 04:51 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration