libftdi Archives

Subject: Re: libftdi 1.1 release candidate (rc1)

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 28 Jan 2014 21:31:53 +0800
On Tue, Jan 28, 2014 at 8:54 PM, Xiaofan Chen <xiaofanc@xxxxxxxxx> wrote:
> On Fri, Jan 24, 2014 at 12:31 AM, Thomas Jarosch
> <thomas.jarosch@xxxxxxxxxxxxx> wrote:
>> I'm pleased to announce the release candidate of libftdi 1.1.
>>
>> Please give it some good testing. Final release is planned for late next 
>> week.
>>
> Here is the build log under Mac OS X 10.9.1 with Homebrew.
>
> You can see all the building steps are okay except ftdi-eeprom
> due to the problem associated with detection of libintl. I do not
> know how to fix it though.
>
> -- Looking for dgettext
> -- Looking for dgettext - not found
> -- Could NOT find Libintl (missing:  LIBINTL_LIB_FOUND)
>

I think this has something to do with Homebrew since it does
not replace the system gettext. A temporary fix is to link
the Homebrew's own gettext and then everything will be
fine. Still I think this is an ugly fix and it is still not using
the system libintl but rather from Mono.

mymacmini:build xiaofanc$ brew link --force gettext
Linking /usr/local/Cellar/gettext/0.18.3.2... 186 symlinks created

mymacmini:build xiaofanc$ cmake ..
-- The C compiler identification is Clang 5.0.0
-- The CXX compiler identification is Clang 5.0.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Build type: RelWithDebInfo
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.28")
-- checking for module 'libusb-1.0'
--   found libusb-1.0, version 1.0.9
-- Found LIBUSB: /usr/local/lib/libusb-1.0.dylib
-- Boost version: 1.55.0
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.8.6")
-- Doxygen found.
-- Generating API documentation with Doxygen
fatal: Not a git repository (or any of the parent directories): .git
-- Detected git snapshot version: unknown
-- Building libftdi1++
-- Found SWIG: /usr/local/bin/swig (found version "2.0.11")
-- Found PythonLibs: /usr/lib/libpython2.7.dylib (found version "2.7.5")
-- Found PythonInterp: /usr/local/bin/python (found version "2.7.6")
-- Building python bindings via swig. Will be installed under
/usr/local/lib/python2.7/site-packages
-- Found Confuse: /usr/local/lib/libconfuse.a
-- Looking for dgettext
-- Looking for dgettext - not found
-- Found Libintl: /Library/Frameworks/Mono.framework/Headers
-- Building ftdi_eeprom
-- Building example programs.
-- Building libftdi++ examples.
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   unit_test_framework
-- Building unit test
-- Configuring done
-- Generating done
-- Build files have been written to:
/Users/xiaofanc/work/libftdi/libftdi1-1.1/build

