> > Seems like this line: > > > 525 for (nm, fnm, typ) in binaries: > > 526 for name in names: > > --> 527 if typ == 'BINARY' and name in fnm: > > 528 # lib found > > 529 return > > > is not valid Python 2.2 code. If PyInstaller is still supposed to > > support Python 2.2, maybe this should be fixed? > > Yes, that should be fixed for 1.5.2.
Working on it. I tried to change the offending line to: if typ == 'BINARY' and fnm.find(name) != -1: and that removed the problem. However, PyInstaller cannot find the Python library as the 'python' exe is maybe statically linked. Therefore, 'ldd' does not give information about the Python lib, and on this machine, the lib was in an entirely different position: /usr/local/lib/python2.2/config/libpython2.2.a I'm working on adding an additional parameter to Build.py to specify a custom search path for the Python lib. /Martin -- 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.
