> I got the option working (I know you might not be so fond of an extra
> option) and bumped into the next problem. However, it looks like I'm
> pretty close to get it working.

Hmm, the problem is that Python 2.2 (or at least my installation) does
not have the 'platform' module. So trying to import it in function
'_bootloader_file' in 'Build.py' fails. Then the code resorts to using
'os.name' which returns 'posix' which cannot really be used to find
the name of the bootloader.

Using a call to 'uname -a' fixed it, so now I can package an
application on my AIX 5.2 box.

But... (there is always a next problem) ...the libpython2.2.a is a
static library!

  -bash-3.00$ dist/test/test
  Error loading Python lib 'dist/test/
libpython2.2.a(libpython2.2.so)':
  0509-026 System error: Cannot run a file that does not have a valid
format.
        0509-022 Cannot load module dist/test/
libpython2.2.a(libpython2.2.so).
        0509-152   Member libpython2.2.so is not found in archive

Inspecting the library reveals it has _no_ '.so' members (shared
objects) but only '.o' members.

So I guess to make it work, I need to brush off the static linking
code I wrote some time ago.

I think I will call it the day for now, and have a look at it after
the weekend.

/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.

Reply via email to