GadgetFactory / Papilio-Loader

Java and command line apps to load Xilinx Bit files to Papilio FPGA boards.
http://gadgetfactory.net/learn/2013/09/18/howto-papilio-loader-gui-on-linux/
62 stars 34 forks source link

libftdi not found in configure in Gentoo x86_64 #18

Closed AlmuHS closed 6 years ago

AlmuHS commented 6 years ago

Hi all:

I'm trying to compile papilio-prog in a Gentoo x86_64 system

When I try to compile papilio-prog, in the configure step, i found this error:



No package 'libftdi' found`

I have installed libftdi in /usr/lib/libftdi1.so, and I set a link in /usr/lib32/libftdi.so.1, unsuccessfull

How can I solve this problem?
AlmuHS commented 6 years ago

configure_log.txt

AlmuHS commented 6 years ago

I solved the problem, installing other older version of libftdi

olofwalker commented 6 years ago

A workaround for this (at least on my Fedora system) is to compile from source and after running ./autogen.sh edit the configure file, replacing libftdi with libftdi1 everywhere (make sure to check with pkg-config --cflags libftdi1 that you actually have this package installed).

After that you just ./configure && make

There is probably a better way todo this, but I just needed the binary working.

AlmuHS commented 6 years ago

I did this, but now I have other error in compile phase

make_papilio.txt

AlmuHS commented 6 years ago

Solved: Removed directory, reclone repository and change libftdi to libftdi1 in configure file