[Bug 39043] New: configure doesn't find libgphoto2 development files on Debian GNU/Hurd

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Aug 5 15:12:31 CDT 2015


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 at winehq.org
          Reporter: nerv at dawncrow.de
                CC: marcus at 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---

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list