Hi all,
I'm trying to install tilp2 on a Linux machine (Ubuntu 16.10), but fail to install the library ticonv. The ''./configure'' step works well, but the ''make'' command returns an error and I cannot finish the installation.
I'm posting here the critical step when installation fails:
make[2] : on entre dans le répertoire « ~/tilibs2/libticonv-1.1.5/tests »
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -DLINUX -fvisibility=hidden -o torture_ticonv torture_ticonv.o ../src/libticonv.la -lglib-2.0
libtool: link: gcc -g -O2 -DLINUX -fvisibility=hidden -o .libs/torture_ticonv torture_ticonv.o ../src/.libs/libticonv.so -lglib-2.0
torture_ticonv.o: In function main':
~/tilibs2/libticonv-1.1.5/tests/torture_ticonv.c:138: undefined reference to
ticonv_iconv_open'
~/tilibs2/libticonv-1.1.5/tests/torture_ticonv.c:139: undefined reference to ticonv_iconv'
~/tilibs2/libticonv-1.1.5/tests/torture_ticonv.c:144: undefined reference to
ticonv_iconv_close'
collect2: error: ld returned 1 exit status
Makefile:561 : la recette pour la cible « torture_ticonv » a échouée
Any idea on why this is happening?
Thanks for this program, which seems absolutely amazing, I was starting to be desperate by the total lack of ressources for Linux machines from TI!
Best.
Hi Etienne. Right now, for the build to succeed, you need to pass --enable-iconv to configure. The torture test doesn't take into account the fact that the experimental libiconv interface might not be available. I think I'm going to enable it by default in Git ( https://github.com/debrouxl/tilibs ).
Yep that fixed it, thanks a lot!
I'm now closer to have the installation finished. There is still a problem with ''autoreconf'' for tilp:
configure.ac:53: error: possibly undefined macro: AC_PROG_INTLTOOL
If this is a known issue, I'd much like to know the fix but I think it's not TILP-related so I'll see somewhere else on the net :)
EDIT: ok, I just needed to install intltool. TTLP is now installed, thanks for the fix!
Last edit: Etienne Werly 2016-11-05
Your build environment is missing intltool. FWIW, the build dependencies on multiple distros are listed in the install_tilp.sh script, which builds libti*+gfm+tilp from the Git repositories. A short redirection URL for that script is https://ti-pla.net/tilpinst .