Hi Nick,

On 2010/09/07, at 08:39, Nick Taylor wrote:

> Hi.
> 
> I'm trying to build PySide 0.4.1 on OS X for eventual packaging and 
> distribution in an .app bundle.

An .app bundle? Not sure that's the best approach to follow.

> 
> I have the Qt libraries installed on the system and I'm trying to build 
> PySide into a specified directory so I can gather up the libraries at the 
> end. I've done this using
> 
> cmake -DCMAKE_INSTALL_PREFIX={install_dir} CMakeLists.txt
> 
> then `make` `make install`. This seems to work fine for the API Extractor and 
> Generator Runner, but `make`ing the Shiboken Generator fails with 
> 
> dyld: Library not loaded: libgenrunner.0.6.dylib
> Referenced from: {install_dir}/bin/generatorrunner
> Reason: image not found
> 
> A post on this list from Renato Araujo Oliveira Filho on August 5 suggests 
> exporting DYLD_LIBRARY_PATH. I'm not entirely sure what this means - I have 
> an environment variable called DYLD_LIBRARY_PATH set to {install_dir} but 
> that hasn't helped.

Yes, you need to export DYLD_LIBRARY_PATH to the install directory, but aren't 
you missing a '$' before {install_dir}? Please refer to 
http://www.cgoncalves.info/trash/pyside/macosx/createpackage to check how I'm 
building and packaging PySide.

And since you are compiling PySide on Mac OS X, patch it in advance with 
http://qt.gitorious.org/pyside/pyside/merge_requests/253 (not merged into 
mainline yet).

Carlos Gonçalves

_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to