-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install TILP+GFM on macOS El Capitan #12
Comments
Yeah, @debrouxl needs to merge this PR: debrouxl/tilibs#19, in particular this patch that fixes it: debrouxl/tilibs@936c2b0 :D |
Thanks, @adriweb . |
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: $ sudo ./install_tilp.shconfigure: creating ./config.status Now, you can type 'make' and 'make install'. Building tilp_and_gfm/gfm /Library/Developer/CommandLineTools/usr/bin/make all-recursive touch stamp-po 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 clang: error: no such file or directory: '@KDE_INCLUDES@' make[2]: *** [gfm-cmdline.o] Error 1 iHack-de-Rafael:Downloads requeijaum$ |
# Trying to force GFM to build. I removed the @KDE-INCLUDES@ , @QT-INCLUDES@ and @X_LDFLAGS@ 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: Second try... GFM BUILD PASSED!!!# But TILP fails because of a PERL module... === tilp === |
Hmm, strange. |
Regarding
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 === autoreconf: Entering directory checking for perl >= 5.8.1... 5.26.1 checking locale.h usability... yes **Now, you can type 'make' and 'make install'. Building tilp_and_gfm/tilp** /Library/Developer/CommandLineTools/usr/bin/make all-recursive 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 -D__LINUX__ -fvisibility=hidden -DGTK_DISABLE_DEPRECATED -MT tilp-tilp_calcs.o -MD -MP -MF .deps/tilp-tilp_calcs.Tpo -c -o tilp-tilp_calcs.o clang: error: no such file or directory: '@KDE_INCLUDES@' Next step: try to edit the Makefile.am related to it. |
Trying to build TILP againI have to wait for the already compiled and installed libti* modules to build again. ##Got it...? Making install in src /bin/sh ../libtool --mode=install /usr/bin/install -c -p tilp '/usr/local/bin' ==================================================
|
How to test TILP? 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. |
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
The text was updated successfully, but these errors were encountered: