I did a default configure/make/make install on the latest libftdi source 
tarball and it installed at /usr/share/. When I configured openocd with 
--enable-ft2232_libftdi it complained about unable to build and run the 
libftdi test program. By default, openocd configure is expecting libftdi 
to be installed at /usr, not at /usr/share. (The RPM install of libusb 
does put it at /usr and there is no problem with it.)

So when configuring libftdi, setting prefix=/usr fixes the problem.

Possibly this should be added to the documentation. (There may be other 
ways around this but for me this was the most straight forward.)

-gene

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to