0.47 - Mac OS X aqua
Hi everybody,
I tried the Mac OS X aqua adventure again and am running into strange occurancies: (Mac OS X 10.4.11, PPC)
./autogen results in
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/
Intltool should be new enough:
port installed intltool The following ports are currently installed: intltool @0.40.6_0 (active)
… so should be automake:
bub$ port installed automake The following ports are currently installed: automake @1.11_0 (active)
Hints appreciated…
Greetings,
Wolf
On 21/11/09 14:42, Wolf Drechsel wrote:
I tried the Mac OS X aqua adventure again and am running into strange occurancies: (Mac OS X 10.4.11, PPC)
./autogen results in
/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//
Intltool should be new enough:
port installed intltool The following ports are currently installed: intltool @0.40.6_0 (active)
… so should be automake:
bub$ port installed automake The following ports are currently installed: automake @1.11_0 (active)
Hints appreciated…
apply the patch from the macports Inkscape-devel port to autogen.sh as I described in my recent message: http://article.gmane.org/gmane.comp.graphics.inkscape.devel/32091
reason: recently built MacPorts trees on OS X only have automake 1.11, whereas the Inkscape autogen.sh script checks for automake 1.10 only. The patch adds the test for automake 1.11 to autogen.sh.
hth, ~suv
apply the patch from the macports Inkscape-devel port to autogen.sh as I described in my recent message: http://article.gmane.org/gmane.comp.graphics.inkscape.devel/32091
reason: recently built MacPorts trees on OS X only have automake 1.11, whereas the Inkscape autogen.sh script checks for automake 1.10 only. The patch adds the test for automake 1.11 to autogen.sh.
Hi ~suv,
such I tried - but didnt do a thing… )-;
/usr/bin/automake: automake (GNU automake) 1.6.3 no automake-1.7 in /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin / opt/local/var/macports/software/automake/1.11_0 /opt/local/share: ./ tools-version.sh: line 30: automake-1.7: command not found no automake-1.8 in /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin / opt/local/var/macports/software/automake/1.11_0 /opt/local/share: ./ tools-version.sh: line 30: automake-1.8: command not found no automake-1.9 in /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin / opt/local/var/macports/software/automake/1.11_0 /opt/local/share: ./ tools-version.sh: line 30: automake-1.9: command not found /usr/bin/aclocal: aclocal (GNU automake) 1.6.3 no aclocal-1.7 in /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin /opt/ local/var/macports/software/automake/1.11_0 /opt/local/share: ./ tools-version.sh: line 30: aclocal-1.7: command not found no aclocal-1.8 in /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin /opt/ local/var/macports/software/automake/1.11_0 /opt/local/share: ./ tools-version.sh: line 30: aclocal-1.8: command not found no aclocal-1.9 in /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin /opt/ local/var/macports/software/automake/1.11_0 /opt/local/share: ./ tools-version.sh: line 30: aclocal-1.9: command not found no intltoolize in /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin /opt/ local/var/macports/software/automake/1.11_0 /opt/local/share: ./ tools-version.sh: line 30: intltoolize: command not found no gettextize in /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin /opt/ local/var/macports/software/automake/1.11_0 /opt/local/share: ./ tools-version.sh: line 30: gettextize: command not found
--3. environment variables--------------------------------------------------- LDFLAGS=-L/opt/local/lib CPPFLAGS=-I/opt/local/include CPATH=/opt/local/include CXXFLAGS=-O3 -Wall PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/opt/local/var/ macports/software/automake/1.11_0:/opt/local/share CFLAGS=-O3 -Wall
======================================================================
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/
Greetings,
Wolf
On 21/11/09 15:22, Wolf Drechsel wrote:
apply the patch from the macports Inkscape-devel port to autogen.sh as I described in my recent message: http://article.gmane.org/gmane.comp.graphics.inkscape.devel/32091
reason: recently built MacPorts trees on OS X only have automake 1.11, whereas the Inkscape autogen.sh script checks for automake 1.10 only. The patch adds the test for automake 1.11 to autogen.sh.
Hi ~suv,
such I tried - but didnt do a thing… )-;
/usr/bin/automake: automake (GNU automake) 1.6.3 no automake-1.7 in /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin / opt/local/var/macports/software/automake/1.11_0 /opt/local/share: ./ tools-version.sh: line 30: automake-1.7: command not found no automake-1.8 in /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin / opt/local/var/macports/software/automake/1.11_0 /opt/local/share: ./ tools-version.sh: line 30: automake-1.8: command not found no automake-1.9 in /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin / opt/local/var/macports/software/automake/1.11_0 /opt/local/share: ./ tools-version.sh: line 30: automake-1.9: command not found /usr/bin/aclocal: aclocal (GNU automake) 1.6.3 no aclocal-1.7 in /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin /opt/ local/var/macports/software/automake/1.11_0 /opt/local/share: ./ tools-version.sh: line 30: aclocal-1.7: command not found no aclocal-1.8 in /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin /opt/ local/var/macports/software/automake/1.11_0 /opt/local/share: ./ tools-version.sh: line 30: aclocal-1.8: command not found no aclocal-1.9 in /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin /opt/ local/var/macports/software/automake/1.11_0 /opt/local/share: ./ tools-version.sh: line 30: aclocal-1.9: command not found no intltoolize in /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin /opt/ local/var/macports/software/automake/1.11_0 /opt/local/share: ./ tools-version.sh: line 30: intltoolize: command not found no gettextize in /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin /opt/ local/var/macports/software/automake/1.11_0 /opt/local/share: ./ tools-version.sh: line 30: gettextize: command not found
--3. environment variables--------------------------------------------------- LDFLAGS=-L/opt/local/lib CPPFLAGS=-I/opt/local/include CPATH=/opt/local/include CXXFLAGS=-O3 -Wall PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/opt/local/var/ macports/software/automake/1.11_0:/opt/local/share CFLAGS=-O3 -Wall
======================================================================
1) How did you apply the patch exactly?
2) 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...)?
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.
~suv
attaching the patched version (from SVN r22576) of autogen.sh
save it to 'inkscape/src' and use 'chmod 755 autogen.sh' to make it executable. the 'cd packaging/macosx' and run './osx-build.sh a'
hth, ~suv
#!/bin/bash
# This script does all the magic calls to automake/autoconf and # friends that are needed to configure a cvs checkout. As described in # the file HACKING you need a couple of extra tools to run this script # successfully. # # If you are compiling from a released tarball you don't need these # tools and you shouldn't use this script. Just call ./configure # directly.
PROJECT="Inkscape" TEST_TYPE=-f FILE=inkscape.spec.in
AUTOCONF_REQUIRED_VERSION=2.52 AUTOMAKE_REQUIRED_VERSION=1.10 GLIB_REQUIRED_VERSION=2.0.0 INTLTOOL_REQUIRED_VERSION=0.17
srcdir=`dirname "$0"` test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` cd "$srcdir"
./tools-version.sh
check_version () { MAJOR1=`echo "$1" | cut -d"." -f1`; MINOR1=`echo "$1" | cut -s -d"." -f2`; MAJOR2=`echo "$2" | cut -d"." -f1`; MINOR2=`echo "$2" | cut -d"." -f2;` test -z "$MINOR1" && MINOR1="0";
if [ "$MAJOR1" -gt "$MAJOR2" ] || [ "$MAJOR1" -eq "$MAJOR2" -a "$MINOR1" -ge "$MINOR2" ]; then echo "yes (version $1)" else echo "Too old (found version $1)!" DIE=1 fi }
attempt_command () { IGNORE=$1 shift
echo "Running $@ ..." ERR="`$@ 2>&1`" errcode=$? if [ "x$IGNORE" = "x" ]; then ERR=`echo "$ERR"` else ERR=`echo "$ERR" | egrep -v "$IGNORE"` fi if [ "x$ERR" != "x" ]; then echo "$ERR" | awk '{print " " $0}' fi if [ $errcode -gt 0 ]; then echo "Please fix the error conditions and try again." exit 1 fi }
echo echo "I am testing that you have the required versions of autoconf," echo "automake, glib-gettextize and intltoolize. This test is not foolproof and" echo "if anything goes wrong, there may be guidance in the file HACKING.txt" echo
DIE=0
echo -n "checking for autoconf >= $AUTOCONF_REQUIRED_VERSION ... " if (autoconf --version) < /dev/null > /dev/null 2>&1; then VER=`autoconf --version \ | grep -iw autoconf | sed -n 's/.* ([0-9.]*)[-a-z0-9]*$/\1/p'` check_version "$VER" "$AUTOCONF_REQUIRED_VERSION" else echo echo " You must have autoconf installed to compile $PROJECT." echo " Download the appropriate package for your distribution," echo " or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" DIE=1; fi
echo -n "checking for automake >= $AUTOMAKE_REQUIRED_VERSION ... " # Prefer earlier versions just so that the earliest supported version gets test coverage by developers. if (automake-1.11 --version) < /dev/null > /dev/null 2>&1; then AUTOMAKE=automake-1.11 ACLOCAL=aclocal-1.11 elif (automake-1.10 --version) < /dev/null > /dev/null 2>&1; then AUTOMAKE=automake-1.10 ACLOCAL=aclocal-1.10 elif (automake --version) < /dev/null > /dev/null 2>&1; then # Leave unversioned automake for a last resort: it may be a version earlier # than what we require. # (In particular, it might mean automake 1.4: that version didn't default to # installing a versioned name.) AUTOMAKE=automake ACLOCAL=aclocal else echo echo " You must have automake 1.10 or newer installed to compile $PROJECT." DIE=1 fi if test x$AUTOMAKE != x; then VER=`$AUTOMAKE --version \ | grep automake | sed -n 's/.* ([0-9.]*)[-a-z0-9]*$/\1/p'` check_version "$VER" "$AUTOMAKE_REQUIRED_VERSION" fi
echo -n "checking for glib-gettextize >= $GLIB_REQUIRED_VERSION ... " if (glib-gettextize --version) < /dev/null > /dev/null 2>&1; then VER=`glib-gettextize --version \ | grep glib-gettextize | sed -n 's/.* ([0-9.]*)/\1/p'` check_version "$VER" "$GLIB_REQUIRED_VERSION" else echo echo " You must have glib-gettextize installed to compile $PROJECT." echo " glib-gettextize is part of glib-2.0, so you should already" echo " have it. Make sure it is in your PATH." DIE=1 fi
echo -n "checking for intltool >= $INTLTOOL_REQUIRED_VERSION ... " if (intltoolize --version) < /dev/null > /dev/null 2>&1; then VER=`intltoolize --version \ | grep intltoolize | sed -n 's/.* ([0-9.]*)/\1/p'` check_version "$VER" "$INTLTOOL_REQUIRED_VERSION" else echo echo " You must have intltool installed to compile $PROJECT." echo " Get the latest version from" echo " ftp://ftp.gnome.org/pub/GNOME/sources/intltool/" DIE=1 fi
if test "$DIE" -eq 1; then echo echo "Please install/upgrade the missing tools and call me again." echo exit 1 fi
test $TEST_TYPE $FILE || { echo echo "You must run this script in the top-level $PROJECT directory." echo exit 1 }
if test -z "$ACLOCAL_FLAGS"; then
acdir=`$ACLOCAL --print-ac-dir` m4list="glib-2.0.m4 glib-gettext.m4 gtk-2.0.m4 intltool.m4 pkg.m4"
for file in $m4list do if [ ! -f "$acdir/$file" ]; then echo echo "WARNING: aclocal's directory is $acdir, but..." echo " no file $acdir/$file" echo " You may see fatal macro warnings below." echo " If these files are installed in /some/dir, set the ACLOCAL_FLAGS " echo " environment variable to "-I /some/dir", or install" echo " $acdir/$file." echo fi done fi
echo ""
attempt_command 'underquoted definition of|[)#]Extending' \ $ACLOCAL $ACLOCAL_FLAGS
# optionally feature autoheader (autoheader --version) < /dev/null > /dev/null 2>&1 && { attempt_command '' autoheader }
attempt_command '' $AUTOMAKE --copy --force --add-missing attempt_command '' autoconf attempt_command '^(Please add the files| codeset| progtest|from the|or directly|You will also|ftp://ftp.gnu.org|$)' \ glib-gettextize --copy --force attempt_command '' intltoolize --copy --force --automake
echo "" echo "Done! Please run './configure' now."
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
On 21/11/09 17:23, Wolf Drechsel wrote:
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.
Sorry, I made a mistake - you are correct, it belongs in the inkscape root directory of the unpacked sources.
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
Your $PATH here is wrong.
I assume you copied that from the Wiki page where it is quoted in the instructions to install a second MacPorts tree (i.e. when configuring, building and installing 'MacPorts-1.x.x'), but *only* for that.
Afterwards you *need* to have '/opt/local/bin' (or wherever your current MacPorts tree is installed for the native build) as the first directory of your path, otherwise you can't configure and build inkscape using the dependencies and buildtools installed in MacPorts. Usually a correct installation of MacPorts either takes care of that by adding it to your '~/.profile' or by informing you that you have to update your $PATH and $MANPATH settings in your shell startup file (be it '~/.profile' or '~/.bash_profile').
Can you open a new terminal window, type 'env' and paste the output into your next reply?
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.
I guess that's because the shell script inherits the wrong $PATH if you explicitly restrict it before running osx-build.sh.
Note: you need the other explicit environment settings *only* if you try to use 'autogen.sh' and 'configure' directly instead of using the osx-build script (which sets those variables for you). i.e. no need to set them separately if you plan to use the packaging scripts ;-)
- 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.
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?
A correct installation of MacPorts takes care of that - there's no need to add additional subdirectories of '/opt/local' to your $PATH - see above.
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…
I just tried that again with the new 0.47 source package and it ran autogen.sh and configure without errors. (Haven't yet run './osx-build.sh b' to build it).
~suv
On 21/11/09 18:00, ~suv wrote:
On 21/11/09 17:23, Wolf Drechsel wrote:
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.
Sorry, I made a mistake - you are correct, it belongs in the inkscape root directory of the unpacked sources.
Puzzled by the seemingly missing 'autogen.sh' I went searching for answers and discovered another mistake I made... *blush* Looking at the autogen.sh file itself rather than patching it reveals:
(...) # If you are compiling from a released tarball you don't need these # tools and you shouldn't use this script. Just call ./configure # directly. (...)
To test this I repeated the now abbreviated 'configure' from before: In a newly unpacked 0.47 source directory:
$ cd packaging/macosx $ cp -p osx-build.sh osx-build.sh.orig $ vim osx-build.sh # setting prefix for MacPorts $ ./osx-build.sh c
and it ran through without errors, returning this configuration:
Configuration:
Source code location: . Destination path prefix: /Volumes/blue/src/Inkscape/0_47/inkscape-0.47/packaging/macosx/../../Build Compiler: g++ CPPFLAGS: -Wall -Wformat -Wformat-security -W -D_FORTIFY_SOURCE=2 -I/Volumes/blue/mp/include CXXFLAGS: -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -O3 -Wall CFLAGS: -Wno-pointer-sign -O3 -Wall LDFLAGS: -L/Volumes/blue/mp/lib Use Xft font database: yes Use gnome-vfs: yes Use openoffice files: yes Use MMX optimizations: no Use relocation support: no Internal Python: skipped Internal Perl: skipped Enable LittleCms: yes Enable Poppler-Cairo: yes ImageMagick Magick++: yes Libwpg: yes
so you don't need 'autogen.sh' when building from a dist tar file, I didn't know that. But this is the reason why it isn't included (and wasn't in the earlier prerelease source tarballs nor in the 0.46 release source tarball).
~suv (feeling bad :( because my instructions again turned out to be wrong)
# If you are compiling from a released tarball you don't need these # tools and you shouldn't use this script. Just call ./configure # directly. (...)
To test this I repeated the now abbreviated 'configure' from before: In a newly unpacked 0.47 source directory:
$ cd packaging/macosx $ cp -p osx-build.sh osx-build.sh.orig $ vim osx-build.sh # setting prefix for MacPorts $ ./osx-build.sh c
o.k. - here we go. I didnt do something else - just unpacked the tarball and threw it onto the desktop.
Than:
$ cd packaging/macosx $ cp -p osx-build.sh osx-build.sh.orig $ vim osx-build.sh # setting prefix for MacPorts
Hm. I found this in the instructions:
# CONFFLAGS="--enable-osxapp" # comment out line 24 But what else? - Sorry - "setting prefix for MacPorts" is far beyond my levels…
$ ./osx-build.sh c
o.k. - tried that, came out with:
Configuration:
Source code location: . Destination path prefix: /Users/bub/Desktop/inkscape-0.47/
packaging/macosx/../../Build Compiler: ccache g++ CPPFLAGS: -Wall -Wformat -Wformat-security - W -D_FORTIFY_SOURCE=2 -I/opt/local/include CXXFLAGS: -Wpointer-arith -Wcast-align - Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter - O3 -Wall CFLAGS: -Wno-pointer-sign -O3 -Wall LDFLAGS: -L/opt/local/lib
Use Xft font database: yes Use gnome-vfs: yes Use openoffice files: yes Use MMX optimizations: no Use relocation support: no Internal Python: skipped Internal Perl: skipped Enable LittleCms: yes Enable Poppler-Cairo: yes ImageMagick Magick++: no Libwpg: yes
head: ../../.svn/entries: No such file or directory
I guess the last linie is about the thing with macports prefix?
And now - how do I go on?
Greetings,
Wolf
PS.: Please dont care about some errata - they are the machines, not us… ((-; I'm extremely gradeful you are spending such a lot of time on my strange stuff…
On 22/11/09 17:10, Wolf Drechsel wrote:
o.k. - here we go. I didnt do something else - just unpacked the tarball and threw it onto the desktop.
Than:
$ cd packaging/macosx $ cp -p osx-build.sh osx-build.sh.orig $ vim osx-build.sh # setting prefix for MacPorts
Hm. I found this in the instructions:
# CONFFLAGS="--enable-osxapp" # comment out line 24 But what else? - Sorry - "setting prefix for MacPorts" is far beyond my levels…
[ 'setting prefix for MacPorts' - I added that to note that my MacPorts installation isn't in the default location '/opt/local' but in '/Volumes/blue/mp', you can see a different path when comparing my configuration to yours. ]
Basically it is the point where you make any necessary changes to 'osx-build.sh' ('vim' is a command line editor, you probably prefer to use textedit with 'open -a textedit osx-build.sh'), be it to set the correct path to your MacPorts tree or to change configuration options (like disabling 'osxapp' by removing '--enable-osxapp').
I never built a native version without X11 - do you have a separate MacPorts tree where you built all the inkscape dependencies without X11 and using Quartz? Or do you have just the one MacPorts version in /opt/local' without any X11 dependencies? (I read your message [1] on the X11-users list, and am wondering if you mixed both variants in the same tree - AFAIK that's not recommended).
If you use a different MacPorts tree to build the Aqua version, just edit 'LIBPREFIX' on line 26 of 'osx-build.sh' to use a different path. On the wiki page describing your first build experience in September you mention '/opt/local-native' - this is what needs to be set as LIBPREFIX if it is where the dependencies of inkscape are installed as native versions without X11 (all the gtk, glib, pango, cairo, fontconfig stuff...)
$ ./osx-build.sh c
o.k. - tried that, came out with:
Configuration:
Source code location: . Destination path prefix: /Users/bub/Desktop/inkscape-0.47/packaging/macosx/../../Build Compiler: ccache g++ CPPFLAGS: -Wall -Wformat -Wformat-security -W -D_FORTIFY_SOURCE=2 -I/opt/local/include CXXFLAGS: -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -O3 -Wall CFLAGS: -Wno-pointer-sign -O3 -Wall LDFLAGS: -L/opt/local/lib Use Xft font database: yes Use gnome-vfs: yes Use openoffice files: yes Use MMX optimizations: no Use relocation support: no Internal Python: skipped Internal Perl: skipped Enable LittleCms: yes Enable Poppler-Cairo: yes ImageMagick Magick++: no Libwpg: yes
head: ../../.svn/entries: No such file or directory
looks ok to me (if '/opt/local' is what you need for the Aqua version). Else - change 'LIBPREFIX' and rerun './osx-build.sh c'
I guess the last linie is about the thing with macports prefix?
I get the line about the svn entries too, but I think that's because it still tries to retrieve the SVN revision number and fails because it isn't a checkout from the repositories but a release tarball (no revision number is added to the version string).
And now - how do I go on?
the next step: building inkscape with
$ ./osx-build.sh b
and if this succeeds, installing it locally with
$ ./osx-build.sh i
and it should be ready to be used.
~suv
[1] Inkscape 0.46 crash with 'FcStrListCreate'
That crash looks like a known issue to me - I can search the bug number if needed, the fix could be necessary on two levels. first try this: 1) clear the user font cache (rm ~/.fontconfig/*) 2) restart Inkscape if that doesn't fix it, you have to edit the font configuration file inside the 0.46 app bundle, I'll post a follow-up with instructions and the link to the corresponding bug report.
On 22/11/09 17:58, ~suv wrote:
[1] Inkscape 0.46 crash with 'FcStrListCreate'
That crash looks like a known issue to me - I can search the bug number if needed, the fix could be necessary on two levels. first try this: 1) clear the user font cache (rm ~/.fontconfig/*) 2) restart Inkscape if that doesn't fix it, you have to edit the font configuration file inside the 0.46 app bundle, I'll post a follow-up with instructions and the link to the corresponding bug report.
A) conflict with Macports
Bug #400165 “Binary Inkscape dist crashes when MacPorts is installed”: https://bugs.launchpad.net/inkscape/+bug/400165
Issue: incompatible fontcaches in '/opt/local/var/cache/fontconfig' - a conflict between the bundled fontconfig libraries in Inkscape 0.46 and recently installed MacPorts fontconfig versions.
Fix: modify the Inkscape 0.46 bundle from sf.net: edit the font configuration file 'Inkscape.app/Contents/Resources/etc/fonts/fonts.conf' to remove the following line: <cachedir>/opt/local/var/cache/fontconfig</cachedir>
Note: The same conflicts happens with Inkscape 0.46-3 Tiger on OS X 10.4.11 if fontconfig is installed via MacPorts (see bug #183322 comments 7-14). Modifying 'fonts.conf' as described in comment 4 fixes the issue. https://bugs.launchpad.net/inkscape/+bug/183322 comments #7-14
B) conflict with newer Xquartz
Bug #415900 “0.46 not starting on MacOSX 10.5.8 X11 2.4.0”: https://bugs.launchpad.net/inkscape/+bug/415900
Issue: same conflict as in bug #400165, but seems to happen after installing an upgraded version of X11/Xquartz that also includes newer versions of fontconfig.
Fix: clear the user font cache rm ~/.fontconfig/* and restart Inkscape 0.46, be patient because it can take a while until the fontcaches are re-created.
hth, ~suv
Hi ~suv,
thanks for your hints. Sorry - but the remedy doesnt cure… I did both (remove ~/.fontconfig and remove "<cachedir>fontconfig</ cachedir>" in the fonts.conf - neither makes it work.
NB.: I'm talking about the precompiled inkscape 0.46 on a macports- X11-environment.
This is crashreporter:
Host Name: Martins-G4 Date/Time: 2009-11-23 15:29:30.350 +0100 OS Version: 10.4.11 (Build 8S165) Report Version: 4
Command: inkscape-bin Path: /Applications/Inkscape.app/Contents/Resources/bin/inkscape-bin Parent: Inkscape [6553]
Version: 0.46 (0.46)
PID: 6554 Thread: 0
Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0x8a514900
Thread 0 Crashed: 0 libfontconfig.1.dylib 0x01f7e248 FcStrListCreate + 56 1 libfontconfig.1.dylib 0x01f74d20 FcLangSetHasLang + 368 2 libfontconfig.1.dylib 0x01f76a88 FcFontList + 968 3 libfontconfig.1.dylib 0x01f76ee0 FcFontList + 2080 4 libfontconfig.1.dylib 0x01f771f8 FcFontList + 2872 5 libfontconfig.1.dylib 0x01f77a7c FcFontSetSort + 412 6 libfontconfig.1.dylib 0x01f77f9c FcFontSort + 140 7 libpangoft2-1.0.0.dylib 0x01cda6dc _pango_fc_font_map_remove + 2236 8 libpango-1.0.0.dylib 0x01d0ebb8 pango_context_get_gravity_hint + 3672 9 libpango-1.0.0.dylib 0x01d0f2b0 pango_itemize_with_base_dir + 304 10 libpango-1.0.0.dylib 0x01d18f60 pango_layout_iter_get_char_extents + 2208 11 libpango-1.0.0.dylib 0x01d19dfc pango_layout_iter_get_char_extents + 5948 12 libgtk-x11-2.0.0.dylib 0x01844010 gtk_cell_renderer_text_new + 1232 13 libgtk-x11-2.0.0.dylib 0x018462bc gtk_cell_view_get_type + 2412 14 libgobject-2.0.0.dylib 0x01d49224 g_closure_invoke + 372 15 libgobject-2.0.0.dylib 0x01d5dabc g_signal_init + 4620 16 libgobject-2.0.0.dylib 0x01d5f44c g_signal_emit_valist + 2012 17 libgobject-2.0.0.dylib 0x01d62fac g_signal_emit_by_name + 460 18 libgtk-x11-2.0.0.dylib 0x0199d1a8 _gtk_size_group_compute_requisition + 104 19 libgtk-x11-2.0.0.dylib 0x0186d46c gtk_combo_box_set_focus_on_click + 396 20 libgtk-x11-2.0.0.dylib 0x0186e270 gtk_combo_box_get_active_iter + 1600 21 libgobject-2.0.0.dylib 0x01d49224 g_closure_invoke + 372 22 libgobject-2.0.0.dylib 0x01d5dee0 g_signal_init + 5680 23 libgobject-2.0.0.dylib 0x01d5f44c g_signal_emit_valist + 2012 24 libgobject-2.0.0.dylib 0x01d5f8f0 g_signal_emit + 48 25 libgtk-x11-2.0.0.dylib 0x0191a1b4 gtk_list_store_insert + 404 26 libgtkmm-2.4.1.dylib 0x00b5cfc8 Gtk::ListStore::append() + 56 27 inkscape-bin 0x0024cd5c 0x1000 + 2407772 28 inkscape-bin 0x0024d124 0x1000 + 2408740 29 inkscape-bin 0x0024d458 0x1000 + 2409560 30 inkscape-bin 0x0024db48 0x1000 + 2411336 31 inkscape-bin 0x002463e4 0x1000 + 2380772 32 inkscape-bin 0x0000d140 0x1000 + 49472 33 inkscape-bin 0x0000ddf0 0x1000 + 52720 34 inkscape-bin 0x00004d70 0x1000 + 15728 35 inkscape-bin 0x000043ec 0x1000 + 13292 36 inkscape-bin 0x000028dc 0x1000 + 6364 37 inkscape-bin 0x000025e0 0x1000 + 5600
Thread 0 crashed with PPC Thread State 64: srr0: 0x0000000001f7e248 srr1: 0x000000000200f930 vrsave: 0x0000000000000000 cr: 0x22284224 xer: 0x0000000000000000 lr: 0x0000000001f7e240 ctr: 0x0000000001f74140 r0: 0x0000000000000000 r1: 0x00000000bfffd710 r2: 0x0000000000000000 r3: 0x000000000000000e r4: 0x0000000000000008 r5: 0x000000000390c5c8 r6: 0x0000000000000000 r7: 0x0000000000000001 r8: 0x0000000000000001 r9: 0x00000000000000ab r10: 0x0000000003b016bd r11: 0x0000000001f90524 r12: 0x0000000000000008 r13: 0x0000000003bd8f10 r14: 0x00000000bfffdb88 r15: 0x0000000000000000 r16: 0x0000000001f978f8 r17: 0x0000000001f910ac r18: 0x00000000bfffdb88 r19: 0x0000000003ab54d0 r20: 0x0000000003b97004 r21: 0x000000000390c5c8 r22: 0x0000000003ab54b8 r23: 0x000000000390c5e0 r24: 0x0000000000000001 r25: 0x0000000000000023 r26: 0x0000000000000024 r27: 0x0000000000000024 r28: 0x0000000000000001 r29: 0x000000008a514900 r30: 0x0000000003ab5e80 r31: 0x0000000001f74bc4
Binary Images Description: 0x1000 - 0x721fff inkscape-bin /Applications/Inkscape.app/ Contents/Resources/bin/inkscape-bin 0x961000 - 0x985fff libgdkmm-2.4.1.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libgdkmm-2.4.1.dylib 0x9b9000 - 0x9ccfff libpangomm-1.4.1.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libpangomm-1.4.1.dylib 0x9ed000 - 0x9f3fff libpangocairo-1.0.0.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libpangocairo-1.0.0.dylib 0x9f8000 - 0x9f9fff libgmodule-2.0.0.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libgmodule-2.0.0.dylib 0x9fc000 - 0x9fdfff libXrandr.2.dylib /usr/X11R6/lib/libXrandr. 2.dylib 0xb05000 - 0xc7afff libgtkmm-2.4.1.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libgtkmm-2.4.1.dylib 0xedc000 - 0xf04fff libatkmm-1.6.1.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libatkmm-1.6.1.dylib 0xf31000 - 0xf40fff libcairomm-1.0.1.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libcairomm-1.0.1.dylib 0xf52000 - 0xf83fff libglibmm-2.4.1.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libglibmm-2.4.1.dylib 0xfbf000 - 0xfd5fff libatk-1.0.0.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libatk-1.0.0.dylib 0xfdf000 - 0xfe4fff libSM.6.dylib /usr/X11R6/lib/libSM.6.dylib 0xfe8000 - 0xff7fff libICE.6.dylib /usr/X11R6/lib/libICE.6.dylib 0x1808000 - 0x1b83fff libgtk-x11-2.0.0.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libgtk-x11-2.0.0.dylib 0x1bf5000 - 0x1c80fff libgdk-x11-2.0.0.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libgdk-x11-2.0.0.dylib 0x1c9a000 - 0x1ccefff libgdk_pixbuf-2.0.0.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libgdk_pixbuf-2.0.0.dylib 0x1cd7000 - 0x1cfafff libpangoft2-1.0.0.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libpangoft2-1.0.0.dylib 0x1d02000 - 0x1d37fff libpango-1.0.0.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libpango-1.0.0.dylib 0x1d44000 - 0x1d82fff libgobject-2.0.0.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libgobject-2.0.0.dylib 0x1d8d000 - 0x1dbcfff libxslt.1.dylib /Applications/Inkscape.app/ Contents/Resources/lib/libxslt.1.dylib 0x1dc5000 - 0x1ed8fff libxml2.2.dylib /Applications/Inkscape.app/ Contents/Resources/lib/libxml2.2.dylib 0x1eff000 - 0x1f56fff libcairo.2.dylib /Applications/Inkscape.app/ Contents/Resources/lib/libcairo.2.dylib 0x1f66000 - 0x1f8ffff libfontconfig.1.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libfontconfig.1.dylib 0x1f99000 - 0x1fb7fff libexpat.1.dylib /Applications/Inkscape.app/ Contents/Resources/lib/libexpat.1.dylib 0x1fbd000 - 0x1fcdfff libz.1.dylib /Applications/Inkscape.app/ Contents/Resources/lib/libz.1.dylib 0x1fd1000 - 0x203cfff libfreetype.6.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libfreetype.6.dylib 0x2048000 - 0x204efff libXrender.1.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libXrender.1.dylib 0x2052000 - 0x2070fff libpixman-1.0.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libpixman-1.0.dylib 0x2075000 - 0x2078fff libsigc-2.0.0.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libsigc-2.0.0.dylib 0x207d000 - 0x207ffff libgthread-2.0.0.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libgthread-2.0.0.dylib 0x2082000 - 0x2161fff libglib-2.0.0.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libglib-2.0.0.dylib 0x2178000 - 0x2180fff libintl.8.dylib /Applications/Inkscape.app/ Contents/Resources/lib/libintl.8.dylib 0x2185000 - 0x227efff libiconv.2.dylib /Applications/Inkscape.app/ Contents/Resources/lib/libiconv.2.dylib 0x2282000 - 0x22a0fff libpng12.0.dylib /Applications/Inkscape.app/ Contents/Resources/lib/libpng12.0.dylib 0x22a7000 - 0x22adfff libpopt.0.dylib /Applications/Inkscape.app/ Contents/Resources/lib/libpopt.0.dylib 0x22b1000 - 0x22bffff libXft.2.dylib /Applications/Inkscape.app/ Contents/Resources/lib/libXft.2.dylib 0x22c5000 - 0x22defff libgc.1.dylib /Applications/Inkscape.app/ Contents/Resources/lib/libgc.1.dylib 0x22fb000 - 0x2325fff liblcms.1.dylib /Applications/Inkscape.app/ Contents/Resources/lib/liblcms.1.dylib 0x2330000 - 0x2463fff libpoppler.3.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libpoppler.3.dylib 0x2500000 - 0x251cfff libpoppler-glib.3.dylib /Applications/ Inkscape.app/Contents/Resources/lib/libpoppler-glib.3.dylib 0x2530000 - 0x257cfff libtiff.3.dylib /Applications/Inkscape.app/ Contents/Resources/lib/libtiff.3.dylib 0x2583000 - 0x25a1fff libjpeg.62.dylib /Applications/Inkscape.app/ Contents/Resources/lib/libjpeg.62.dylib 0x25a6000 - 0x25a7fff libXinerama.1.dylib /usr/X11R6/lib/ libXinerama.1.dylib 0x25aa000 - 0x25b6fff libXext.6.dylib /usr/X11R6/lib/libXext.6.dylib 0x27c6000 - 0x27dcfff libclearlooks.so /Applications/Inkscape.app/ Contents/Resources/lib/gtk-2.0/2.10.0/engines/libclearlooks.so 0x27e3000 - 0x27ebfff libpixmap.so /Applications/Inkscape.app/ Contents/Resources/lib/gtk-2.0/2.10.0/engines/libpixmap.so 0x8fe00000 - 0x8fe52fff dyld 46.16 /usr/lib/dyld 0x90000000 - 0x901bcfff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x90214000 - 0x90219fff libmathCommon.A.dylib /usr/lib/system/ libmathCommon.A.dylib 0x9021b000 - 0x90268fff com.apple.CoreText 1.0.4 (???) /System/ Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreText.framework/Versions/A/CoreText 0x90293000 - 0x90344fff ATS /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/ Versions/A/ATS 0x90373000 - 0x9072efff com.apple.CoreGraphics 1.258.85 (???) /System/ Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x907bb000 - 0x90895fff com.apple.CoreFoundation 6.4.11 (368.35) / System/Library/Frameworks/CoreFoundation.framework/Versions/A/ CoreFoundation 0x908de000 - 0x908defff com.apple.CoreServices 10.4 (???) /System/ Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x908e0000 - 0x909e2fff libicucore.A.dylib /usr/lib/libicucore.A.dylib 0x90a3c000 - 0x90ac0fff libobjc.A.dylib /usr/lib/libobjc.A.dylib 0x90aea000 - 0x90b5cfff IOKit /System/Library/Frameworks/ IOKit.framework/Versions/A/IOKit 0x90b72000 - 0x90b84fff libauto.dylib /usr/lib/libauto.dylib 0x90b8b000 - 0x90e62fff com.apple.CoreServices.CarbonCore 681.19 (681.21) /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x90ec8000 - 0x90f48fff com.apple.CoreServices.OSServices 4.1 /System/ Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ OSServices.framework/Versions/A/OSServices 0x90f92000 - 0x90fd4fff com.apple.CFNetwork 129.24 /System/Library/ Frameworks/CoreServices.framework/Versions/A/Frameworks/ CFNetwork.framework/Versions/A/CFNetwork 0x90fe9000 - 0x91001fff com.apple.WebServices 1.1.2 (1.1.0) /System/ Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ WebServicesCore.framework/Versions/A/WebServicesCore 0x91011000 - 0x91092fff com.apple.SearchKit 1.0.8 /System/Library/ Frameworks/CoreServices.framework/Versions/A/Frameworks/ SearchKit.framework/Versions/A/SearchKit 0x910d8000 - 0x91101fff com.apple.Metadata 10.4.4 (121.36) /System/ Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ Metadata.framework/Versions/A/Metadata 0x91123000 - 0x912defff com.apple.security 4.6 (29770) /System/ Library/Frameworks/Security.framework/Versions/A/Security 0x913dd000 - 0x913e6fff com.apple.DiskArbitration 2.1.2 /System/ Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x913ed000 - 0x913f5fff libbsm.dylib /usr/lib/libbsm.dylib 0x913f9000 - 0x91421fff com.apple.SystemConfiguration 1.8.3 /System/ Library/Frameworks/SystemConfiguration.framework/Versions/A/ SystemConfiguration 0x91434000 - 0x9143ffff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib 0x91444000 - 0x914bffff com.apple.audio.CoreAudio 3.0.5 /System/ Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x914fc000 - 0x914fcfff com.apple.ApplicationServices 10.4 (???) / System/Library/Frameworks/ApplicationServices.framework/Versions/A/ ApplicationServices 0x914fe000 - 0x91536fff com.apple.AE 312.2 /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/AE.framework/ Versions/A/AE 0x91551000 - 0x91623fff com.apple.ColorSync 4.4.13 /System/Library/ Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync 0x91676000 - 0x91707fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore 0x9174e000 - 0x91805fff com.apple.QD 3.10.28 (???) /System/Library/ Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD 0x91842000 - 0x918a0fff com.apple.HIServices 1.5.3 (???) /System/ Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/HIServices.framework/Versions/A/HIServices 0x918cf000 - 0x918f0fff com.apple.LangAnalysis 1.6.1 /System/Library/ Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis 0x91904000 - 0x91929fff com.apple.FindByContent 1.5 /System/Library/ Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent 0x9193c000 - 0x9197efff com.apple.LaunchServices 183.1 /System/ Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/LaunchServices.framework/Versions/A/LaunchServices 0x9199a000 - 0x919aefff com.apple.speech.synthesis.framework 3.3 / System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x919bc000 - 0x91a02fff com.apple.ImageIO.framework 1.5.9 /System/ Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/ImageIO.framework/Versions/A/ImageIO 0x91a19000 - 0x91ae0fff libcrypto.0.9.7.dylib /usr/lib/libcrypto. 0.9.7.dylib 0x91b2e000 - 0x91b43fff libcups.2.dylib /usr/lib/libcups.2.dylib 0x91b48000 - 0x91b66fff libJPEG.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libJPEG.dylib 0x91b6c000 - 0x91c23fff libJP2.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libJP2.dylib 0x91c72000 - 0x91c76fff libGIF.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libGIF.dylib 0x91c78000 - 0x91ce2fff libRaw.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libRaw.dylib 0x91ce7000 - 0x91d02fff libPng.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libPng.dylib 0x91d07000 - 0x91d0afff libRadiance.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libRadiance.dylib 0x91e19000 - 0x91e57fff libTIFF.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libTIFF.dylib 0x91e5e000 - 0x91e5efff com.apple.Accelerate 1.2.2 (Accelerate 1.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/ Accelerate 0x91e60000 - 0x91f45fff com.apple.vImage 2.4 /System/Library/ Frameworks/Accelerate.framework/Versions/A/Frameworks/ vImage.framework/Versions/A/vImage 0x91f4d000 - 0x91f6cfff com.apple.Accelerate.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/ Frameworks/vecLib.framework/Versions/A/vecLib 0x91fd8000 - 0x92046fff libvMisc.dylib /System/Library/Frameworks/ Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/ A/libvMisc.dylib 0x92051000 - 0x920e6fff libvDSP.dylib /System/Library/Frameworks/ Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/ A/libvDSP.dylib 0x92100000 - 0x92688fff libBLAS.dylib /System/Library/Frameworks/ Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/ A/libBLAS.dylib 0x926bb000 - 0x929e6fff libLAPACK.dylib /System/Library/Frameworks/ Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/ A/libLAPACK.dylib 0x92b07000 - 0x92b8ffff com.apple.DesktopServices 1.3.7 /System/ Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/ DesktopServicesPriv 0x92bd0000 - 0x92e03fff com.apple.Foundation 6.4.12 (567.42) /System/ Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x92fd7000 - 0x92fd7fff com.apple.Carbon 10.4 (???) /System/Library/ Frameworks/Carbon.framework/Versions/A/Carbon 0x92fd9000 - 0x92fedfff com.apple.ImageCapture 3.0 /System/Library/ Frameworks/Carbon.framework/Versions/A/Frameworks/ ImageCapture.framework/Versions/A/ImageCapture 0x93005000 - 0x93015fff com.apple.speech.recognition.framework 3.4 / System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ SpeechRecognition.framework/Versions/A/SpeechRecognition 0x93021000 - 0x93036fff com.apple.securityhi 2.0 (203) /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ SecurityHI.framework/Versions/A/SecurityHI 0x93048000 - 0x930cffff com.apple.ink.framework 101.2 (69) /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ Ink.framework/Versions/A/Ink 0x930e3000 - 0x930eefff com.apple.help 1.0.3 (32) /System/Library/ Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/ Versions/A/Help 0x930f8000 - 0x93126fff com.apple.openscripting 1.2.7 (???) /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ OpenScripting.framework/Versions/A/OpenScripting 0x93140000 - 0x9314ffff com.apple.print.framework.Print 5.2 (192.4) / System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ Print.framework/Versions/A/Print 0x9315b000 - 0x931c1fff com.apple.htmlrendering 1.1.2 /System/Library/ Frameworks/Carbon.framework/Versions/A/Frameworks/ HTMLRendering.framework/Versions/A/HTMLRendering 0x931f2000 - 0x93241fff com.apple.NavigationServices 3.4.4 (3.4.3) / System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ NavigationServices.framework/Versions/A/NavigationServices 0x9326f000 - 0x9328cfff com.apple.audio.SoundManager 3.9 /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ CarbonSound.framework/Versions/A/CarbonSound 0x9329e000 - 0x932abfff com.apple.CommonPanels 1.2.2 (73) /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ CommonPanels.framework/Versions/A/CommonPanels 0x932b4000 - 0x935c2fff com.apple.HIToolbox 1.4.10 (???) /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ HIToolbox.framework/Versions/A/HIToolbox 0x94c3d000 - 0x94caefff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib 0x975fa000 - 0x976c2fff libX11.6.dylib /usr/X11R6/lib/libX11.6.dylib
++++++++++++++++++++++++++++++++++++++++++++++++++++
Greetings,
Wolf
[1] Inkscape 0.46 crash with 'FcStrListCreate'
That crash looks like a known issue to me - I can search the bug number if needed, the fix could be necessary on two levels. first try this: 1) clear the user font cache (rm ~/.fontconfig/*) 2) restart Inkscape if that doesn't fix it, you have to edit the font
configuration file inside the 0.46 app bundle, I'll post a follow-up with instructions and the link to the corresponding bug report.
A) conflict with Macports
Bug #400165 “Binary Inkscape dist crashes when MacPorts is installed”: https://bugs.launchpad.net/inkscape/+bug/400165
Issue: incompatible fontcaches in '/opt/local/var/cache/fontconfig'
- a
conflict between the bundled fontconfig libraries in Inkscape 0.46 and recently installed MacPorts fontconfig versions.
Fix: modify the Inkscape 0.46 bundle from sf.net: edit the font configuration file 'Inkscape.app/Contents/Resources/etc/fonts/fonts.conf' to remove the following line: <cachedir>/opt/local/var/cache/fontconfig</cachedir>
Note: The same conflicts happens with Inkscape 0.46-3 Tiger on OS X 10.4.11 if fontconfig is installed via MacPorts (see bug #183322 comments 7-14). Modifying 'fonts.conf' as described in comment 4 fixes the issue. https://bugs.launchpad.net/inkscape/+bug/183322 comments #7-14
B) conflict with newer Xquartz
Bug #415900 “0.46 not starting on MacOSX 10.5.8 X11 2.4.0”: https://bugs.launchpad.net/inkscape/+bug/415900
Issue: same conflict as in bug #400165, but seems to happen after installing an upgraded version of X11/Xquartz that also includes newer versions of fontconfig.
Fix: clear the user font cache rm ~/.fontconfig/* and restart Inkscape 0.46, be patient because it can take a while until the fontcaches are re-created.
hth, ~suv
++++++++++++++++++++++++++++++++++++++++++++++++++++ + Wolf Drechsel + Köhnstr. 54 + D - 90478 Nürnberg + Tel.: 0911 / 4 71 98 49 + drechsel@...2249... ++++++++++++++++++++++++++++++++++++++++++++++++++++
On 23/11/09 15:34, Wolf Drechsel wrote:
thanks for your hints. Sorry - but the remedy doesnt cure…
I don't understand why it didn't work for you. Your crash report is *identical* to the point with the one attached in bug #183322 comment #7 that was fixed by editing 'Contents/Resources/etc/fonts/fonts.conf' of the precompiled 0.46-3 Inkscape package from sf.net.
I did both (remove ~/.fontconfig and remove "<cachedir>fontconfig</cachedir>" in the fonts.conf - neither makes it work.
NB.: I'm talking about the precompiled inkscape 0.46 on a macports-X11-environment.
1) basic checks: (sorry if I am asking again, but it's unclear from your answer what exactly you did remove and what stayed)
- the folder '~/.fontconfig/' itself still exists? (Inkscape.app doesn't create it itself, it has to exist before you launch Inkscape)
- you only removed the one line from 'fonts.conf' as described: <cachedir>/opt/local/var/cache/fontconfig</cachedir> but left the second one intact <cachedir>~/.fontconfig</cachedir> (the second one needs to stay in 'fonts.conf' of Inkscape 0.46)
- any new fonts installed (on the OS X side, not X11) since the last successful launch of Inkscape 0.46?
2) "the precompiled inkscape 0.46 on a macports-X11-environment"
a) Could you please confirm that your attached crash report happened with Inkscape 0.46-3 Tiger when using the original X11/XFree86 1.1.3 supplied by Apple? I am reading the crash report that it happened using the old X11 version installed (in '/usr/X11R6/').
b) precompiled Inkscape 0.46-3 on OS X Tiger with an updated X11/Xquartz installation via MacPorts - I haven't heard from other users trying this setup on Tiger. And it is beyond what I could support due to lack of access to and experience with Tiger installations. Some comments nevertheless:
- Which version of X11/Xquartz gets installed on Tiger via MacPorts? Does it already include and use the new launching mechanism of 'launchd' to automatically start X11 when demanded by another app?
- If Xquartz on Tiger uses 'launchd' like on Leopard, you will have to work on the launcher script bundled with Inkscape 0.46-3 Tiger, because AFAIU the bundled script ('Contents(Resources/script') will still try to launch the old X11 binary, relying on the old $DISPLAY scheme.
~suv
- basic checks: (sorry if I am asking again, but it's unclear from
your answer what exactly you did remove and what stayed)
- the folder '~/.fontconfig/' itself still exists? (Inkscape.app
doesn't create it itself, it has to exist before you launch Inkscape)
- you only removed the one line from 'fonts.conf' as described: <cachedir>/opt/local/var/cache/fontconfig</cachedir>
but left the second one intact <cachedir>~/.fontconfig</cachedir> (the second one needs to stay in 'fonts.conf' of Inkscape 0.46)
o.k. - I made a mistake here.
- any new fonts installed (on the OS X side, not X11) since the last
successful launch of Inkscape 0.46?
Nope.
- "the precompiled inkscape 0.46 on a macports-X11-environment"
a) Could you please confirm that your attached crash report happened with Inkscape 0.46-3 Tiger when using the original X11/XFree86 1.1.3 supplied by Apple? I am reading the crash report that it happened using the old X11 version installed (in '/usr/X11R6/').
Right - we are coming to the point…
Sorry, I sent my initial message to the apple X11 list - and said there, that I tried the most recent X11org, compiled via macports. So what I tried is NOT to use the X11.app delivered by apple.
b) precompiled Inkscape 0.46-3 on OS X Tiger with an updated X11/ Xquartz installation via MacPorts - I haven't heard from other users trying this setup on Tiger. And it is beyond what I could support due to lack of access to and experience with Tiger installations. Some comments nevertheless:
- Which version of X11/Xquartz gets installed on Tiger via MacPorts?
2.0
Does it already include and use the new launching mechanism of 'launchd' to automatically start X11 when demanded by another app?
I have no idea…
- If Xquartz on Tiger uses 'launchd' like on Leopard, you will have to
work on the launcher script bundled with Inkscape 0.46-3 Tiger, because AFAIU the bundled script ('Contents(Resources/script') will still try to launch the old X11 binary, relying on the old $DISPLAY scheme.
Wow - this looks quite complicated. Well, as the original X11 package by apple works fairly well, I'd rather like to focus on getting forward with inkscape aqua. Hopefully this will not change when 0.47 X11 for Mac is out…
Thanks a lot
Wolf
participants (2)
-
Wolf Drechsel
-
~suv