![](https://secure.gravatar.com/avatar/789edbb3a9b9f3f13815d199bfa4c81b.jpg?s=120&d=mm&r=g)
On 7/4/10 21:16, Lloyd Sargent wrote:
Stuart Edwards <sedwards2@...360...> writes:
Tried to package the Intel Aqua build and ran into the following which raises a couple of points:
Looking for dependencies. Round 1 Looking for dependencies. Round 2 Looking for dependencies. Round 3 Could not rewrite dylb paths for bundled libraries. This requires Macports to be installed in a PREFIX of at least 50 characters in length.
The package will still work if the following line is uncommented in Inkscape.app/Contents/Resources/bin/inkscape: export DYLD_LIBRARY_PATH="$TOP/lib"
Application bundle creation failed
There appears to be a bug in osx-app.sh... on line 469 replace:
if [ "$PATHLENGTH" -ge "50" ]; then
with
if [ "$PATHLENGHT" -le "50" ]; then
the -ge meant GREATER OR EQUAL when it should have been LESS OR EQUAL. A great big oops.
No, the script is correct: you can't use rewritelibpaths() if the LIBPREFIX path is not long enough.
If you did install MacPorts with the default prefix '/opt/local' you have to uncomment the line with DYLD_LIBRARY_PATH to get a working Inkscape.app.
~suv
references: http://article.gmane.org/gmane.comp.graphics.inkscape.devel/31325 http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/annotate/head%3A/pa...