Cannot compile libgphoto 2.5.2 with libxml2 option for Olympus support on Debian Wheezy (Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux)
It is also reported on stackoverflow as a problem on LinuxMint 11 x64 and Ubuntu 13.04
(see http://stackoverflow.com/questions/16484597/automake-configure-ignoring-option-with-libxml2-yes)
It looks like libgphoto2 is setup to work with libxml2 headers installed in to /usr/include/libxml whereas in Debian the package libxml2-dev puts the headers in /usr/include/libxml2/libxml
As a hack fix sym linking /usr/include/libxml2/libxml to /usr/include/libxml
Allows libgphoto2 to compile with the libxml2 option
Why was this asked on stackoverflow and not here? :(
Fixed with this patch (need to rerun autoreconf)
No idea why the original poster put it on stackoverflow, I just thought it was worthy of a bug, thanks for the quick fix.
should be fixed