#953 libxml2 libraries not found

closed-fixed
libgphoto2 (82)
5
2014-03-23
2013-05-11
Andrew Beck
No

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

Discussion

  • Why was this asked on stackoverflow and not here? :(

    Fixed with this patch (need to rerun autoreconf)

     
    Attachments
    • status: open --> pending-fixed
    • assigned_to: Marcus Meissner
     
  • Andrew Beck
    Andrew Beck
    2013-05-12

    No idea why the original poster put it on stackoverflow, I just thought it was worthy of a bug, thanks for the quick fix.

     
    • summary: None --> libxml2 libraries not found
     
  • should be fixed

     
    • status: pending-fixed --> closed-fixed