
Hello ~suv, good fellow…
o.k. - I went back to the very beginning, using a freshly unpacked sources directory.
I copied your autogen.sh to the sources root directory (I dont think it will work in the src dir) and did chmod 755.
Then I tried both (following my records from the first inkscape aqua building session):
Moved to the source root dir, did:
export CC="ccache gcc" export CXX="ccache g++" export LIBPREFIX="/opt/local" export CPATH="$LIBPREFIX/include" export CPPFLAGS="-I$LIBPREFIX/include" export LDFLAGS="-L$LIBPREFIX/lib" export CFLAGS="-O3 -Wall" export CXXFLAGS="$CFLAGS" export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
sudo ./autogen.sh
ending up with:
dsl01:~/Desktop/inkscape-0.47 bub$ sudo ./autogen.sh ./autogen.sh: line 27: ./tools-version.sh: No such file or directory
I am testing that you have the required versions of autoconf, automake, glib-gettextize and intltoolize. This test is not foolproof and if anything goes wrong, there may be guidance in the file HACKING.txt
checking for autoconf >= 2.52 ... yes (version 2.59) checking for automake >= 1.10 ... Too old (found version 1.6.3)! checking for glib-gettextize >= 2.0.0 ... You must have glib-gettextize installed to compile Inkscape. glib-gettextize is part of glib-2.0, so you should already have it. Make sure it is in your PATH. checking for intltool >= 0.17 ... You must have intltool installed to compile Inkscape. Get the latest version from ftp://ftp.gnome.org/pub/GNOME/sources/intltool/
Please install/upgrade the missing tools and call me again.
On a second go, I tried:
Moving to the packaging/macosx dir, pasting the export commands from above, and then doing sudo ./osx-build.sh a leads to the same result.
- Your $PATH certainly does look strange to me - it can't find any
recently installed tools in MacPorts because you haven't added it correctly in your PATH. Why did you modify the PATH to only include '/opt/local/var/macports/software/automake/1.11_0' and did you check if that directory even contains the automake binary you are looking for (it doesn't in my macports tree...)?
Automake can be found here:
/opt/local/bin/automake /opt/local/share/doc/automake /opt/local/var/macports/distfiles/automake /opt/local/var/macports/receipts/automake /opt/local/var/macports/software/automake /opt/local/var/macports/software/automake/1.11_0/opt/local/bin/ automake /opt/local/var/macports/software/automake/1.11_0/opt/local/share/ doc/automake /opt/local/var/macports/sources/rsync.macports.org/release/ports/ devel/automake f
and intltool here:
/opt/local/share/intltool /opt/local/var/macports/distfiles/intltool /opt/local/var/macports/receipts/intltool /opt/local/var/macports/software/intltool /opt/local/var/macports/software/intltool/0.40.6_0/opt/local/share/ intltool /opt/local/var/macports/sources/rsync.macports.org/release/ports/ textproc/intltool
glib-2.0 here:
/opt/local/include/glib-2.0 /opt/local/lib/glib-2.0 /opt/local/share/glib-2.0 /opt/local/var/macports/software/glib2/2.20.5_0+darwin/opt/local/ include/glib-2.0 /opt/local/var/macports/software/glib2/2.20.5_0+darwin/opt/local/ lib/glib-2.0 /opt/local/var/macports/software/glib2/2.20.5_0+darwin/opt/local/ share/glib-2.0
I was trying to include these things into the path by adding the directories after amother colon - seemed not to be working… - Can you give me the correct settings?
It is really best to use the scripts in 'packaging/macosx' to run autogen.sh and configure with the correct environment set up (after patching autogen.sh).
start again, cleanup any remnants from the failed autogen.sh runs with './delautogen.sh' or 'make distclean', then 'cd packaging/macosx' and run './osx-build.sh a' and if this succeeds './osx-build.sh c' to configure your source tree.
o.k. - I'm trying to work on that…
Greetings,
Wolf