gvfs-1.28.2 provides support for libgphoto2. You have to disable it in gvfs in
the configure script if you didn't install it.
When I try to compile libgphoto2-2.5.10 I get this error:
In file included from ax203/ax203.c:38:0:ax203/jpeg_memsrcdest.h:4:1: error:
conflicting types for 'jpeg_mem_src' jpeg_mem_src (j_decompress_ptr cinfo,
unsigned char * buffer, ^In file included from ax203/jpeg_memsrcdest.h:1:0,
from ax203/ax203.c:38:/usr/include/jpeglib.h:923:14: note: previous
declaration of 'jpeg_mem_src' was here EXTERN(void) jpeg_mem_src
(j_decompress_ptr cinfo, ^Makefile:2890: recipe for target
'ax203/ax203_la-ax203.lo' failedmake[4]: *** [ax203/ax203_la-ax203.lo] Error
1make[4]: Leaving directory '/<<PKGBUILDDIR>>/camlibs'Makefile:3286: recipe for
target 'all-recursive' failedmake[3]: *** [all-recursive] Error 1make[3]:
Leaving directory '/<<PKGBUILDDIR>>/camlibs'Makefile:690: recipe for target
'all-recursive' failedmake[2]: *** [all-recursive] Error 1make[2]: Leaving
directory '/<<PKGBUILDDIR>>'Makefile:513: recipe for target 'all'
failedmake[1]: *** [all] Error 2make[1]: Leaving directory '/<<PKGBUILDDIR>>'
The patch to fix this is here:
http://launchpadlibrarian.net/266608827/libgphoto2_2.5.10-2_2.5.10-3.diff.gz
Note that you need to change jpeg_memsrcdest.h and jpeg_memsrcdest.c in both
the camlibs/ax203 and camlibs/jl2005c directories. It doesn't mention the
latter in the link for some reason.
jb.
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page