Discussion:
[UrJTAG-dev] urjtag with only GPIO cable, how to disable libusb support?
Benjamin Henrion
2012-07-08 10:46:19 UTC
Permalink
Hi,

I am trying to compile urjtag with GPIO cable support only, but the
GIT version still seems requires libusb, which is not needed in this
case:

=======================================================
***@ci /home/zoobab/soft/urjtag/urjtag [76]$ ./configure
--enable-cable=gpio --disable-bsdl --disable-svf --disable-stapl
--without-readline
checking code revision... from git-svn log: 2026
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
[...]
checking for gcc option to accept ISO C99... -std=gnu99
./configure: line 13795: PKG_PROG_PKG_CONFIG: command not found
checking for library containing ioperm... none required
checking for _sleep... no
checking for getdelim... yes
checking for geteuid... yes
checking for getline... yes
checking for getuid... yes
checking for nanosleep... yes
checking for pread... yes
checking for swprintf... yes
checking for usleep... yes
checking for clock_gettime... no
checking for clock_gettime in -lrt... yes
checking linux/ppdev.h usability... yes
checking linux/ppdev.h presence... yes
checking for linux/ppdev.h... yes
checking dev/ppbus/ppi.h usability... no
checking dev/ppbus/ppi.h presence... no
checking for dev/ppbus/ppi.h... no
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for wchar_t... yes
checking for struct timespec... yes
checking for a readline compatible library... (cached) no
./configure: line 14311: syntax error near unexpected token `LIBUSB,'
./configure: line 14311: ` PKG_CHECK_MODULES(LIBUSB, libusb-1.0,'
=======================================================

Any idea how to disable this libusb requirement?

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Mike Frysinger
2012-07-09 13:00:42 UTC
Permalink
Post by Benjamin Henrion
I am trying to compile urjtag with GPIO cable support only, but the
GIT version still seems requires libusb, which is not needed in this
...
./configure: line 13795: PKG_PROG_PKG_CONFIG: command not found
...
./configure: line 14311: syntax error near unexpected token `LIBUSB,'
./configure: line 14311: ` PKG_CHECK_MODULES(LIBUSB, libusb-1.0,'
...
no, your autotools generation failed. notice it's a "syntax error".

you probably need to install the pkg-config package on your system before
running autogen.sh
-mike

Loading...