LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 12-19-2012, 03:13 PM   #1
wsurfer0
LQ Newbie
 
Registered: Dec 2012
Posts: 9

Rep: Reputation: Disabled
Cannot install Genius (Pixart) webcam in Slackware 12


Hello Linux users. I have been trying to install this cursed Genius i-look 110 webcam on this rather obsolete system for days now and am about to give up and just buy one that works out-of-the-box. Anyhow, here are the boring details, so if anyone has any idea, I'd be grateful. If not, thanks anyway, you're a great forum.

BT3 (Slackware 12, kernel 2.6.21.5)
webcam Genius i-look 110 (lsusb gives "Bus 4 Device 4: ID 093a:2468 Pixart Imaging, Inc. Cammaestro 2.5DU/X-EYE/Orite SC-120/ICGear TravelCam/Easy Snap Snake Eye WebCam)

Here are just some of many errors I get while trying to install various software for the wretched thing (sorry for the long post):

guvcview-src-1.5.0 'make' gives:

ivtv-ctl.c:511: error: 'VIDEO_GET_FRAME_COUNT' undeclared (first use in this function)
ivtv-ctl.c:511: error: (Each undeclared identifier is reported only once
ivtv-ctl.c:511: error: for each function it appears in.)
ivtv-ctl.c:593: error: 'AUDIO_BILINGUAL_CHANNEL_SELECT' undeclared (first use in this function)
make[2]: *** [ivtv-ctl.o] Error 1
make[2]: Leaving directory `/opt/v4l-utils-0.8.9/utils/v4l2-ctl'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/opt/v4l-utils-0.8.9/utils'
make: *** [all] Error 2


V4L2 './configure' gives

configure: error: Package requirements (gtk+-2.0 >= 2.14.0 glib-2.0 >= 2.10.0 gthread-2.0 gdk-2.0 >= 2.10.0 gdk-pixbuf-2.0 sdl >= 1.2.10 portaudio-2.0 libpng libavcodec libv4l2 libudev) were not met:

Requested 'gtk+-2.0 >= 2.14.0' but version of GTK+ is 2.10.14
No package 'libv4l2' found
No package 'libudev' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables DEPS_CFLAGS
and DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


Philips USB Webcam Driver for Linux 'make' gives


make -C /lib/modules/2.6.21.5/build SUBDIRS=/opt/pwc-10.0.12-rc1 modules
make[1]: Entering directory `/lib/modules/2.6.21.5/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.21.5/build'
make: *** [all] Error 2


wxcam 'make' gives

make all-recursive
make[1]: Entering directory `/root/wxcam-1.1'
Making all in src
make[2]: Entering directory `/root/wxcam-1.1/src'
CXX audio.o
In file included from setting.h:26,
from audio.cpp:22:
v4l.h:30:30: error: libv4l1-videodev.h: No such file or directory
v4l.h: In constructor 'VideoForLinux::VideoForLinux()':
v4l.h:58: error: 'VIDEO_PALETTE_RGB24' was not declared in this scope
v4l.h:59: error: 'VIDEO_PALETTE_RGB32' was not declared in this scope
v4l.h:60: error: 'VIDEO_PALETTE_YUV420P' was not declared in this scope
v4l.h:61: error: 'VIDEO_PALETTE_YUV420' was not declared in this scope
v4l.h:62: error: 'VIDEO_PALETTE_YUYV' was not declared in this scope
make[2]: *** [audio.o] Error 1
make[2]: Leaving directory `/root/wxcam-1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/wxcam-1.1'
make: *** [all] Error 2
 
Old 12-21-2012, 03:27 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Hello wsurfer0, welcome to LQ,

you should use the Slackbuildscript for guvcview http://slackbuilds.org/repository/14...edia/guvcview/. But you have a quite old version of Slackware. I don't know if the recent Slackbuildscript will work for 12.

But note that the dependencies for guvcview are ffmpeg and portaudio, have you installed them before?

I've reported this thread to the Moderators and asked it to move to the Slackware-forum of LQ.

Markus
 
Old 12-21-2012, 04:26 AM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,498

Rep: Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956
Moved: This thread is more suitable in Linux - Slackware and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 12-22-2012, 03:41 AM   #4
wsurfer0
LQ Newbie
 
Registered: Dec 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Hi, thanks for the reply.

I do have ffmeg and portaudio installed. I needed them for my MPlayer, which now works almost perfectly.

I have tried following your suggestion to install Guvcview from Slackbuild, but as usual, I got into another labyrinth of errors.

First I tried installing Guvcview, which said that I must first install a newer gtk+ and some other stuff, which in turn said i must first install a newer glib and atk and other stuff.

Then I installed glib and went on to install atk, but the atk installation says:

pkg-config --modversion glib-2.0' returned 2.29.2, but GLIB (2.12.12)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files

Now, I think I will just give up on this, but I would like to know how to "set the environment variable PKG_CONFIG_PATH", seeing as I have come across this message more than once.

Thank you for your patience.
 
Old 12-22-2012, 03:49 AM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
The problem is that you're using Slackware 12 which is quite old. Though this version is still supported with securityupdates, you run into problems when installing additional software.

One solution would be to find an older version of the software, the other probably better solution would be to upgrade to Slackware-14. There are quite some changes between 12 and 14 and it is very likely that the slackbuilds don't work. Otherwise a new installation of Slackware-14 is done quite fast, and if you use sbopkg (which is a graphical frontend for Slackbuilds) you will install additional programs quickly (and convenient). Download sbopkg here: http://sbopkg.org/

For additional questions you will find much help here at the Slackware-forum, and if you have questions which are Slackware related, don't post it in LQ's newbie-forum but here. Most of the Slackbuild-maintainers are here and will help you to solve your problems.

Markus
 
  


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
Pixart PAC207 Webcam unusable with kernel 2.6.28.3 build NihilistMatt Linux - Hardware 4 02-09-2009 01:28 AM
driver for Pixart webcam dasy2k1 Linux - Hardware 1 07-07-2007 03:06 AM
How To Install A Usb Webcam [Genius WebCam on Suse 9.1 Personal] ofvergara Suse/Novell 4 11-29-2006 12:09 PM
Genius Webcam NB jalal Linux - Hardware 2 09-11-2006 06:36 PM
Pixart webcam problems Strigare Linux - Hardware 1 12-27-2005 11:56 AM


All times are GMT -5. The time now is 01:27 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration