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---
https://bugs.winehq.org/show_bug.cgi?id=39043
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39043
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID
--- Comment #1 from André H. nerv@dawncrow.de --- My bad, after configure i looked for libsane-dev and installed it. Then i tried to install libgphoto2-dev, saw that it was already installed and figured configure made a mistake, but in fakt libsane-dev also install it, so it was missing at configure time. A second run now showed it detects it.
Sorry for the noise!
https://bugs.winehq.org/show_bug.cgi?id=39043
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from André H. nerv@dawncrow.de --- closing