I was looking to sourcecode. Seems that you don’t need to run confiugure command.
[i]root@warfox-laptop:~# wget prdownloads.sourceforge.net/libk … 0.2.tar.gz
–2010-03-19 10:36:39-- prdownloads.sourceforge.net/libk … 0.2.tar.gz
Risoluzione di prdownloads.sourceforge.net… 216.34.181.59
Connessione a prdownloads.sourceforge.net|216.34.181.59|:80… connesso.
HTTP richiesta inviata, in attesa di risposta… 302 Found
Posizione: heanet.dl.sourceforge.net/projec … 0.2.tar.gz [segue]
–2010-03-19 10:36:39-- heanet.dl.sourceforge.net/projec … 0.2.tar.gz
Risoluzione di heanet.dl.sourceforge.net… 193.1.193.66, 2001:770:18:aa40::c101:c142
Connessione a heanet.dl.sourceforge.net|193.1.193.66|:80… connesso.
HTTP richiesta inviata, in attesa di risposta… 200 OK
Lunghezza: 54409 (53K) [application/x-gzip]
Salvataggio in: “libk8055.0.2.tar.gz”
100%[======================================>] 54.409 52,0K/s in 1,0s
2010-03-19 10:36:41 (52,0 KB/s) - “libk8055.0.2.tar.gz” salvato [54409/54409]
root@warfox-laptop:~#
root@warfox-laptop:~#
root@warfox-laptop:~# ls
libk8055.0.2.tar.gz
root@warfox-laptop:~# gunzip libk8055.0.2.tar.gz
root@warfox-laptop:~# ls
libk8055.0.2.tar
root@warfox-laptop:~# tar xvf libk8055.0.2.tar
src/libk8055.c
src/k8055.h
src/main.c
src/Makefile
src/README.txt
src/pyk8055/k8055.py
src/pyk8055/k8055test.py
src/pyk8055/libk8055.i
src/pyk8055/Makefile
src/pyk8055/pyplotA.py
src/pyk8055/pyplotA_1.png
src/pyk8055/pyplotD.py
src/pyk8055/pyplotD_2.png
src/pyk8055/setup.py
src/man/k8055.1.gz
root@warfox-laptop:~# ls
libk8055.0.2.tar src
root@warfox-laptop:~# cd src/
root@warfox-laptop:~/src# ls
k8055.h libk8055.c main.c Makefile man pyk8055 README.txt
root@warfox-laptop:~/src# more RE
RE: Nessun file o directory
root@warfox-laptop:~/src# more README.txt
The k8055 require libusb-0.1.9 or newer and kernel 2.4.18 or never.
install:
#make all
#make install
update ld.so.conf with “/usr/local/lib” if not there or run
env-update at gentoo systems
uninstall:
#make uninstall
Check out the Makefile for all different make rules…
use k8055 library:
in the program file “#include <k8055.h>” and compile with -lk8055 and
-lusb, e.g gcc -lusb -lk8055 main.c -o k8055_rocks
root@warfox-laptop:~/src# make all
gcc -DDAEMON -Wall -c main.c
main.c:36:17: error: usb.h: Nessun file o directory
make: *** [main.o] Errore 1
root@warfox-laptop:~/src#
[/i]
You need it for usb lib support.
[i]root@warfox-laptop:~/src# wget downloads.sourceforge.net/projec … ror=heanet
–2010-03-19 10:43:59-- downloads.sourceforge.net/projec … ror=heanet
Risoluzione di downloads.sourceforge.net… 216.34.181.59
Connessione a downloads.sourceforge.net|216.34.181.59|:80… connesso.
HTTP richiesta inviata, in attesa di risposta… 302 Found
Posizione: heanet.dl.sourceforge.net/projec … .6.tar.bz2 [segue]
–2010-03-19 10:44:02-- heanet.dl.sourceforge.net/projec … .6.tar.bz2
Risoluzione di heanet.dl.sourceforge.net… 193.1.193.66, 2001:770:18:aa40::c101:c142
Connessione a heanet.dl.sourceforge.net|193.1.193.66|:80… connesso.
HTTP richiesta inviata, in attesa di risposta… 200 OK
Lunghezza: 322956 (315K) [application/x-bzip2]
Salvataggio in: “libusb-1.0.6.tar.bz2”
100%[======================================>] 322.956 174K/s in 1,8s
2010-03-19 10:44:04 (174 KB/s) - “libusb-1.0.6.tar.bz2” salvato [322956/322956]
root@warfox-laptop:~/src# bunzip2 libusb-1.0.6.tar.bz2
root@warfox-laptop:~/src# tar cvf libusb-1.0.6.tar
tar: Rifiuto totale di creare un archivio vuoto
Usare “tar --help” o “tar --usage” per ulteriori informazioni.
root@warfox-laptop:~/src# tar xvf libusb-1.0.6.tar
libusb-1.0.6/
libusb-1.0.6/config.guess
libusb-1.0.6/ChangeLog
libusb-1.0.6/configure.ac
libusb-1.0.6/libusb-1.0.pc.in
libusb-1.0.6/README
libusb-1.0.6/Makefile.am
libusb-1.0.6/ltmain.sh
libusb-1.0.6/PORTING
libusb-1.0.6/Makefile.in
libusb-1.0.6/doc/
libusb-1.0.6/doc/Makefile.am
libusb-1.0.6/doc/Makefile.in
libusb-1.0.6/doc/doxygen.cfg.in
libusb-1.0.6/config.sub
libusb-1.0.6/examples/
libusb-1.0.6/examples/dpfp_threaded.c
libusb-1.0.6/examples/Makefile.am
libusb-1.0.6/examples/dpfp.c
libusb-1.0.6/examples/Makefile.in
libusb-1.0.6/examples/lsusb.c
libusb-1.0.6/NEWS
libusb-1.0.6/compile
libusb-1.0.6/libusb/
libusb-1.0.6/libusb/core.c
libusb-1.0.6/libusb/Makefile.am
libusb-1.0.6/libusb/libusbi.h
libusb-1.0.6/libusb/sync.c
libusb-1.0.6/libusb/Makefile.in
libusb-1.0.6/libusb/os/
libusb-1.0.6/libusb/os/linux_usbfs.h
libusb-1.0.6/libusb/os/linux_usbfs.c
libusb-1.0.6/libusb/os/darwin_usb.c
libusb-1.0.6/libusb/os/darwin_usb.h
libusb-1.0.6/libusb/descriptor.c
libusb-1.0.6/libusb/libusb.h
libusb-1.0.6/libusb/io.c
libusb-1.0.6/depcomp
libusb-1.0.6/THANKS
libusb-1.0.6/INSTALL
libusb-1.0.6/aclocal.m4
libusb-1.0.6/missing
libusb-1.0.6/TODO
libusb-1.0.6/config.h.in
libusb-1.0.6/install-sh
libusb-1.0.6/AUTHORS
libusb-1.0.6/COPYING
libusb-1.0.6/configure
root@warfox-laptop:~/src# cd libusb-1.0.6
root@warfox-laptop:~/src/libusb-1.0.6# ls
aclocal.m4 config.h.in depcomp libusb missing TODO
AUTHORS config.sub doc libusb-1.0.pc.in NEWS
ChangeLog configure examples ltmain.sh PORTING
compile configure.ac INSTALL Makefile.am README
config.guess COPYING install-sh Makefile.in THANKS
root@warfox-laptop:~/src/libusb-1.0.6# ./configure
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… no
checking for mawk… mawk
checking whether make sets $(MAKE)… yes
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking for style of include used by make… GNU
checking dependency style of gcc… gcc3
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking for a sed that does not truncate output… /bin/sed
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for fgrep… /bin/grep -F
checking for ld used by gcc… /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld… yes
checking for BSD- or MS-compatible name lister (nm)… /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface… BSD nm
checking whether ln -s works… yes
checking the maximum length of command line arguments… 1572864
checking whether the shell understands some XSI constructs… yes
checking whether the shell understands “+=”… yes
checking for /usr/bin/ld option to reload object files… -r
checking for objdump… objdump
checking how to recognize dependent libraries… pass_all
checking for ar… ar
checking for strip… strip
checking for ranlib… ranlib
checking command to parse /usr/bin/nm -B output from gcc object… ok
checking how to run the C preprocessor… gcc -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking for dlfcn.h… yes
checking for objdir… .libs
checking if gcc supports -fno-rtti -fno-exceptions… no
checking for gcc option to produce PIC… -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works… yes
checking if gcc static flag -static works… yes
checking if gcc supports -c -o file.o… yes
checking if gcc supports -c -o file.o… (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries… yes
checking whether -lc should be explicitly linked in… no
checking dynamic linker characteristics… GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
checking whether stripping libraries is possible… yes
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… yes
checking for inline… inline
checking whether gcc and cc understand -c and -o together… yes
checking operating system… Linux
checking for clock_gettime in -lrt… yes
checking sys/timerfd.h usability… yes
checking sys/timerfd.h presence… yes
checking for sys/timerfd.h… yes
checking whether TFD_NONBLOCK is declared… yes
checking whether to use timerfd for timing… yes
configure: creating ./config.status
config.status: creating libusb-1.0.pc
config.status: creating Makefile
config.status: creating libusb/Makefile
config.status: creating examples/Makefile
config.status: creating doc/Makefile
config.status: creating doc/doxygen.cfg
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
root@warfox-laptop:~/src/libusb-1.0.6#
root@warfox-laptop:~/src# wget downloads.sourceforge.net/projec … ror=heanet
–2010-03-19 10:43:59-- downloads.sourceforge.net/projec … ror=heanet
Risoluzione di downloads.sourceforge.net… 216.34.181.59
Connessione a downloads.sourceforge.net|216.34.181.59|:80… connesso.
HTTP richiesta inviata, in attesa di risposta… 302 Found
Posizione: heanet.dl.sourceforge.net/projec … .6.tar.bz2 [segue]
–2010-03-19 10:44:02-- heanet.dl.sourceforge.net/projec … .6.tar.bz2
Risoluzione di heanet.dl.sourceforge.net… 193.1.193.66, 2001:770:18:aa40::c101:c142
Connessione a heanet.dl.sourceforge.net|193.1.193.66|:80… connesso.
HTTP richiesta inviata, in attesa di risposta… 200 OK
Lunghezza: 322956 (315K) [application/x-bzip2]
Salvataggio in: “libusb-1.0.6.tar.bz2”
100%[======================================>] 322.956 174K/s in 1,8s
2010-03-19 10:44:04 (174 KB/s) - “libusb-1.0.6.tar.bz2” salvato [322956/322956]
root@warfox-laptop:~/src# bunzip2 libusb-1.0.6.tar.bz2
root@warfox-laptop:~/src# tar cvf libusb-1.0.6.tar
tar: Rifiuto totale di creare un archivio vuoto
Usare “tar --help” o “tar --usage” per ulteriori informazioni.
root@warfox-laptop:~/src# tar xvf libusb-1.0.6.tar
libusb-1.0.6/
libusb-1.0.6/config.guess
libusb-1.0.6/ChangeLog
libusb-1.0.6/configure.ac
libusb-1.0.6/libusb-1.0.pc.in
libusb-1.0.6/README
libusb-1.0.6/Makefile.am
libusb-1.0.6/ltmain.sh
libusb-1.0.6/PORTING
libusb-1.0.6/Makefile.in
libusb-1.0.6/doc/
libusb-1.0.6/doc/Makefile.am
libusb-1.0.6/doc/Makefile.in
libusb-1.0.6/doc/doxygen.cfg.in
libusb-1.0.6/config.sub
libusb-1.0.6/examples/
libusb-1.0.6/examples/dpfp_threaded.c
libusb-1.0.6/examples/Makefile.am
libusb-1.0.6/examples/dpfp.c
libusb-1.0.6/examples/Makefile.in
libusb-1.0.6/examples/lsusb.c
libusb-1.0.6/NEWS
libusb-1.0.6/compile
libusb-1.0.6/libusb/
libusb-1.0.6/libusb/core.c
libusb-1.0.6/libusb/Makefile.am
libusb-1.0.6/libusb/libusbi.h
libusb-1.0.6/libusb/sync.c
libusb-1.0.6/libusb/Makefile.in
libusb-1.0.6/libusb/os/
libusb-1.0.6/libusb/os/linux_usbfs.h
libusb-1.0.6/libusb/os/linux_usbfs.c
libusb-1.0.6/libusb/os/darwin_usb.c
libusb-1.0.6/libusb/os/darwin_usb.h
libusb-1.0.6/libusb/descriptor.c
libusb-1.0.6/libusb/libusb.h
libusb-1.0.6/libusb/io.c
libusb-1.0.6/depcomp
libusb-1.0.6/THANKS
libusb-1.0.6/INSTALL
libusb-1.0.6/aclocal.m4
libusb-1.0.6/missing
libusb-1.0.6/TODO
libusb-1.0.6/config.h.in
libusb-1.0.6/install-sh
libusb-1.0.6/AUTHORS
libusb-1.0.6/COPYING
libusb-1.0.6/configure
root@warfox-laptop:~/src# cd libusb-1.0.6
root@warfox-laptop:~/src/libusb-1.0.6# ls
aclocal.m4 config.h.in depcomp libusb missing TODO
AUTHORS config.sub doc libusb-1.0.pc.in NEWS
ChangeLog configure examples ltmain.sh PORTING
compile configure.ac INSTALL Makefile.am README
config.guess COPYING install-sh Makefile.in THANKS
root@warfox-laptop:~/src/libusb-1.0.6# ./configure
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… no
checking for mawk… mawk
checking whether make sets $(MAKE)… yes
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking for style of include used by make… GNU
checking dependency style of gcc… gcc3
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking for a sed that does not truncate output… /bin/sed
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for fgrep… /bin/grep -F
checking for ld used by gcc… /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld… yes
checking for BSD- or MS-compatible name lister (nm)… /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface… BSD nm
checking whether ln -s works… yes
checking the maximum length of command line arguments… 1572864
checking whether the shell understands some XSI constructs… yes
checking whether the shell understands “+=”… yes
checking for /usr/bin/ld option to reload object files… -r
checking for objdump… objdump
checking how to recognize dependent libraries… pass_all
checking for ar… ar
checking for strip… strip
checking for ranlib… ranlib
checking command to parse /usr/bin/nm -B output from gcc object… ok
checking how to run the C preprocessor… gcc -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking for dlfcn.h… yes
checking for objdir… .libs
checking if gcc supports -fno-rtti -fno-exceptions… no
checking for gcc option to produce PIC… -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works… yes
checking if gcc static flag -static works… yes
checking if gcc supports -c -o file.o… yes
checking if gcc supports -c -o file.o… (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries… yes
checking whether -lc should be explicitly linked in… no
checking dynamic linker characteristics… GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
checking whether stripping libraries is possible… yes
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… yes
checking for inline… inline
checking whether gcc and cc understand -c and -o together… yes
checking operating system… Linux
checking for clock_gettime in -lrt… yes
checking sys/timerfd.h usability… yes
checking sys/timerfd.h presence… yes
checking for sys/timerfd.h… yes
checking whether TFD_NONBLOCK is declared… yes
checking whether to use timerfd for timing… yes
configure: creating ./config.status
config.status: creating libusb-1.0.pc
config.status: creating Makefile
config.status: creating libusb/Makefile
config.status: creating examples/Makefile
config.status: creating doc/Makefile
config.status: creating doc/doxygen.cfg
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
root@warfox-laptop:~/src/libusb-1.0.6#
[/i]