i tried in the cx_freeze github issue tracker (and here once earlier)
but got no replies about this, anyway andrew suggested i give it one
more try here as there may be more eyes on this mailing list than the
git tracker, if anyone has any ideas that might help, please suggest.
cx_freeze works as expected on linux and windows for this same codebase,
but on osx i get the issues i describe below. i really need to know how
can i get some meaningful errors from the non-building app on osx so i
can proceed.
I'm not looking for a solution on a silver platter here, just a clue on
how i can get more info to debug this issue so i can find a solution
myself would be marvelous...
hi there, i'm trying to use cx_freeze to bundle a python 3.6.1 gui app
on osx 10.10.5 but encountering some problems i'm at a loss how to
troubleshoot.
build and build_exe work fine, however, when i run with bdist_mac i get
the following:
build
... runs fine
build_exe
... runs fine
then i get output as follow:
create_plist()
setRelativeReferencePaths()
@loader_path/.dylibs/liblcms2.2.dylib
setRelativeReferencePaths()
then a whole series of errors like this (one for each library file):
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool:
input file:
build/ImageCat.app/Contents/MacOS/lib/python3.6/collections/init.pyc is
not a Mach-O file
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool:
input file:
build/ImageCat.app/Contents/MacOS/lib/python3.6/collections/abc.pyc is
not a Mach-O file
[...]
then:
error: can't copy '@loader_path/.dylibs/liblcms2.2.dylib': doesn't exist
or not a regular file
after all this there is no dist folder created (or nothing in it if
already there).
in the build folder there is a bundled .app created, however if i try to
run this it just flashes up in the dock for a second and then aborts.
however, if i navigate inside the created app bundle to the MacOS folder
and run the executable there it runs as expected!!
so, my questions are:
how can i get the bdist_mac to complete?
why does the bundled app instantly abort while the executable runs properly?
how can i debug what's happening when the bundled app fails to run properly?
thanks a bunch for any help.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users