Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410279 - dev-embedded/avrdude-5.8 - avrdude: error: no usb support.
Summary: dev-embedded/avrdude-5.8 - avrdude: error: no usb support.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-30 23:03 UTC by Godfath3r
Modified: 2012-04-03 03:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Godfath3r 2012-03-30 23:03:24 UTC
Running 
sudo avrdude -p atmega8 -P /dev/ttyUSB0  -c usbasp    -q -U flash:w:leds.hex
avrdude: error: no usb support. please compile again with libusb installed.
make: *** [program] Error 1

Installing newer version (5.11) seems to solve the problem.


RDEPEND="virtual/libusb" should have :0 or :1 in the ebuild.

Reproducible: Always
Comment 1 Julian Ganz 2012-04-02 20:18:22 UTC
I just had the same problem:
With virtual/libusb-1 (dev-libs/libusb-1.0.9rc3) installed, both avrdude 5.11 and 5.11.1 would not build with usb-support.
Installing dev-embedded/libftdi-0.20, which in turn pulled in virtual/libusb-0 (dev-libs/libusb-0.1.12-r7), solved the problem for me.
(I installed libftdi because of a test the configure-script performed on that library)

I agree with Godfather regarding the RDEPEND-value.