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 220.127.116.11)
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: *** [ivtv-ctl.o] Error 1
make: Leaving directory `/opt/v4l-utils-0.8.9/utils/v4l2-ctl'
make: *** [all] Error 1
make: 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/18.104.22.168/build SUBDIRS=/opt/pwc-10.0.12-rc1 modules
make: Entering directory `/lib/modules/22.214.171.124/build'
make: *** No rule to make target `modules'. Stop.
make: Leaving directory `/lib/modules/126.96.36.199/build'
make: *** [all] Error 2
wxcam 'make' gives
make: Entering directory `/root/wxcam-1.1'
Making all in src
make: Entering directory `/root/wxcam-1.1/src'
In file included from setting.h:26,
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: *** [audio.o] Error 1
make: Leaving directory `/root/wxcam-1.1/src'
make: *** [all-recursive] Error 1
make: Leaving directory `/root/wxcam-1.1'
make: *** [all] Error 2
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.
Moved: This thread is more suitable in Linux - Slackware and has been moved accordingly to help your thread/question get the exposure it deserves.
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.
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.
|All times are GMT -5. The time now is 09:43 PM.|