On Wed, 2010-07-14 at 09:59 +0200, ~suv wrote:
- make error due to hardcoded 'libtoolize' in autogen.sh
$ make CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Volumes/blue/src/Inkscape/src/inkscape-repo/mp-x11/missing --run aclocal-1.11 cd . && /bin/sh /Volumes/blue/src/Inkscape/src/inkscape-repo/mp-x11/missing --run automake-1.11 --foreign configure.ac:33: required file `./ltmain.sh' not found make: *** [Makefile.in] Error 1
On OS X libtool and libtoolize are installed as 'glibtool' and 'glibtoolize'. autogen.sh should either test for it or maybe use the environment variables ($LIBTOOL, $LIBTOOLIZE) which could be set in the packaging script (packaging/macosx/osx-build.sh).
After editing autogen.sh (replace "libtoolize" with "glibtoolize") to test the fix, autogen.sh and configure ran through:
Hmm, how odd. But, sure that makes sense. Do you know what's preferred?
Configuration:
Source code location: . Destination path prefix: /Volumes/blue/src/Inkscape/src/inkscape-repo/mp-x11/packaging/macosx/../../Build Compiler: ccache g++ CPPFLAGS: -Wall -Wformat -Wformat-security -W -D_FORTIFY_SOURCE=2 -I/Volumes/blue/mp-inkscape/with-a-long-long-long-directory-name/include CXXFLAGS: -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -O3 -Wall -Wno-strict-aliasing CFLAGS: -Wno-pointer-sign -O3 -Wall LDFLAGS: -L/Volumes/blue/mp-inkscape/with-a-long-long-long-directory-name/lib Use Xft font database: yes Use gnome-vfs: yes Use openoffice files: yes Use relocation support: no Internal Python: skipped Internal Perl: skipped Enable LittleCms: yes Enable DBUS no Enable Poppler-Cairo: yes ImageMagick Magick++: yes Libwpg: yes Doing Local Install: no
Looks good.
but make failed later on with:
- link error for 'libinkdbus.la'
CCLD libinkdbus.la Undefined symbols:
...
ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [libinkdbus.la] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Any hints on how one can really disable DBUS in Inkscape for now or how to investigate if this is a problem with my local build environment (dbus, dbus-glib dependencies are installed [2]) or why this error happens on osx would be highly appreciated.
Uhg, I thought I tested this. Must have missed a case. You should be able to do a "--disable-dbus" to configure, but really that's the same as the message you're getting -- so it's got to be an error in the build. I'll look into it.
--Ted