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
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.
should be all set now in the tree; thanks for the report! Commit message: Depend on libusb:0 for older versions http://sources.gentoo.org/dev-embedded/avrdude/avrdude-5.4.ebuild?r1=1.6&r2=1.7 http://sources.gentoo.org/dev-embedded/avrdude/avrdude-5.5.ebuild?r1=1.5&r2=1.6 http://sources.gentoo.org/dev-embedded/avrdude/avrdude-5.8-r1.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/dev-embedded/avrdude/avrdude-5.8.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/dev-embedded/avrdude/avrdude-5.10.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/dev-embedded/avrdude/avrdude-5.11.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/dev-embedded/avrdude/avrdude-5.11.1.ebuild?r1=1.1&r2=1.2
should be all set now in the tree; thanks for the report! Commit message: Depend on libusb:0 for older versions http://sources.gentoo.org/dev-embedded/avrdude/avrdude-5.4.ebuild?r1=1.6&r2=1.7 http://sources.gentoo.org/dev-embedded/avrdude/avrdude-5.5.ebuild?r1=1.5&r2=1.6 http://sources.gentoo.org/dev-embedded/avrdude/avrdude-5.8.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/dev-embedded/avrdude/avrdude-5.8-r1.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/dev-embedded/avrdude/avrdude-5.10.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/dev-embedded/avrdude/avrdude-5.11.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/dev-embedded/avrdude/avrdude-5.11.1.ebuild?r1=1.1&r2=1.2