I'm trying to make an app on a MB Pro with Snow Leopard(10.6.7) - and keep getting this error:

    "New Mach-O header is too large to relocate"

A quick search found a suggestion about how to fix this:

http://www.danplanet.com/home/82-codemonkeying/88-using-py2app-with-gtk

basically, in this file:

/opt/local/share/macports/Tcl/port1.0/portconfigure.tcl

change this line:

default configure.ldflags   {-L${prefix}/lib}

to:

default configure.ldflags {"-L${prefix}/lib -Xlinker -headerpad_max_install_names"}

and reinstall all macports packages.

While this fix has allowed the build process to get further along, it still ends up failing with the same error eventually.

Any advice greatly appreciated.



_______________________________________________
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