https://bugs.winehq.org/show_bug.cgi?id=39043
Bug ID: 39043 Summary: configure doesn't find libgphoto2 development files on Debian GNU/Hurd Product: Wine Version: 1.7.48 Hardware: x86 OS: other Status: NEW Severity: normal Priority: P2 Component: build-env Assignee: wine-bugs@winehq.org Reporter: nerv@dawncrow.de CC: marcus@jet.franken.de
The configure script doesn't get the cflags and libs right:
---snip--- configure:11916: libgphoto2 cflags: configure:11917: libgphoto2 libs: -lgphoto2 configure:11920: checking gphoto2-camera.h usability configure:11920: gcc -c -g -O2 conftest.c >&5 conftest.c:178:28: fatal error: gphoto2-camera.h: No such file or directory #include <gphoto2-camera.h> ^ compilation terminated. ---snip---
While the corresponding commands that should be used do:
---snip--- $ gphoto2-config --cflags -I/usr/include/gphoto2 $ gphoto2-config --libs -L/usr/lib/i386-gnu -lgphoto2 -lgphoto2_port -lm ---snip---
See in configure.ac: ---snip--- WINE_PACKAGE_FLAGS(GPHOTO2,[libgphoto2],[-lgphoto2], [`gphoto2-config --cflags 2>/dev/null`],[`gphoto2-config --libs 2>/dev/null`], ---snip---