Follow the manual or the README as how to build the bootloader. On Sun, 22 Mar 2009 23:35:40 +0000, Francesco Anselmo <[email protected]> wrote: > Hi all, > > I have used pyinstaller successfully in the past on various Linux > flavours, but this time I need to build a command line application for > the Mac. > To get started, I have tried to compile a simple "Hello World" type > Python script, but I get a bunch of errors: > > Leviathan:hello francescoanselmo$ ~/Documents/Programming/Python/ > pyinstaller/pyinstaller/Makespec.py -D -F hello.py > wrote /Users/francescoanselmo/Documents/Programming/Python/hello/ > hello.spec > now run Build.py to build the executable > Leviathan:hello francescoanselmo$ ~/Documents/Programming/Python/ > pyinstaller/pyinstaller/Build.py hello.spec checking Analysis > building Analysis because outAnalysis0.toc non existent > running Analysis outAnalysis0.toc > Analyzing: /Users/francescoanselmo/Documents/Programming/Python/ > pyinstaller/pyinstaller/support/_mountzlib.py > Analyzing: /Users/francescoanselmo/Documents/Programming/Python/ > pyinstaller/pyinstaller/support/useUnicode.py > Analyzing: hello.py > Warnings written to /Users/francescoanselmo/Documents/Programming/ > Python/hello/warnhello.txt > checking PYZ > rebuilding outPYZ1.toc because outPYZ1.pyz is missing > building PYZ outPYZ1.toc > checking PKG > rebuilding outPKG3.toc because outPKG3.pkg is missing > building PKG outPKG3.pkg > checking EXE > rebuilding outEXE2.toc because hello missing > building EXE from outEXE2.toc > Traceback (most recent call last): > File "/Users/francescoanselmo/Documents/Programming/Python/ > pyinstaller/pyinstaller/Build.py", line 1052, in <module> > main(args[0], configfilename=opts.configfile) > File "/Users/francescoanselmo/Documents/Programming/Python/ > pyinstaller/pyinstaller/Build.py", line 1040, in main > build(specfile) > File "/Users/francescoanselmo/Documents/Programming/Python/ > pyinstaller/pyinstaller/Build.py", line 1003, in build > execfile(spec) > File "hello.spec", line 14, in <module> > console=1 ) > File "/Users/francescoanselmo/Documents/Programming/Python/ > pyinstaller/pyinstaller/Build.py", line 639, in __init__ > self.__postinit__() > File "/Users/francescoanselmo/Documents/Programming/Python/ > pyinstaller/pyinstaller/Build.py", line 186, in __postinit__ > self.assemble() > File "/Users/francescoanselmo/Documents/Programming/Python/ > pyinstaller/pyinstaller/Build.py", line 723, in assemble > exe = checkCache(exe, self.strip, self.upx and config['hasUPX']) > File "/Users/francescoanselmo/Documents/Programming/Python/ > pyinstaller/pyinstaller/Build.py", line 490, in checkCache > shutil.copy2(fnm, cachedfile) > File "/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/ > python2.5/shutil.py", line 91, in copy2 > copyfile(src, dst) > File "/Library/Frameworks/Python.framework/Versions/2.5.2001/lib/ > python2.5/shutil.py", line 46, in copyfile > fsrc = open(src, 'rb') > IOError: [Errno 2] No such file or directory: '/Users/francescoanselmo/ > Documents/Programming/Python/pyinstaller/pyinstaller/support/loader/run' > > The warning file shows this: > > W: no module named org (top-level import by copy) > W: no module named _emx_link (conditional import by os) > W: no module named AES (delayed, conditional import by archive) > W: delayed __import__ hack detected at line 0 - encodings (/Library/ > Frameworks/Python.framework/Versions/Current/lib/python2.5/encodings/ > __init__.pyc) > W: delayed eval hack detected at line 0 - os (/Library/Frameworks/ > Python.framework/Versions/Current/lib/python2.5/os.pyc) > W: delayed conditional exec statement detected at line 0 - iu (/Users/ > francescoanselmo/Documents/Programming/Python/pyinstaller/pyinstaller/ > iu.pyc) > W: delayed conditional exec statement detected at line 0 - iu (/Users/ > francescoanselmo/Documents/Programming/Python/pyinstaller/pyinstaller/ > iu.pyc) > > I have downloaded the latest source from the CVS. > > Any clue? > > Thanks in advance for the help, and thanks for maintaining pyinstaller! > > Ciao, > > Francesco > > -- Giovanni Bajo Develer S.r.l. http://www.develer.com
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
