[Pyinstaller] #145: PyInstaller's executable doesn't work on another computer.

48 views
Skip to first unread message

PyInstaller Ticket

unread,
Jan 19, 2010, 4:28:55 AM1/19/10
to dcar...@gmail.com, PyIns...@googlegroups.com
#145: PyInstaller's executable doesn't work on another computer.
--------------------------------+-------------------------------------------
Reporter: dcarrera@… | Owner: williamcaban
Type: defect | Status: new
Priority: high | Milestone:
Component: Documentation | Version:
Severity: blocker | Keywords:
--------------------------------+-------------------------------------------
I have Ubuntu Karmic Koala. I installed PyInstaller from trunk 20 minutes
ago. I tried to follow the instructions in the manual exactly. PyInstaller
produced an one-file executable for my program and that executable runs
fine on my computer.

Then I tested the file on my wife's computer, running Mandriva 2010, and
it failed. I'm attaching the output to stderr to this ticket. Basically,
it looks like PyInstaller has a bunch of hard-coded paths in the
executable, and of course none of these work on a different computer.

--
Ticket URL: <http://www.pyinstaller.org/ticket/145>
Pyinstaller <http://www.pyinstaller.org>
PyInstaller Project

PyInstaller Ticket

unread,
Jan 22, 2010, 9:06:40 AM1/22/10
to PyIns...@googlegroups.com
#145: PyInstaller's executable doesn't work on another computer.
--------------------------------+-------------------------------------------
Reporter: dcarrera@… | Owner: giovannibajo

Type: defect | Status: new
Priority: high | Milestone:
Component: PyInstaller | Version:
Severity: blocker | Keywords:
--------------------------------+-------------------------------------------
Changes (by openticket):

* owner: williamcaban => giovannibajo
* component: Documentation => PyInstaller


--
Ticket URL: <http://www.pyinstaller.org/ticket/145#comment:1>

PyInstaller Ticket

unread,
Jan 22, 2010, 12:35:07 PM1/22/10
to PyIns...@googlegroups.com
#145: PyInstaller's executable doesn't work on another computer.
--------------------------------+-------------------------------------------
Reporter: dcarrera@… | Owner: giovannibajo

Type: defect | Status: new
Priority: high | Milestone:
Component: PyInstaller | Version:
Severity: blocker | Keywords:
--------------------------------+-------------------------------------------

Comment(by giovannibajo):

The problem is that the bootloader binary made in Karmic is not binary
compatible with Mandriva 2010.

This problem will be solved in the future, by using LSB. I believe it
should be quite easy: changing gcc to lsbcc in the Makefile and maybe
adding -lsb-use-default-linker.

Meanwhile, your best bet is to run the "Make.py + make" step on a very old
distribution, then get the generated executables (support/loader/run and
run_d) and copy them over your Karmic. If the distro you choose is old
enough, it should work.

--
Ticket URL: <http://www.pyinstaller.org/ticket/145#comment:2>

Reply all
Reply to author
Forward
0 new messages