#18884: gnupg2 2.0.11 fails to compile -------------------------------------+-------------------------------------- Reporter: ex_adres@… | Owner: waqar@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: gnupg2 fail ccid-driver | Port: gnupg2 -------------------------------------+-------------------------------------- Comment(by blb@…): {{{ checking for usb_bulk_write in -lusb... yes checking for usb_create_match... no ... /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I../gl -I../intl -I../common -DLOCALEDIR=\"/opt/local/share/locale\" -DGNUPG_BINDIR="\"/opt/local/bin\"" -DGNUPG_LIBEXECDIR="\"/opt/local/libexec\"" -DGNUPG_LIBDIR="\"/opt/local/lib/gnupg2\"" -DGNUPG_DATADIR="\"/opt/local/share/gnupg2\"" -DGNUPG_SYSCONFDIR="\"/opt/local/etc/gnupg2\"" -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT ccid- driver.o -MD -MP -MF .deps/ccid-driver.Tpo -c -o ccid-driver.o ccid- driver.c ccid-driver.c:88:17: error: usb.h: No such file or directory }}} Do you have the libusb port installed? {{{port installed libusb}}} to find out. It looks like it detects some of it (the part about usb_bulk_write) then fails to find the header file. Long-term gnupg2 should either add a dependency on libusb or add {{{--disable-scdaemon}}} to configure.args to avoid the part which needs it. -- Ticket URL: <http://trac.macports.org/ticket/18884#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS