Hello, all,

I am attempting to compile Keryx (keryxproject.org) into a single-file
Linux binary. I am using Python 2.5 on Ubuntu Karmic. Here are the
steps I take:

"""
mac9...@mac9416-laptop:~/trunk$ python2.5 Makespec.py --onefile --upx
/home/mac9416/unstable/keryx.py
wrote /home/mac9416/trunk/keryx/keryx.spec
now run Build.py to build the executable
mac9...@mac9416-laptop:~/trunk$ python2.5 Build.py keryx/keryx.spec
checking Analysis
building Analysis because outAnalysis0.toc non existent
running Analysis outAnalysis0.toc
Analyzing: support/_mountzlib.py
Analyzing: support/useUnicode.py
Analyzing: /home/mac9416/unstable/keryx.py
Warnings written to keryx/warnkeryx.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 keryx missing
building EXE from outEXE2.toc
Appending archive to EXE keryx/dist/keryx
mac9...@mac9416-laptop:~/trunk$
"""

warnkeryx.txt is attached.

The binary runs flawlessly on every Karmic machine I have tested on
and fails on every Jaunty machine with the following errors:

"""
mac9...@mac9416-desktop:/media/XXX/keryx$ ./keryx
Traceback (most recent call last):
 File "<string>", line 110, in <module>
 File "/home/mac9416/trunk/iu.py", line 439, in importHook
 File "/home/mac9416/trunk/iu.py", line 524, in doimport
 File "/home/mac9416/unstable/lib/wxkeryx/__init__.py", line 19, in <module>
 File "/home/mac9416/trunk/iu.py", line 439, in importHook
 File "/home/mac9416/trunk/iu.py", line 524, in doimport
 File "keryx/build/pyi.linux2/keryx/outPYZ1.pyz/wx", line 45, in <module>
 File "/home/mac9416/trunk/iu.py", line 439, in importHook
 File "/home/mac9416/trunk/iu.py", line 524, in doimport
 File "keryx/build/pyi.linux2/keryx/outPYZ1.pyz/wx._core", line 4, in <module>
 File "/home/mac9416/trunk/iu.py", line 439, in importHook
 File "/home/mac9416/trunk/iu.py", line 498, in doimport
 File "/home/mac9416/trunk/iu.py", line 300, in getmod
 File "/home/mac9416/trunk/archive.py", line 468, in getmod
 File "/home/mac9416/trunk/iu.py", line 109, in getmod
ImportError: /tmp/_MEImVoGGp/libglib-2.0.so.0: symbol __abort_msg,
version GLIBC_PRIVATE not defined in file libc.so.6 with link time
reference
"""

Thank you for any help.
-mac

--

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.


