Yeah, that's basically what I meant that while commenting/removing the X11 stuff I inadvertedly removed some lines that handles the libs stuff.
On Fri, Jan 16, 2009 at 5:07 PM, Jamie Kimberley <jamie.kimberley@...1884...>wrote:
Not sure if this is the right way to do it as it is a bit brute force, but you can change the location that inkscape looks for the libs using install_name_tool.
for example it is looking for the cairo lib in your macports install location, the following command will change the location to the Resources/lib/ directory in the .app bundle.
install_name_tool -change /opt/local/lib/libcairomm-1.0.1.dylib @executable_path/../Resources/lib/libcairomm-1.0.1.dylib Inkscape
presumably you could write a script to handle this, but it seems like this issue should already be handled as the the process of bundling and linking the libs is used for the x11 based distributions.
Jamie
"It is a mistake to think you can solve any major problems with just potatoes."--Douglas Adams __________________ Jamie Kimberley Postdoctoral Fellow Department of Mechanical Engineering The Johns Hopkins University Office: 410.516.5162 Mobile: 217.621.8272 Fax: 410.516.4316 E-Mail:jamie.kimberley@...1884... <E-Mail%3Ajamie.kimberley@...1884...>
On Fri, 16 Jan 2009, step21 wrote:
mmmh, all libs are there i think but maybe this was handled in the
launcher or something and I missed it ... could reproduce the error though, when I move my macports dir. sorry, I should have tested against this again after such changes, I will look into this tonight.
On Fri, Jan 16, 2009 at 4:21 PM, Jamie Kimberley <jamie.kimberley@...1884...
wrote:
I get a crash directly on launch.
here is the output: Process: Inkscape [382] Path: /Users/jkimber2/Desktop/Inkscape.app/Contents/MacOS/Inkscape Identifier: org.inkscape.Inkscape Version: ??? (???) Code Type: X86 (Native) Parent Process: launchd [71]
Date/Time: 2009-01-16 10:11:03.343 -0500 OS Version: Mac OS X 10.5.6 (9G55) Report Version: 6
Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000002, 0x0000000000000000 Crashed Thread: 0
Dyld Error Message: Library not loaded: /opt/local/lib/libgiomm-2.4.1.dylib Referenced from: /Users/jkimber2/Desktop/Inkscape.app/Contents/MacOS/Inkscape Reason: image not found
I then ran otool -L and saw that this executable is looking for several macports dylibs (/opt/local/lib/...), so it seems that things haven't been packaged quite right.
Thanks for your efforts, Jamie
"It is a mistake to think you can solve any major problems with just potatoes."--Douglas Adams __________________ Jamie Kimberley Postdoctoral Fellow Department of Mechanical Engineering The Johns Hopkins University Office: 410.516.5162 Mobile: 217.621.8272 Fax: 410.516.4316 E-Mail:jamie.kimberley@...1884... <E-Mail%3Ajamie.kimberley@...1884...> < E-Mail%3Ajamie.kimberley@...1884... <E-Mail%253Ajamie.kimberley@...1884...>>
On Fri, 16 Jan 2009, step21 wrote:
Hey, my newest build is now available here:
http://rapidshare.com/files/184307760/Inkscape.dmg It's bigger than the previous ones cause this time I included all the python stuff. I also ditched the launcher. Because the launcher install script also compiled/installed the clearlooks theme, the theme is not included for now. But this should be easy to re-add. I'm not really sure if this fixes anything, but I'd like everyone who can to try it, and maybe post the error logs. Thanks.