[Pythonmac-SIG] [ANN] py2app 0.3.2

Kaweh Kazemi kaweh.kazemi at chello.at
Fri Jul 21 03:23:07 CEST 2006


hi,

using py2app 0.3.2 i encountered following problem.


WARNING: Mach-O header may be too large to relocate
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/py2app-0.3.2-py2.4.egg/py2app/build_app.py",  
line 548, in _run
     self.run_normal()
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/py2app-0.3.2-py2.4.egg/py2app/build_app.py",  
line 619, in run_normal
     self.create_binaries(py_files, pkgdirs, extensions, loader_files)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/py2app-0.3.2-py2.4.egg/py2app/build_app.py",  
line 732, in create_binaries
     platfiles = mm.run()
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/macholib-1.1-py2.4.egg/macholib/ 
MachOStandalone.py", line 135, in run
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/macholib-1.1-py2.4.egg/macholib/MachO.py",  
line 111, in write
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/macholib-1.1-py2.4.egg/macholib/MachO.py",  
line 302, in write
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/macholib-1.1-py2.4.egg/macholib/MachO.py",  
line 292, in synchronize_size
ValueError: New Mach-O header is too large to relocate
 > /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ 
site-packages/macholib-1.1-py2.4.egg/macholib/MachO.py(292) 
synchronize_size()


i'm trying to include a custom made library into my application. i'm  
not assuming that py2app (or macholib) is the problem here, but the  
library, though i was hoping that this error-message could give  
someone a clue where i could look to solve my problem.

any hints are much appreciated.

thanks,
kaweh



More information about the Pythonmac-SIG mailing list