In article <2d0381b9-3b50-4804-9b2f-741855236...@gmail.com>,
 David Smith <drsmit...@gmail.com> wrote:

> Hi Ronald,
> 
> To recap, my recent roadblocks were with current macport versions of python 
> 2.7, wxpython 2.9.4, and py2app 0.7.3 on OS X 10.8.  The first problem 
> occurred when building the standalone app with py2app.  The error seemed to 
> arise from py2app or macholib: "Mach-O header is too large to relocate".  
> Following your helpful suggestions at bitbucket, I increased the file depth 
> of the macports installation, and decreased the app's build directory file 
> depth (see link below).  With those changes, the app built without error.  
> The app executed on OS X 10.8, but generated a memory address error on OS X 
> 10.6 during wxpython initiation (another link below).  I did not discover a 
> solution for the memory error.
> 
> The solution to the problems above was removing macports and building the 
> python stack from binary installers (python 2.7, numpy, scipy, matplotlib, 
> wxpython).  Now everything works - the app builds cleanly and executes on OS 
> X 10.8 and 10.6.  I'm not sure why the macport versions don't work together, 
> but I'm happy to have a working solution.

It seems likely that the macports packages were built with an SDK that 
is not compatible with MacOS X 10.6. Your solution of using python.org 
python and binary installers is what I recommend for distributing 
software that has to run on older machines. (Though there may be some 
way of making macports build backwards-compatible packages).

-- Russell

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to