View previous topic :: View next topic |
Author |
Message |
ShinFu n00b
Joined: 26 Apr 2004 Posts: 34 Location: inside my skin
|
Posted: Wed Apr 06, 2005 10:56 am Post subject: libusb installed but not found when compiling app |
|
|
hi
i am trying to compile this logitech applet
extracted it to a dir and su rooted:
Code: |
root logi #:./configure --prefix=/usr
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -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 stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking for usb_init in -lusb... no
ERROR! libusb library not found, get it from
http://libusb.sourceforge.net
or use the --with-libusb-libraries option, if you have it installed
in an unusual place
root logi #:emerge -ptv libusb
These are the packages that I would merge, in reverse order:
Calculating dependencies ...done!
[ebuild R ] dev-libs/libusb-0.1.8 -debug -doc 0 kB
Total size of downloads: 0 kB
|
i tried it with " --with-libusb-libraries=/usr/lib/libusb"
but it fails again with the same output (as it looks to me like there is a problem with the library itself)
i am now using the 2005.0 amd64 profile and compiling the applet worked using 2004.3 amd64
(i messed up migrating and a winxp install and therefore i am now using a clean 2005.0 install)
dont know if it is a amd64 problem or a bug in libusb/logitech app
please tell me if i am in the wrong forums |
|
Back to top |
|
|
FFred n00b
Joined: 04 Aug 2004 Posts: 23 Location: Paris, France
|
Posted: Fri Jun 03, 2005 2:13 pm Post subject: Same here |
|
|
Problem is indeed with the libusb package. You have to emerge libusb-0.1.10a :
Code: | ix logitech_applet-0.4test1 # ACCEPT_KEYWORDS="~amd64" emerge -p libusb
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] dev-libs/libusb-0.1.10a [0.1.8] |
Then it finally works.
Unfortunately my MX1000 doesn't seem to be supported :
Code: | ix logitech_applet-0.4test1 # /usr/sbin/logitech_applet -c
002/003 046D/C50E M-RAG97 MX1000 Laser Mouse
Channel 2 Battery: 5 Single channel No 800cpi support No Horiz Roller No Vert Roller 2 butt.
|
2 buttons ?? No rollers ? |
|
Back to top |
|
|
|