iHack-de-Rafael:Downloads requeijaum$ sudo ./install_tilp.sh Password: Modern MacOS X versions don't like programs installing to /usr, using /usr/local instead Modifying PKG_CONFIG_PATH on MacOS X Will use PREFIX=/usr/local Will use SRCDIR=/Users/requeijaum/lpg Will use PATH=/usr/local/opt/m4/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/requeijaum/.nexustools:/usr/local/opt/gettext/bin Will use LD_LIBRARY_PATH= Will use PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/X11/lib/pkgconfig Will use LIBDIR=/usr/local/lib Will use CC=gcc Will use CXX=g++ Before proceeding further, make sure that you're ready to go (look inside the install script): 1) configured PREFIX and SRCDIR the way you wish (as well as CC and CXX if you're into using non-GCC compilers when the distro defaults to GCC); 2) configured PKG_CONFIG_PATH if necessary 3) purged any installed distro packages for libticonv, libtifiles, libticables, libticalcs, gfm, tilp. 4) installed the build dependencies listed in the script. For instance: Debian 8: apt-get install build-essential git autoconf automake autopoint libtool libtool-bin libglib2.0-dev zlib1g-dev libusb-1.0-0-dev libgtk2.0-dev libglade2-dev gettext bison flex groff texinfo xdg-utils libarchive-dev intltool Fedora 23: dnf install git gcc gcc-c++ make pkgconfig autoconf automake libtool glib2-devel zlib-devel libusb1-devel gtk2-devel libglade2-devel gettext bison flex groff texinfo xdg-utils libarchive-devel intltool xz CentOS 7: yum install git gcc gcc-c++ make pkgconfig autoconf automake libtool glib2-devel zlib-devel libusb1-devel gtk2-devel libglade2-devel gettext bison flex groff texinfo xdg-utils libarchive-devel intltool xz OpenSUSE 42.1: zypper install git gcc gcc-c++ make pkg-config autoconf automake libtool glib2-devel zlib-devel libusb-1_0-devel gtk2-devel libglade2-devel gettext-tools bison flex groff texinfo xdg-utils libarchive-devel intltool xz Alpine 3.3: apk add git gcc g++ make pkgconfig autoconf automake libtool glib-dev zlib-dev libusb-dev gtk+-dev libglade-dev gettext-dev bison flex groff texinfo xdg-utils libarchive-dev intltool xz Arch Linux 2015.06.01 + upgrades: pacman -S git gcc make pkgconfig autoconf automake libtool glib2 zlib libusb gtk2 libglade gettext bison flex groff texinfo xdg-utils libarchive intltool xz MacOS X: brew install gettext libarchive autoconf automake libtool glib lzlib libusb gtk+ libglade sdl bison flex texinfo intltool brew link --force libarchive gettext (you can use 'brew unlink' later). Otherwise, either the build will fail, or the system may not use the just-built version (e.g. if you didn't purge the distro packages) ! ENTER to proceed, CTRL + C to abort. Creating output folder if necessary Performing a quick rough sanity check on compilers Hello World ! CC=gcc exists and is not totally broken Hello World ! CXX=g++ exists and is not totally broken Checking whether /usr/local can be written to === Downloading tilibs === Updating tilibs Already up-to-date. === Downloading tilp_and_gfm === Cloning tilp_and_gfm Cloning into 'tilp_and_gfm'... remote: Counting objects: 18600, done. remote: Total 18600 (delta 0), reused 0 (delta 0), pack-reused 18600 Receiving objects: 100% (18600/18600), 9.15 MiB | 162.00 KiB/s, done. Resolving deltas: 100% (12779/12779), done. === libticonv === Configuring tilibs/libticonv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: glibtoolize --copy --force glibtoolize: putting auxiliary files in '.'. glibtoolize: copying file './ltmain.sh' glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. glibtoolize: copying file 'm4/libtool.m4' glibtoolize: copying file 'm4/ltoptions.m4' glibtoolize: copying file 'm4/ltsugar.m4' glibtoolize: copying file 'm4/ltversion.m4' glibtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoconf --force autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:45: installing './compile' configure.ac:44: installing './config.guess' configure.ac:44: installing './config.sub' configure.ac:24: installing './install-sh' configure.ac:24: installing './missing' Makefile.am: installing './INSTALL' src/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' autoreconf: Leaving directory `.' configure: WARNING: unrecognized options: --enable-iconv checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-apple-darwin15.6.0 checking host system type... x86_64-apple-darwin15.6.0 checking how to print strings... printf checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /usr/local/bin/gsed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /Library/Developer/CommandLineTools/usr/bin/ld checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking how to convert x86_64-apple-darwin15.6.0 file names to x86_64-apple-darwin15.6.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin15.6.0 file names to toolchain format... func_convert_file_noop checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin15.6.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for library containing strerror... none required checking for gawk... (cached) gawk checking for tfdocgen... no checking for windres... no checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for glib-2.0 >= 2.6.0... yes checking for ANSI C header files... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for an ANSI C-conforming const... yes checking for C/C++ restrict keyword... __restrict checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether gcc needs -traditional... no checking whether lstat correctly handles trailing slash... no checking whether stat accepts an empty string... no checking for memset... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strrchr... yes checking whether gcc accepts -fvisibility... -fvisibility=hidden checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating build/mingw/Makefile config.status: creating docs/Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating ticonv.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --enable-iconv Now, you can type 'make' and 'make install'. Building tilibs/libticonv /Library/Developer/CommandLineTools/usr/bin/make all-recursive Making all in build/mingw make[2]: Nothing to be done for `all'. Making all in src /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/Cellar/glib/2.54.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.54.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.41/include -DTICONV_EXPORTS -Wall -g -O2 -D__LINUX__ -fvisibility=hidden -MT libticonv_la-ticonv.lo -MD -MP -MF .deps/libticonv_la-ticonv.Tpo -c -o libticonv_la-ticonv.lo `test -f 'ticonv.c' || echo './'`ticonv.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/Cellar/glib/2.54.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.54.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.41/include -DTICONV_EXPORTS -Wall -g -O2 -D__LINUX__ -fvisibility=hidden -MT libticonv_la-ticonv.lo -MD -MP -MF .deps/libticonv_la-ticonv.Tpo -c ticonv.c -fno-common -DPIC -o .libs/libticonv_la-ticonv.o mv -f .deps/libticonv_la-ticonv.Tpo .deps/libticonv_la-ticonv.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/Cellar/glib/2.54.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.54.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.41/include -DTICONV_EXPORTS -Wall -g -O2 -D__LINUX__ -fvisibility=hidden -MT libticonv_la-charset.lo -MD -MP -MF .deps/libticonv_la-charset.Tpo -c -o libticonv_la-charset.lo `test -f 'charset.c' || echo './'`charset.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/Cellar/glib/2.54.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.54.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.41/include -DTICONV_EXPORTS -Wall -g -O2 -D__LINUX__ -fvisibility=hidden -MT libticonv_la-charset.lo -MD -MP -MF .deps/libticonv_la-charset.Tpo -c charset.c -fno-common -DPIC -o .libs/libticonv_la-charset.o charset.c:496:2: warning: FINISH UTF-16-TO-TI-80 CONVERSION [-W#warnings] #warning FINISH UTF-16-TO-TI-80 CONVERSION ^ 1 warning generated. mv -f .deps/libticonv_la-charset.Tpo .deps/libticonv_la-charset.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/Cellar/glib/2.54.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.54.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.41/include -DTICONV_EXPORTS -Wall -g -O2 -D__LINUX__ -fvisibility=hidden -MT libticonv_la-tokens.lo -MD -MP -MF .deps/libticonv_la-tokens.Tpo -c -o libticonv_la-tokens.lo `test -f 'tokens.c' || echo './'`tokens.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/Cellar/glib/2.54.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.54.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.41/include -DTICONV_EXPORTS -Wall -g -O2 -D__LINUX__ -fvisibility=hidden -MT libticonv_la-tokens.lo -MD -MP -MF .deps/libticonv_la-tokens.Tpo -c tokens.c -fno-common -DPIC -o .libs/libticonv_la-tokens.o mv -f .deps/libticonv_la-tokens.Tpo .deps/libticonv_la-tokens.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/Cellar/glib/2.54.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.54.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.41/include -DTICONV_EXPORTS -Wall -g -O2 -D__LINUX__ -fvisibility=hidden -MT libticonv_la-filename.lo -MD -MP -MF .deps/libticonv_la-filename.Tpo -c -o libticonv_la-filename.lo `test -f 'filename.c' || echo './'`filename.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/Cellar/glib/2.54.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.54.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.41/include -DTICONV_EXPORTS -Wall -g -O2 -D__LINUX__ -fvisibility=hidden -MT libticonv_la-filename.lo -MD -MP -MF .deps/libticonv_la-filename.Tpo -c filename.c -fno-common -DPIC -o .libs/libticonv_la-filename.o mv -f .deps/libticonv_la-filename.Tpo .deps/libticonv_la-filename.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/Cellar/glib/2.54.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.54.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.41/include -DTICONV_EXPORTS -Wall -g -O2 -D__LINUX__ -fvisibility=hidden -MT libticonv_la-type2str.lo -MD -MP -MF .deps/libticonv_la-type2str.Tpo -c -o libticonv_la-type2str.lo `test -f 'type2str.c' || echo './'`type2str.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/Cellar/glib/2.54.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.54.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.41/include -DTICONV_EXPORTS -Wall -g -O2 -D__LINUX__ -fvisibility=hidden -MT libticonv_la-type2str.lo -MD -MP -MF .deps/libticonv_la-type2str.Tpo -c type2str.c -fno-common -DPIC -o .libs/libticonv_la-type2str.o mv -f .deps/libticonv_la-type2str.Tpo .deps/libticonv_la-type2str.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/Cellar/glib/2.54.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.54.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.41/include -DTICONV_EXPORTS -Wall -g -O2 -D__LINUX__ -fvisibility=hidden -MT libticonv_la-iconv.lo -MD -MP -MF .deps/libticonv_la-iconv.Tpo -c -o libticonv_la-iconv.lo `test -f 'iconv.c' || echo './'`iconv.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/Cellar/glib/2.54.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.54.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.41/include -DTICONV_EXPORTS -Wall -g -O2 -D__LINUX__ -fvisibility=hidden -MT libticonv_la-iconv.lo -MD -MP -MF .deps/libticonv_la-iconv.Tpo -c iconv.c -fno-common -DPIC -o .libs/libticonv_la-iconv.o mv -f .deps/libticonv_la-iconv.Tpo .deps/libticonv_la-iconv.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -g -O2 -D__LINUX__ -fvisibility=hidden -no-undefined -version-info 9:4:0 -o libticonv.la -rpath /usr/local/lib libticonv_la-ticonv.lo libticonv_la-charset.lo libticonv_la-tokens.lo libticonv_la-filename.lo libticonv_la-type2str.lo libticonv_la-iconv.lo -L/usr/local/Cellar/glib/2.54.3/lib -L/usr/local/opt/gettext/lib -lglib-2.0 -lintl -Wl,-framework -Wl,CoreFoundation libtool: link: gcc -dynamiclib -o .libs/libticonv.9.dylib .libs/libticonv_la-ticonv.o .libs/libticonv_la-charset.o .libs/libticonv_la-tokens.o .libs/libticonv_la-filename.o .libs/libticonv_la-type2str.o .libs/libticonv_la-iconv.o -L/usr/local/Cellar/glib/2.54.3/lib -L/usr/local/opt/gettext/lib -lglib-2.0 -lintl -g -O2 -Wl,-framework -Wl,CoreFoundation -install_name /usr/local/lib/libticonv.9.dylib -compatibility_version 10 -current_version 10.4 -Wl,-single_module Undefined symbols for architecture x86_64: "_iconv", referenced from: _ticonv_iconv in libticonv_la-iconv.o (maybe you meant: _ticonv_iconv_close, _ticonv_iconv_open , _ticonv_iconv ) "_iconv_close", referenced from: _ticonv_iconv_close in libticonv_la-iconv.o (maybe you meant: _ticonv_iconv_close) "_iconv_open", referenced from: _ticonv_iconv_open in libticonv_la-iconv.o (maybe you meant: _ticonv_iconv_open) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [libticonv.la] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2