Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Apr 2009 16:38:31 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        ale@FreeBSD.org
Cc:        freebsd-usb@FreeBSD.org
Subject:   configure error with openct and new libusb
Message-ID:  <200904092037.n39KbosY094885@lava.sentex.ca>

next in thread | raw e-mail | index | archive | help
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@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@sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904092037.n39KbosY094885>