Freezing under linux

Has anyone had success in freezing apps under linux. I've been trying
cx_freeze but it keeps having problems finding wxwindows. I've been
trying advice found on many sites.

Most people reccomend (on the net) McMillains installer but the link to
it is faulty.

With 2.5 not being backwards compatable I thought it would be a good
idea to freeze my older projects before I upgrade.

  Thanks

Mike Wagman wrote:

Has anyone had success in freezing apps under linux.

Yup, being doing it for yonks. One of the issues to watch out
for is that the wxPython libraries have their locations hard
coded (aka RPATH). I run chrpath to remove that.

If you want to see how to do the building, here is a project
that does it (including building rpms). The actual code
is in makedist.py for the freezing.

It is also discussed at
http://wiki.wxpython.org/index.cgi/CreatingStandaloneExecutables

Roger

I've gotten help from one person - who upon further looking can't figure
out what is going wrong. I'm currently assuming it's an issue with where
my linux distro puts the files (I run mandrake). So I was wondering if
anyone has had success freezing python apps and what linux distro have
and have not worked.
  Thanks
  Mike

···

On Sun, 2004-04-11 at 13:56, Mike Wagman wrote:

Has anyone had success in freezing apps under linux. I've been trying
cx_freeze but it keeps having problems finding wxwindows. I've been
trying advice found on many sites.

Most people reccomend (on the net) McMillains installer but the link to
it is faulty.

With 2.5 not being backwards compatable I thought it would be a good
idea to freeze my older projects before I upgrade.

  Thanks
  
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

I have successfully frozen python applications using wxPython 2.4.2.4 on
Linux with cx_Freeze -- the distributions involved are RedHat 7.x, 8.x,
9 and Fedora Core 1. I just downloaded wxPython 2.5.1.5 and discovered
that the assumptions cx_Freeze was making are not compatible with the
method used to build wxPython 2.5.1.5. Since I am the author of
cx_Freeze I have made the necessary changes and will release a new
version in a few weeks -- I have a number of other enhancements I would
like to add but I could be persuaded to release a new version with the
wxPython specific fix included sooner. :slight_smile: You always have the choice of
manually copying the files, of course, since the basic freezing does not
change... :slight_smile:

BTW, as Roger Binns has noted, the chrpath utility is required to remove
the RPATH hardcoding that wxPython builds contain. At that point you
need to set LD_LIBRARY_PATH but I would suggest you look at the Wiki
that Roger pointed you to as it tells you how to handle all of this
quite nicely.

···

On Mon, 2004-04-12 at 05:53, Mike Wagman wrote:

I've gotten help from one person - who upon further looking can't figure
out what is going wrong. I'm currently assuming it's an issue with where
my linux distro puts the files (I run mandrake). So I was wondering if
anyone has had success freezing python apps and what linux distro have
and have not worked.
  Thanks
  Mike

On Sun, 2004-04-11 at 13:56, Mike Wagman wrote:
> Has anyone had success in freezing apps under linux. I've been trying
> cx_freeze but it keeps having problems finding wxwindows. I've been
> trying advice found on many sites.
>
> Most people reccomend (on the net) McMillains installer but the link to
> it is faulty.
>
> With 2.5 not being backwards compatable I thought it would be a good
> idea to freeze my older projects before I upgrade.
>
> Thanks
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

--
Anthony Tuininga
anthony@computronix.com

Computronix
Distinctive Software. Real People.
Suite 200, 10216 - 124 Street NW
Edmonton, AB, Canada T5N 4A3
Phone: (780) 454-3700
Fax: (780) 454-3838