Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Freezing python files into executables

Reply
Thread Tools

Freezing python files into executables

 
 
Girish Venkatasubramanian
Guest
Posts: n/a
 
      11-03-2009
Hello,
I have been using freeze.py on 32 bit linux distributions without a
problem. But recently I tried to do the same on RHEL5 x86_64 and ran
into some issues.

1) When I ran the script, I got
Error: needed directory /usr/lib/python2.4/config not found

2) Then I "yum install python-devel" which installed python-devel.i386
and python-devel.x86_64. Then when I tried freezing, it worked but
make barfed up a bunch of errors during ld like

/usr/bin/ld: warning: i386 architecture of input file
`/usr/lib/python2.4/config/libpython2.4.a(rangeobject.o)' is
incompatible with i38686-64 output

and

/usr/lib/python2.4/config/libpython2.4.a(posixmodule.o): In function
`posix_getcwd':
(.text+0x53a1): undefined reference to `PyEval_RestoreThread'

3) I tried uninstalling python-devel.i386 (retaining only the x86_64)
and freeze fails with the same error message as in 1

Any help with this is greatly appreciated.
Thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Freezing python files into executables Girish Venkatasubramanian Python 2 11-06-2009 01:54 AM
Re: Freezing python files into executables Rami Chowdhury Python 0 11-03-2009 08:31 PM
Converting IFMapper into Win32 executables Arnel Ruby 1 10-28-2006 04:03 AM
Re: Python executables David Scott Williams Python 1 07-05-2003 07:51 AM
Python executables? Catalin Python 6 07-03-2003 06:41 AM



Advertisments