Open requeijaum opened 6 years ago
Yeah, @debrouxl needs to merge this PR: https://github.com/debrouxl/tilibs/pull/19/, in particular this patch that fixes it: https://github.com/debrouxl/tilibs/pull/19/commits/936c2b07da678e1cd284b02ca42571caf506af7e :D
Thanks, @adriweb . I will try to use the modifications right now.
The terminal went happy and almost compiled all the libs.
EDIT: I think that the problem it's on GFM (Group File Manager) build.
Check it:
configure: creating ./config.status config.status: creating Makefile config.status: creating build/Makefile config.status: creating build/mingw/Makefile config.status: creating desktop/Makefile config.status: creating glade/Makefile config.status: creating help/Makefile config.status: creating icons/Makefile config.status: creating man/Makefile config.status: creating pixmaps/Makefile config.status: creating po/Makefile.in config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile
Now, you can type 'make' and 'make install'.
Building tilp_and_gfm/gfm
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
Making all in build
Making all in mingw
make[3]: Nothing to be done for all'. make[3]: Nothing to be done for
all-am'.
Making all in desktop
cat ./gfm.desktop.in | sed -e "s=\@bindir\@=/usr/local/bin=" | sed -e "s=\@pixmapsdir\@=/usr/local/share/gfm/pixmaps=" > gfm.desktop
Making all in glade
make[2]: Nothing to be done for all'. Making all in help make[2]: Nothing to be done for
all'.
Making all in icons
make[2]: Nothing to be done for all'. Making all in pixmaps make[2]: Nothing to be done for
all'.
Making all in po
/Library/Developer/CommandLineTools/usr/bin/make gfm.pot-update
sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed
mv t-remove-potcdate.sed remove-potcdate.sed
if LC_ALL=C grep 'GNU gfm' ../ 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
package_gnu='GNU '; \
else \
package_gnu=''; \
fi; \
if test -n '' || test 'tilp-users@lists.sourceforge.net' = '@'PACKAGE_BUGREPORT'@'; then \
msgid_bugs_address=''; \
else \
msgid_bugs_address='tilp-users@lists.sourceforge.net'; \
fi; \
case `/usr/local/bin/xgettext --version | sed 1q | sed -e 's,^[^0-9],,'` in \
'' | 0.[0-9] | 0.[0-9]. | 0.1[0-5] | 0.1[0-5]. | 0.16 | 0.16.[0-1]) \
/usr/local/bin/xgettext --default-domain=gfm --directory=.. \
--add-comments=TRANSLATORS: --keyword= --keyword=N \
--files-from=./POTFILES.in \
--copyright-holder='Free Software Foundation, Inc.' \
--msgid-bugs-address="$msgid_bugs_address" \
;; \
) \
/usr/local/bin/xgettext --default-domain=gfm --directory=.. \
--add-comments=TRANSLATORS: --keyword= --keyword=N \
--files-from=./POTFILES.in \
--copyright-holder='Free Software Foundation, Inc.' \
--package-name="${package_gnu}gfm" \
--package-version='1.09' \
--msgid-bugs-address="$msgid_bugs_address" \
;; \
esac
/usr/local/bin/xgettext: aviso: arquivo "glade/dialogs.str", extensão "str" é desconhecida; tentarei C
/usr/local/bin/xgettext: aviso: arquivo "glade/gfm.str", extensão "str" é desconhecida; tentarei C
test ! -f gfm.po || { \
if test -f ./gfm.pot; then \
sed -f remove-potcdate.sed < ./gfm.pot > gfm.1po && \
sed -f remove-potcdate.sed < gfm.po > gfm.2po && \
if cmp gfm.1po gfm.2po >/dev/null 2>&1; then \
rm -f gfm.1po gfm.2po gfm.po; \
else \
rm -f gfm.1po gfm.2po ./gfm.pot && \
mv gfm.po ./gfm.pot; \
fi; \
else \
mv gfm.po ./gfm.pot; \
fi; \
}
test ! -f ./gfm.pot || \
test -z "fr.gmo" || /Library/Developer/CommandLineTools/usr/bin/make fr.gmo
/usr/local/bin/msgmerge --update fr.po gfm.pot
......... feito.
rm -f fr.gmo && /usr/local/bin/msgfmt -c --statistics -o fr.gmo fr.po
87 mensagens traduzidas.
touch stamp-po Making all in src
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/tilp2 -I/usr/local/Cellar/libarchive/3.3.2/include -I/usr/local/include/tilp2 -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 -I/usr/local/include/tilp2 -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 -I/usr/local/include/tilp2 -I/usr/local/Cellar/libarchive/3.3.2/include -I/usr/local/include/tilp2 -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 -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 -D_REENTRANT -I/usr/local/Cellar/gtk+/2.24.32/include/gtk-2.0 -I/usr/local/Cellar/gtk+/2.24.32/lib/gtk-2.0/include -I/usr/local/Cellar/pango/1.40.14/include/pango-1.0 -I/usr/local/Cellar/harfbuzz/1.7.5/include/harfbuzz -I/usr/local/Cellar/graphite2/1.3.10/include -I/usr/local/Cellar/pango/1.40.14/include/pango-1.0 -I/usr/local/Cellar/atk/2.26.1/include/atk-1.0 -I/usr/local/Cellar/cairo/1.14.12/include/cairo -I/usr/local/Cellar/pixman/0.34.0_1/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.12.6/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.34/include/libpng16 -I/usr/local/Cellar/gdk-pixbuf/2.36.11/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.34/include/libpng16 -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 -D_REENTRANT -I/usr/local/Cellar/libglade/2.6.4_2/include/libglade-2.0 -I/usr/local/Cellar/gtk+/2.24.32/include/gtk-2.0 -I/usr/local/Cellar/gtk+/2.24.32/lib/gtk-2.0/include -I/usr/local/Cellar/pango/1.40.14/include/pango-1.0 -I/usr/local/Cellar/harfbuzz/1.7.5/include/harfbuzz -I/usr/local/Cellar/graphite2/1.3.10/include -I/usr/local/Cellar/pango/1.40.14/include/pango-1.0 -I/usr/local/Cellar/atk/2.26.1/include/atk-1.0 -I/usr/local/Cellar/cairo/1.14.12/include/cairo -I/usr/local/Cellar/pixman/0.34.0_1/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.12.6/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.34/include/libpng16 -I/usr/local/Cellar/gdk-pixbuf/2.36.11/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.34/include/libpng16 -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 -I/usr/include/libxml2 @KDE_INCLUDES@ @QT_INCLUDES@ -DSHARE_DIR=\"/usr/local/share/gfm\" -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include -Wall -W -g -O2 -fvisibility=hidden -MT gfm-cmdline.o -MD -MP -MF .deps/gfm-cmdline.Tpo -c -o gfm-cmdline.o test -f 'cmdline.c' || echo './'
cmdline.c
clang: error: no such file or directory: '@KDE_INCLUDES@' clang: error: no such file or directory: '@QT_INCLUDES@'
make[2]: [gfm-cmdline.o] Error 1 make[1]: [all-recursive] Error 1 make: *** [all] Error 2
iHack-de-Rafael:Downloads requeijaum$
# Trying to force GFM to build.
I removed the @KDE-INCLUDES@ , @QT-INCLUDES@ and @X_LDFLAGS@ from gfm/trunk/src/Makefile
Since GFM and it's manpages were built I'll try to run the install script once again...
Nah... it didn't work. The flags keep coming.
I tried editing gfm/trunk/src/Makefile.am ...
But got another error with GFM.
**In file included from dialog.c:31: ./paths.h:31:2: error: "Maybe trying to define a SHARE_DIR definition to GCC to where you shared stuff for GFM will be located before compiling."
^ 1 error generated. make[2]: ** [gfm-dialog.o] Error 1 make[1]: [all-recursive] Error 1 make: *** [all] Error 2 iHack-de-Rafael:trunk requeijaum$
# But TILP fails because of a PERL module...
=== tilp ===
Configuring tilp_and_gfm/tilp
autoreconf: Entering directory .' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 acinclude.m4:2922: warning: the serial number must appear before any macro definition acinclude.m4:2967: warning: the serial number must appear before any macro definition acinclude.m4:3012: warning: the serial number must appear before any macro definition 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' acinclude.m4:2922: warning: the serial number must appear before any macro definition acinclude.m4:2967: warning: the serial number must appear before any macro definition acinclude.m4:3012: warning: the serial number must appear before any macro definition 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:37: installing './compile' configure.ac:36: installing './config.guess' configure.ac:36: installing './config.sub' configure.ac:8: installing './install-sh' configure.ac:8: installing './missing' Makefile.am: installing './INSTALL' src/Makefile.am: installing './depcomp' autoreconf: Leaving directory
.'
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
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 for something to drink while compiling... err: no fridge found!
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 we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ 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 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 groff... yes
checking for windres... no
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.51.0 found
checking for intltool-update... /usr/local/bin/intltool-update
checking for intltool-merge... /usr/local/bin/intltool-merge
checking for intltool-extract... /usr/local/bin/intltool-extract
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for perl... /usr/local/bin/perl
checking for perl >= 5.8.1... 5.26.1
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
Hmm, strange. What about following those steps to install it http://mynixworld.info/2014/02/17/xmlparser-perl-module-required-intltool/
Regarding
clang: error: no such file or directory: '@KDE_INCLUDES@'
clang: error: no such file or directory: '@QT_INCLUDES@'
That looks like something related to the latest commit... there's still some occurence of this left, hm. I'll let @debrouxl take care of that
Updating till 5:00pm BRT.
Installed the perl module... $ cpan XML::Parser
But I got another error related to the includes in tilp & gfm/tilp:
=== tilp === Configuring tilp_and_gfm/tilp
autoreconf: Entering directory .' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 acinclude.m4:2922: warning: the serial number must appear before any macro definition acinclude.m4:2967: warning: the serial number must appear before any macro definition acinclude.m4:3012: warning: the serial number must appear before any macro definition 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' acinclude.m4:2922: warning: the serial number must appear before any macro definition acinclude.m4:2967: warning: the serial number must appear before any macro definition acinclude.m4:3012: warning: the serial number must appear before any macro definition 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:37: installing './compile' configure.ac:8: installing './missing' src/Makefile.am: installing './depcomp' autoreconf: Leaving directory
.'
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
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 for something to drink while compiling... err: no fridge found!
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 we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ 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 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 groff... yes
checking for windres... no
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.51.0 found
checking for intltool-update... /usr/local/bin/intltool-update
checking for intltool-merge... /usr/local/bin/intltool-merge
checking for intltool-extract... /usr/local/bin/intltool-extract
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for perl... /usr/local/bin/perl
checking for perl >= 5.8.1... 5.26.1 checking for XML::Parser... ok
checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... yes checking for CFLocaleCopyCurrent... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... no checking for bindtextdomain in -lintl... yes checking for ngettext in -lintl... yes checking for dgettext in -lintl... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/local/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/local/bin/msgfmt checking for xgettext... (cached) /usr/local/bin/xgettext checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ticonv >= 1.1.5... yes checking for tifiles2 >= 1.1.7... yes checking for ticables2 >= 1.3.5... yes checking for ticalcs2 >= 1.1.9... yes checking for glib-2.0 >= 2.6.0... yes checking for gtk+-2.0 >= 2.12.0... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for compress in -lz... yes checking for ANSI C header files... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for C/C++ restrict keyword... __restrict checking whether stat file-mode macros are broken... no checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for off_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether gcc needs -traditional... no checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... no checking whether stat accepts an empty string... no checking for getcwd... yes checking for memset... yes checking for mkdir... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking whether gcc accepts -fvisibility... -fvisibility=hidden checking for the host compiler... gcc checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating build/Makefile config.status: creating build/mingw/Makefile config.status: creating builder/Makefile config.status: creating desktop/Makefile config.status: creating help/Makefile config.status: creating icons/Makefile config.status: creating man/Makefile config.status: creating pixmaps/Makefile config.status: creating src/Makefile config.status: creating wicons/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands
**Now, you can type 'make' and 'make install'.
Building tilp_and_gfm/tilp**
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
Making all in build
Making all in mingw
make[3]: Nothing to be done for all'. make[3]: Nothing to be done for
all-am'.
Making all in builder
make[2]: Nothing to be done for all'. Making all in desktop cat ./tilp.desktop.in | sed -e "s=\@bindir\@=/usr/local/bin=" | sed -e "s=\@pixmapsdir\@=/usr/local/share/tilp2/pixmaps=" > tilp.desktop Making all in help make[2]: Nothing to be done for
all'.
Making all in icons
make[2]: Nothing to be done for all'. Making all in pixmaps make[2]: Nothing to be done for
all'.
Making all in po
file=echo fr | sed 's,.*/,,'
.gmo \
&& rm -f $file && /usr/local/bin/msgfmt -o $file fr.po
file=echo de | sed 's,.*/,,'
.gmo \
&& rm -f $file && /usr/local/bin/msgfmt -o $file de.po
Making all in src
gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/local/include/tilp2 -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 -I/usr/local/include/tilp2 -I/usr/local/Cellar/libarchive/3.3.2/include -I/usr/local/include/tilp2 -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 -I/usr/local/include/tilp2 -I/usr/local/Cellar/libarchive/3.3.2/include -I/usr/local/include/tilp2 -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 -I/usr/local/include/tilp2 -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 -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 -D_REENTRANT -I/usr/local/Cellar/gtk+/2.24.32/include/gtk-2.0 -I/usr/local/Cellar/gtk+/2.24.32/lib/gtk-2.0/include -I/usr/local/Cellar/pango/1.40.14/include/pango-1.0 -I/usr/local/Cellar/harfbuzz/1.7.5/include/harfbuzz -I/usr/local/Cellar/graphite2/1.3.10/include -I/usr/local/Cellar/pango/1.40.14/include/pango-1.0 -I/usr/local/Cellar/atk/2.26.1/include/atk-1.0 -I/usr/local/Cellar/cairo/1.14.12/include/cairo -I/usr/local/Cellar/pixman/0.34.0_1/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.12.6/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/libpng/1.6.34/include/libpng16 -I/usr/local/Cellar/gdk-pixbuf/2.36.11/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.34/include/libpng16 -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 @KDE_INCLUDES@ @QT_INCLUDES@ -DSHARE_DIR=\"/usr/local/share/tilp2\" -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -DGTK_DISABLE_DEPRECATED -Wall -g -O2 -DLINUX -fvisibility=hidden -DGTK_DISABLE_DEPRECATED -MT tilp-tilp_calcs.o -MD -MP -MF .deps/tilp-tilp_calcs.Tpo -c -o tilp-tilp_calcs.o test -f 'tilp_calcs.c' || echo './'
tilp_calcs.c
clang: error: no such file or directory: '@KDE_INCLUDES@' clang: error: no such file or directory: '@QT_INCLUDES@' make[2]: ** [tilp-tilp_calcs.o] Error 1 make[1]: [all-recursive] Error 1 make: * [all] Error 2 iHack-de-Rafael:~ requeijaum$
Next step: try to edit the Makefile.am related to it.
I have to wait for the already compiled and installed libti* modules to build again. It would be nice to update the script for detecting the completed jobs and skipping them if applicable.
Making install in src .././install-sh -c -d '/usr/local/bin'
/bin/sh ../libtool --mode=install /usr/bin/install -c -p tilp '/usr/local/bin'
libtool: install: /usr/bin/install -c -p tilp /usr/local/bin/tilp
make[2]: Nothing to be done for install-data-am'. Making install in wicons make[2]: Nothing to be done for
install-exec-am'.
Making install in man
make[2]: Nothing to be done for install-exec-am'. .././install-sh -c -d '/usr/local/share/man/man1' /usr/bin/install -c -p -m 644 tilp.1 '/usr/local/share/man/man1' .././install-sh -c -d '/usr/local/share/tilp2' /usr/bin/install -c -p -m 644 Manpage.txt '/usr/local/share/tilp2' make[2]: Nothing to be done for
install-exec-am'.
./install-sh -c -d '/usr/local/share/tilp2'
/usr/bin/install -c -p -m 644 COPYING RELEASE '/usr/local/share/tilp2'
/Users/requeijaum/lpg/tilp
If you want to use TILP as a non-root user, follow the instructions in /Users/requeijaum/lpg/tilp/tilibs/libticables/trunk/CONFIG
How to test TILP? I will try to build tiemu-3.03 with it.
EDIT: just werks.
I have merged Adriweb's PR in the tilibs repo, and fixed an issue in the latest commit on the tilp_and_gfm repo. The references to QT_INCLUDES and KDE_INCLUDES should be gone for good.
As for TIEmu, I'm impressed that this mess can still be made to build with GDB support enabled...
Yeah everything works fine, including with cmake now which makes it simpler. This issue should be closed.
Downloaded and run this script.
Then: just did all the Homebrew installs and linking - as per script instructions for building in OS X.
However... I'm failing to build libticonv.
Something with linking on x86_64.
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
Here's a full log.
issue_tilp.txt