libftdi Archives

Subject: Re: Building the git repository sources to a different prefix directory

From: Drasko DRASKOVIC <drasko.draskovic@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 31 Mar 2011 17:09:07 +0200
Hi Uwe,
I found nice tutorial from Milkymist guys :
http://www.milkymist.org/wiki/index.php?title=Build_the_libftdi-1.0_and_new_ftdi_eeprom

I just changed libtool softlinks and autotools stuff to be done by
autogen.sh identical to the one in libusb-1.0. After that I had my
./configure and I could pass it --prefix=<install_dir>.

I find this method to be much simpler and less obscure with unusual
CMake that does not work and is not so known in general.


Best regards,
Drasko

On Wed, Mar 30, 2011 at 10:01 PM, Uwe Bonnes
<bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>>>>>> "Drasko" == Drasko DRASKOVIC <drasko.draskovic@xxxxxxxxx> writes:
>
>    Drasko> Sorry, I got the wrong repo (I took
>    Drasko> git://developer.intra2net.com/libftdi-1.0).  With correct repo (
>    Drasko> git://developer.intra2net.com/libftdi) it does not work neither
>    Drasko> - make install fails :
>
>    >> make install
>    Drasko> -- Build type: Debug -- Building libftdi++ -- Building python
>    Drasko> bindings via swig. Will be installed under
>    Drasko> /home/ddraskovic/libftdi-1.0/site-packages -- Building example
>    Drasko> programs.  -- Building libftdi++ examples.  -- Looking for
>    Drasko> doxygen...  -- Looking for doxygen... - found /usr/bin/doxygen
>    Drasko> -- Looking for dot tool...  -- Looking for dot tool... - found
>    Drasko> /usr/bin/dot -- Doxygen found.  CMake Error: File
>    Drasko> /home/ddraskovic/sandbox/libftdi-1.0/libftdi/doc/Doxyfile.in
>    Drasko> does not exist.  CMake Error at CMakeLists.txt:112
>    Drasko> (configure_file): configure_file Problem configuring file
>
> Well, a simple check in that case is to look if the file is really missing.
>
> And indeed, on a clean 0.18 checkout it is missing doc/Doxyfile.in. But is
> is the same file in 1.0 anbd 0.18. So as a further workaround, copy from 1.0
> to 0.18.
>
> Bye
> --
> Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
> --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
>
> --
> libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
> To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
>
>

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread