configure error with openct and new libusb
Mike Tancsa
mike at sentex.net
Thu Apr 9 13:38:35 PDT 2009
Hi,
While trying to build openct on a new box, I got the
following errors. I was able to build this just a few weeks ago, but
all of a sudden configure cant find libusb ?
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for error_at_line... no
checking whether lstat dereferences a symlink specified with a
trailing slash... no
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for daemon... yes
checking for inline... inline
checking for socket in -lsocket... no
checking ltdl.h usability... yes
checking ltdl.h presence... no
configure: WARNING: ltdl.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: ltdl.h: proceeding with the compiler's result
checking for ltdl.h... yes
checking struct sockaddr_storage::ss_family... ok
checking for poll in -lpoll... no
checking for LIBUSB... gnome-config: not found
no
configure: error: Cannot detect libusb
===> Script "configure" failed unexpectedly.
Please report the problem to ale at FreeBSD.org [maintainer] and attach the
"/usr/ports/security/openct/work/openct-0.6.15/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1
Stop in /usr/ports/security/openct.
*** Error code 1
Stop in /usr/ports/security/openct.
in the log I see
configure:23074: checking for LIBUSB
configure:23082: $PKG_CONFIG --exists --print-errors "libusb"
gnome-config: not found
Package libusb was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libusb' found
configure:23085: $? = 1
configure:23100: $PKG_CONFIG --exists --print-errors "libusb"
gnome-config: not found
Package libusb was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libusb' found
configure:23103: $? = 1
No package 'libusb' found
configure:23131: result: no
configure:23133: error: Cannot detect libusb
--------------------------------------------------------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike at sentex.net
Providing Internet since 1994 www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike
More information about the freebsd-usb
mailing list