I just spent a week setting up a build environment on a clean install of OS X 
10.7.3.  My goal was to do a consistent install that avoids the use of package 
managers like MacPorts and HomeBrew, since they are suspected of causing issues 
with pyinstaller.  There are now Lion-compatible binary installs available for 
the basic stuff: python 2.7.2, numpy 1.6.1, scipy 0.10.1, and matplotlib 1.1.0.

That's a huge improvement over what I struggled through back when Lion was 
still in beta.  As a new installation, the first version of Xcode installed was 
the current one, 4.3.1 which presents some twists.  Support for gcc-4.2 has 
been dropped, and Xcode is now packaged as an app instead of installing as 
/Developer/bin.

Libsamplerate 0.1.8 had to be built from source, but didn't cause any issues; 
pyinstaller needed altgraph-0.9 and modulegraph 0.9, which both built from 
source without issues.  Libsndfile was a nightmare.  Everything else together 
required just a few, but libsndfile has a long list of dependencies and 
requires a lot of specific tools that aren't found on OS X.  Builds are not 
tested at all on OS X, so a successful build depends on making OS X look like a 
Unix system. 

In the end I couldn't get it to work, and the developer couldn't help because 
he doesn't use OS X.  I ended up using MacPorts to install libsndfile and 
portmidi, and pip to install scikits.samplerate and scikits.audiolab.  
Pyportmidi installed using the standard python setup.py install. 

At least  python and Tcl/Tk are installed in Library/Frameworks as pyinstaller 
seems to expect.  However, when I run pyinstaller I still get exactly the same 
error.  I'll start working my way through the build shortly.

Lynn

On Mar 19, 2012, at 1:36 PM, Martin Zibricky wrote:

> Lynn Oliver píše v Pá 16. 03. 2012 v 16:34 -0700 
>>      * Why does pyinstaller insist on going
>>        to /system/library/frameworks... (the apple build) when the
>>        correct files should come from /library/frameworks (user
>>        build)?
> 
> Probably because the frozen executable can't load included Tcl and Tk
> binaries and is thus looking for files in system location.
> 
> 
> Could you put together a minimum example I could test?
> 
> How could I recreate your homebrew environment for testing?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "PyInstaller" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/pyinstaller?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to