mymacmini:build xiaofanc$ make
Scanning dependencies of target docs
[  4%] Generating doc/html/index.html
Warning: Tag `SYMBOL_CACHE_SIZE' at line 341 of file
/Users/xiaofanc/work/libftdi/libftdi1-1.1/build/Doxyfile has become
obsolete.
To avoid this warning please remove this line from your configuration
file or upgrade it using "doxygen -u"
[  4%] Built target docs
Scanning dependencies of target ftdi1
[  8%] Building C object src/CMakeFiles/ftdi1.dir/ftdi.c.o
[ 12%] Building C object src/CMakeFiles/ftdi1.dir/ftdi_stream.c.o
Linking C shared library libftdi1.dylib
[ 12%] Built target ftdi1
Scanning dependencies of target ftdi1-static
[ 16%] Building C object src/CMakeFiles/ftdi1-static.dir/ftdi.c.o
[ 20%] Building C object src/CMakeFiles/ftdi1-static.dir/ftdi_stream.c.o
Linking C static library libftdi1.a
[ 20%] Built target ftdi1-static
Scanning dependencies of target ftdipp1
[ 24%] Building CXX object ftdipp/CMakeFiles/ftdipp1.dir/ftdi.cpp.o
Linking CXX shared library libftdipp1.dylib
[ 24%] Built target ftdipp1
Scanning dependencies of target ftdipp1-static
[ 28%] Building CXX object ftdipp/CMakeFiles/ftdipp1-static.dir/ftdi.cpp.o
Linking CXX static library libftdipp1.a
[ 28%] Built target ftdipp1-static
Scanning dependencies of target doc_i
[ 32%] Generating ../doc/xml/ftdi_8c.xml
Warning: Tag `SYMBOL_CACHE_SIZE' at line 345 of file Doxyfile has
become obsolete.
To avoid this warning please remove this line from your configuration
file or upgrade it using "doxygen -u"
[ 36%] Generating ftdi1_doc.i
[ 36%] Built target doc_i
[ 40%] Swig source
Scanning dependencies of target _ftdi1
[ 44%] Building C object python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c.o
Linking C shared module _ftdi1.so
[ 44%] Built target _ftdi1
Scanning dependencies of target ftdi_eeprom
[ 48%] Building C object ftdi_eeprom/CMakeFiles/ftdi_eeprom.dir/main.c.o
Linking C executable ftdi_eeprom
[ 48%] Built target ftdi_eeprom
Scanning dependencies of target baud_test
[ 52%] Building C object examples/CMakeFiles/baud_test.dir/baud_test.c.o
Linking C executable baud_test
[ 52%] Built target baud_test
Scanning dependencies of target bitbang
[ 56%] Building C object examples/CMakeFiles/bitbang.dir/bitbang.c.o
Linking C executable bitbang
[ 56%] Built target bitbang
Scanning dependencies of target bitbang2
[ 60%] Building C object examples/CMakeFiles/bitbang2.dir/bitbang2.c.o
Linking C executable bitbang2
[ 60%] Built target bitbang2
Scanning dependencies of target bitbang_cbus
[ 64%] Building C object examples/CMakeFiles/bitbang_cbus.dir/bitbang_cbus.c.o
Linking C executable bitbang_cbus
[ 64%] Built target bitbang_cbus
Scanning dependencies of target bitbang_ft2232
[ 68%] Building C object
examples/CMakeFiles/bitbang_ft2232.dir/bitbang_ft2232.c.o
Linking C executable bitbang_ft2232
[ 68%] Built target bitbang_ft2232
Scanning dependencies of target eeprom
[ 72%] Building C object examples/CMakeFiles/eeprom.dir/eeprom.c.o
Linking C executable eeprom
[ 72%] Built target eeprom
Scanning dependencies of target find_all
[ 76%] Building C object examples/CMakeFiles/find_all.dir/find_all.c.o
Linking C executable find_all
[ 76%] Built target find_all
Scanning dependencies of target find_all_pp
[ 80%] Building CXX object examples/CMakeFiles/find_all_pp.dir/find_all_pp.cpp.o
Linking CXX executable find_all_pp
[ 80%] Built target find_all_pp
Scanning dependencies of target serial_test
[ 84%] Building C object examples/CMakeFiles/serial_test.dir/serial_test.c.o
Linking C executable serial_test
[ 84%] Built target serial_test
Scanning dependencies of target simple
[ 88%] Building C object examples/CMakeFiles/simple.dir/simple.c.o
Linking C executable simple
[ 88%] Built target simple
Scanning dependencies of target stream_test
[ 92%] Building C object examples/CMakeFiles/stream_test.dir/stream_test.c.o
Linking C executable stream_test
[ 92%] Built target stream_test
Scanning dependencies of target test_libftdi1
[ 96%] Building CXX object test/CMakeFiles/test_libftdi1.dir/basic.cpp.o
[100%] Building CXX object test/CMakeFiles/test_libftdi1.dir/baudrate.cpp.o
Linking CXX executable test_libftdi1
[100%] Built target test_libftdi1

mymacmini:build xiaofanc$ brew unlink gettext
Unlinking /usr/local/Cellar/gettext/0.18.3.2... 190 links removed

-- 
Xiaofan

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

Current Thread