W: no module named _subprocess (conditional import by subprocess)
W: no module named _sha (delayed, conditional import by hashlib)
W: no module named email.Utils (top-level import by smtplib)
W: no module named win32evtlog (delayed import by logging.handlers)
W: no module named org (top-level import by pickle)
W: no module named msvcrt (delayed import by getpass)
W: no module named email.Iterators (delayed import by email.message)
W: no module named msvcrt (conditional import by getpass)
W: no module named email.Utils (delayed import by logging.handlers)
W: no module named MacOS (delayed import by platform)
W: no module named _sha256 (delayed, conditional import by hashlib)
W: no module named win32con (delayed import by platform)
W: no module named AES (delayed, conditional import by archive)
W: no module named EasyDialogs (conditional import by getpass)
W: no module named gestalt (delayed import by platform)
W: no module named org (top-level import by copy)
W: no module named _md5 (delayed, conditional import by hashlib)
W: no module named win32api (delayed import by platform)
W: no module named msvcrt (conditional import by subprocess)
W: no module named email.base64MIME (top-level import by smtplib)
W: no module named email.Utils (delayed import by urllib)
W: no module named java (delayed import by platform)
W: no module named win32evtlogutil (delayed import by logging.handlers)
W: no module named ic (delayed import by urllib)
W: no module named win32pipe (delayed, conditional import by platform)
W: no module named ic (top-level import by webbrowser)
W: no module named _emx_link (conditional import by os)
W: no module named win32file (delayed, conditional import by lib)
W: no module named rourl2path (conditional import by urllib)
W: no module named vms_lib (delayed, conditional import by platform)
W: no module named _sha512 (delayed, conditional import by hashlib)
W: no module named SOCKS (top-level import by ftplib)
W: no module named _winreg (delayed import by urllib)
W: no module named email.Generator (delayed import by email.message)
W: no module named Carbon (conditional import by tempfile)
W: __all__ is built strangely at line 0 - wx.lib.delayedresult 
(/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/lib/delayedresult.pyc)
W: delayed  exec statement detected at line 0 - bdb (/usr/lib/python2.5/bdb.pyc)
W: delayed  eval hack detected at line 0 - bdb (/usr/lib/python2.5/bdb.pyc)
W: delayed  eval hack detected at line 0 - bdb (/usr/lib/python2.5/bdb.pyc)
W: delayed  __import__ hack detected at line 0 - optparse 
(/usr/lib/python2.5/optparse.pyc)
W: delayed conditional __import__ hack detected at line 0 - doctest 
(/usr/lib/python2.5/doctest.pyc)
W: delayed  exec statement detected at line 0 - doctest 
(/usr/lib/python2.5/doctest.pyc)
W: __all__ is built strangely at line 0 - tokenize 
(/usr/lib/python2.5/tokenize.pyc)
W: delayed  __import__ hack detected at line 0 - pickle 
(/usr/lib/python2.5/pickle.pyc)
W: delayed  __import__ hack detected at line 0 - pickle 
(/usr/lib/python2.5/pickle.pyc)
W: delayed conditional eval hack detected at line 0 - gopherlib 
(/usr/lib/python2.5/gopherlib.pyc)
W: delayed  __import__ hack detected at line 0 - encodings 
(/usr/lib/python2.5/encodings/__init__.pyc)
W: __all__ is built strangely at line 0 - dis (/usr/lib/python2.5/dis.pyc)
W: top-level  exec statement detected at line 0 - hashlib 
(/usr/lib/python2.5/hashlib.pyc)
W: top-level conditional exec statement detected at line 0 - hashlib 
(/usr/lib/python2.5/hashlib.pyc)
W: delayed  __import__ hack detected at line 0 - lib.plugins 
(/home/mac9416/unstable/lib/plugins.pyc)
W: delayed conditional eval hack detected at line 0 - warnings 
(/usr/lib/python2.5/warnings.pyc)
W: delayed conditional __import__ hack detected at line 0 - warnings 
(/usr/lib/python2.5/warnings.pyc)
W: delayed  __import__ hack detected at line 0 - email 
(/usr/lib/python2.5/email/__init__.pyc)
W: __all__ is built strangely at line 0 - wx 
(/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/__init__.pyc)
W: __all__ is built strangely at line 0 - wx 
(/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/__init__.pyc)
W: delayed  exec statement detected at line 0 - pdb (/usr/lib/python2.5/pdb.pyc)
W: delayed conditional eval hack detected at line 0 - pdb 
(/usr/lib/python2.5/pdb.pyc)
W: delayed  eval hack detected at line 0 - pdb (/usr/lib/python2.5/pdb.pyc)
W: delayed conditional eval hack detected at line 0 - pdb 
(/usr/lib/python2.5/pdb.pyc)
W: delayed  eval hack detected at line 0 - pdb (/usr/lib/python2.5/pdb.pyc)
W: delayed conditional __import__ hack detected at line 0 - unittest 
(/usr/lib/python2.5/unittest.pyc)
W: delayed conditional __import__ hack detected at line 0 - unittest 
(/usr/lib/python2.5/unittest.pyc)
W: delayed conditional exec statement detected at line 0 - iu 
(/home/mac9416/trunk/iu.pyc)
W: delayed conditional exec statement detected at line 0 - iu 
(/home/mac9416/trunk/iu.pyc)
W: delayed  exec statement detected at line 0 - socket 
(/usr/lib/python2.5/socket.pyc)
W: delayed  eval hack detected at line 0 - os (/usr/lib/python2.5/os.pyc)
W: __all__ is built strangely at line 0 - __future__ 
(/usr/lib/python2.5/__future__.pyc)
W: delayed  eval hack detected at line 0 - gettext 
(/usr/lib/python2.5/gettext.pyc)

Reply via email to