hello
im currently installed cx_freeze on linux.
and want to make win32 exe file on linux by use cx_freeze.
and then will distribute on widows platform.
one of my problem is ,i can build with no problem.
but whenever i run,it something weird error message was show.
follow is my log file.
anybody can help me ? thanks in advance
in addition if i use cx_freeze command option with 'install_exe', can i make win32 executable file?
root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple# more setup.py
# A very simple setup script to create a single executable
#
# hello.py is a very simple "Hello, world" type script which also displays the
# environment in which the script runs
#
# Run the build process by running the command 'python setup.py build'
#
# If everything works well you should find a subdirectory in the build
# subdirectory that contains the files needed to run the script without Python
from cx_Freeze import setup, Executable
setup(
name = "hello",
version = "0.1",
description = "Sample cx_Freeze script",
executables = [Executable("hello.py")])
root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple# ls
hello.py setup.py
root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple# python setup.py install_exe
running install_exe
running build_exe
creating directory build/exe.linux-i686-2.5
coyping /usr/lib/python2.5/site-packages/cx_Freeze/bases/Console -> build/exe.linux-i686-2.5/hello
coyping /usr/lib/libpython2.5.so.1.0 -> build/exe.linux-i686-2.5/libpython2.5.so.1.0
writing zip file build/exe.linux-i686-2.5/library.zip
m encodings.cp037
중간생략
copying build/exe.linux-i686-2.5/_multibytecodec.so -> /usr/lib/hello-0.1
copying build/exe.linux-i686-2.5/bz2.so -> /usr/lib/hello-0.1
copying build/exe.linux-i686-2.5/_codecs_kr.so -> /usr/lib/hello-0.1
copying build/exe.linux-i686-2.5/_codecs_cn.so -> /usr/lib/hello-0.1
root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple# ls
build hello.py setup.py
root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple# cd build/
root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple/build# ls
exe.linux-i686-2.5
root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple/build# cd exe.linux-i686-2.5/
root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple/build/exe.linux-i686-2.5#ls
_codecs_cn.so _codecs_kr.so array.so hello unicodedata.so
_codecs_hk.so _codecs_tw.so binascii.so itertools.so zlib.so
_codecs_iso2022.so _multibytecodec.so bz2.so libpython2.5.so.1.0
_codecs_jp.so _struct.so cStringIO.so library.zip
root@bt:/usr/lib/python2.5/site-packages/cx_Freeze-4.1/samples/simple/build/exe.linux-i686-2.5#hello
Hello from cx_Freeze
Executable: '/usr/bin/hello'
Prefix: '/'
File system encoding: 'ANSI_X3.4-1968'
ARGUMENTS:
hello
PATH:
/usr/bin/../lib/hello-0.1/hello
/usr/bin/../lib/hello-0.1
/usr/bin/../lib/hello-0.1/hello.zip
/usr/bin/../lib/hello-0.1/library.zip