Friday, July 18, 2014

Build st-util @Debian 7.6 (wheezy)

Error Msg :
./configure: line 4379: syntax error near unexpected token `USB,'
./configure: line 4379: `PKG_CHECK_MODULES(USB, libusb-1.0 >= 1.0.0,,'

Solution :
Step 1. Download pkg.m4
.../usr/share/aclocal# wget https://gnunet.org/svn/Extractor/m4/pkg.m4

Step 2. Add ACLOCAL_AMFLAGS Env Var To Makefile.am
ACLOCAL_AMFLAGS = -I /usr/share/aclocal

And Then ./autogen, ./configure ...., make, make install

test