The versions of libgphoto2, gphoto2 and gtkam delivered with SuSE Linux 8.1 did not support my new camera (Canon IXUS v3, if you're interested). Therefore I was obliged to recompile the whole thing.
So I took the sources from the gPhoto2 Homepage and, being at it, from the EXIF Tag Parsing Library, and created some RPMs out of them. There here if you want to use them, you're welcome, but it's at your own risks.
At a glance, all the packages I created:
The installation should be pretty straight-forward, given that you didn't yet
install neither gphoto nor libgphoto2; if you did you should remove them both
in the first place (as well as gtkam to avoid problems with dependencies).
This recommendation is due to the wrong numbering used by SuSE, which causes
some problems. Well! So remove them:
rpm -ev gphoto libgphoto2 gtkam
Once this is done, given that you downloaded all the RPMs in the same directory where you currently are, you can just install all the RPMs at once (this should work ;-):
rpm -Uvh *.i386.rpm
Two additional steps need to be done with SuSE 8.1:
GROUP=video as it is a standard group.cat /etc/hotplug/usb/usbcam.usermap >> /etc/hotplug/usb.usermap /usr/lib/libgphoto2/print-usb-usermap >> /etc/hotplug/usb.usermap
You are now ready to use gtkam or gphoto2!
In order to recompile the Source-RPMs, you should proceed by compiling and installing the packages in the following order (i.e. compile and install the first package before compiling —and installing— the 2nd one; etc.):
As often so, some packages need to be installed with the options
rpm -Uvh --nodeps --force.
(!) Due to the fact that some libraries within libgphoto2 use others inside
the same package, the automatic discovery of dependencies doesn't work properly
and catches the already installed version of these libraries (if you understand
what I mean). Well, nevertheless, the result is that, in order to have correct
dependencies for this package, I needed to create and install it twice, using
rpm -Uvh --nodeps --force to achieve this.
There is probably a better way to solve this problem, but I suspect that this
would have implied playing around with the Makefiles, which I wanted to avoid
(honestly, I wouldn't know what to do).
[Maison/Home/Heim] [Linux] [RPMs]