compilieren geht nicht

Wenn du dir nicht sicher bist, in welchem der anderen Foren du die Frage stellen sollst, dann bist du hier im Forum für allgemeine Fragen sicher richtig.
Antworten
Gast

Sonntag 23. Oktober 2005, 14:45

*** binary dependencies ***
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distribute them.

Make sure you have the license if you distribute any of them, and
make sure you don't distribute files belonging to the operating system.

USER32.dll - C:\WINDOWS\system32\USER32.dll
SHELL32.dll - C:\WINDOWS\system32\SHELL32.dll
MSVCRT.dll - c:\python23\MSVCRT.dll
ADVAPI32.dll - C:\WINDOWS\system32\ADVAPI32.dll
MSVCRT.dll - C:\WINDOWS\system32\MSVCRT.dll
KERNEL32.dll - C:\WINDOWS\system32\KERNEL32.dll
was kann hier tun damit ich ohne probleme kompilieren kann!
die dll dateien existieren aber! habe nachgeschaut!
Clython
User
Beiträge: 151
Registriert: Samstag 21. August 2004, 13:58
Wohnort: Schweiz, BE-2500

Sonntag 23. Oktober 2005, 14:55

Was willst du kompilieren? Womit? Du musst schon genauer sagen was du machen willst, sonst kann die hier auch keiner helfen.
Gast

Sonntag 23. Oktober 2005, 15:09

E:\BitTorrent-experimental-3.2.1b-2>c:\python23\python.exe winset
up.py py2exe
running py2exe
running build_scripts
copying and adjusting btdownloadgui.py -> build\scripts-2.3
*** searching for required modules ***
*** parsing results ***
creating python loader for extension '_sre'
creating python loader for extension 'unicodedata'
creating python loader for extension 'zlib'
*** finding dlls needed ***
*** create binaries ***
*** byte compile python files ***
byte-compiling E:\BitTorrent-experimental-3.2.1b-2\build\bdist.wi
n32\winexe\temp\_sre.py to _sre.pyc
byte-compiling E:\BitTorrent-experimental-3.2.1b-2\build\bdist.wi
n32\winexe\temp\unicodedata.py to unicodedata.pyc
byte-compiling E:\BitTorrent-experimental-3.2.1b-2\build\bdist.wi
n32\winexe\temp\zlib.py to zlib.pyc
byte-compiling c:\python23\lib\StringIO.py to StringIO.pyc
byte-compiling c:\python23\lib\UserDict.py to UserDict.pyc
byte-compiling c:\python23\lib\__future__.py to __future__.pyc
byte-compiling c:\python23\lib\atexit.py to atexit.pyc
byte-compiling c:\python23\lib\base64.py to base64.pyc
byte-compiling c:\python23\lib\codecs.py to codecs.pyc
byte-compiling c:\python23\lib\copy.py to copy.pyc
byte-compiling c:\python23\lib\copy_reg.py to copy_reg.pyc
byte-compiling c:\python23\lib\dis.py to dis.pyc
byte-compiling c:\python23\lib\encodings\__init__.py to encodings\__init__.pyc
byte-compiling c:\python23\lib\encodings\aliases.py to encodings\aliases.pyc
byte-compiling c:\python23\lib\encodings\ascii.py to encodings\ascii.pyc
byte-compiling c:\python23\lib\encodings\base64_codec.py to encodings\base64_cod
ec.pyc
byte-compiling c:\python23\lib\encodings\charmap.py to encodings\charmap.pyc
byte-compiling c:\python23\lib\encodings\cp037.py to encodings\cp037.pyc
byte-compiling c:\python23\lib\encodings\cp1006.py to encodings\cp1006.pyc
byte-compiling c:\python23\lib\encodings\cp1026.py to encodings\cp1026.pyc
byte-compiling c:\python23\lib\encodings\cp1140.py to encodings\cp1140.pyc
byte-compiling c:\python23\lib\encodings\cp1250.py to encodings\cp1250.pyc
byte-compiling c:\python23\lib\encodings\cp1251.py to encodings\cp1251.pyc
byte-compiling c:\python23\lib\encodings\cp1252.py to encodings\cp1252.pyc
byte-compiling c:\python23\lib\encodings\cp1253.py to encodings\cp1253.pyc
byte-compiling c:\python23\lib\encodings\cp1254.py to encodings\cp1254.pyc
byte-compiling c:\python23\lib\encodings\cp1255.py to encodings\cp1255.pyc
byte-compiling c:\python23\lib\encodings\cp1256.py to encodings\cp1256.pyc
byte-compiling c:\python23\lib\encodings\cp1257.py to encodings\cp1257.pyc
byte-compiling c:\python23\lib\encodings\cp1258.py to encodings\cp1258.pyc
byte-compiling c:\python23\lib\encodings\cp424.py to encodings\cp424.pyc
byte-compiling c:\python23\lib\encodings\cp437.py to encodings\cp437.pyc
byte-compiling c:\python23\lib\encodings\cp500.py to encodings\cp500.pyc
byte-compiling c:\python23\lib\encodings\cp737.py to encodings\cp737.pyc
byte-compiling c:\python23\lib\encodings\cp775.py to encodings\cp775.pyc
byte-compiling c:\python23\lib\encodings\cp850.py to encodings\cp850.pyc
byte-compiling c:\python23\lib\encodings\cp852.py to encodings\cp852.pyc
byte-compiling c:\python23\lib\encodings\cp855.py to encodings\cp855.pyc
byte-compiling c:\python23\lib\encodings\cp856.py to encodings\cp856.pyc
byte-compiling c:\python23\lib\encodings\cp857.py to encodings\cp857.pyc
byte-compiling c:\python23\lib\encodings\cp860.py to encodings\cp860.pyc
byte-compiling c:\python23\lib\encodings\cp861.py to encodings\cp861.pyc
byte-compiling c:\python23\lib\encodings\cp862.py to encodings\cp862.pyc
byte-compiling c:\python23\lib\encodings\cp863.py to encodings\cp863.pyc
byte-compiling c:\python23\lib\encodings\cp864.py to encodings\cp864.pyc
byte-compiling c:\python23\lib\encodings\cp865.py to encodings\cp865.pyc
byte-compiling c:\python23\lib\encodings\cp866.py to encodings\cp866.pyc
byte-compiling c:\python23\lib\encodings\cp869.py to encodings\cp869.pyc
byte-compiling c:\python23\lib\encodings\cp874.py to encodings\cp874.pyc
byte-compiling c:\python23\lib\encodings\cp875.py to encodings\cp875.pyc
byte-compiling c:\python23\lib\encodings\hex_codec.py to encodings\hex_codec.pyc

byte-compiling c:\python23\lib\encodings\idna.py to encodings\idna.pyc
byte-compiling c:\python23\lib\encodings\iso8859_1.py to encodings\iso8859_1.pyc

byte-compiling c:\python23\lib\encodings\iso8859_10.py to encodings\iso8859_10.p
yc
byte-compiling c:\python23\lib\encodings\iso8859_13.py to encodings\iso8859_13.p
yc
byte-compiling c:\python23\lib\encodings\iso8859_14.py to encodings\iso8859_14.p
yc
byte-compiling c:\python23\lib\encodings\iso8859_15.py to encodings\iso8859_15.p
yc
byte-compiling c:\python23\lib\encodings\iso8859_2.py to encodings\iso8859_2.pyc

byte-compiling c:\python23\lib\encodings\iso8859_3.py to encodings\iso8859_3.pyc

byte-compiling c:\python23\lib\encodings\iso8859_4.py to encodings\iso8859_4.pyc

byte-compiling c:\python23\lib\encodings\iso8859_5.py to encodings\iso8859_5.pyc

byte-compiling c:\python23\lib\encodings\iso8859_6.py to encodings\iso8859_6.pyc

byte-compiling c:\python23\lib\encodings\iso8859_7.py to encodings\iso8859_7.pyc

byte-compiling c:\python23\lib\encodings\iso8859_8.py to encodings\iso8859_8.pyc

byte-compiling c:\python23\lib\encodings\iso8859_9.py to encodings\iso8859_9.pyc

byte-compiling c:\python23\lib\encodings\koi8_r.py to encodings\koi8_r.pyc
byte-compiling c:\python23\lib\encodings\koi8_u.py to encodings\koi8_u.pyc
byte-compiling c:\python23\lib\encodings\latin_1.py to encodings\latin_1.pyc
byte-compiling c:\python23\lib\encodings\mac_cyrillic.py to encodings\mac_cyrill
ic.pyc
byte-compiling c:\python23\lib\encodings\mac_greek.py to encodings\mac_greek.pyc

byte-compiling c:\python23\lib\encodings\mac_iceland.py to encodings\mac_iceland
.pyc
byte-compiling c:\python23\lib\encodings\mac_latin2.py to encodings\mac_latin2.p
yc
byte-compiling c:\python23\lib\encodings\mac_roman.py to encodings\mac_roman.pyc

byte-compiling c:\python23\lib\encodings\mac_turkish.py to encodings\mac_turkish
.pyc
byte-compiling c:\python23\lib\encodings\mbcs.py to encodings\mbcs.pyc
byte-compiling c:\python23\lib\encodings\palmos.py to encodings\palmos.pyc
byte-compiling c:\python23\lib\encodings\punycode.py to encodings\punycode.pyc
byte-compiling c:\python23\lib\encodings\quopri_codec.py to encodings\quopri_cod
ec.pyc
byte-compiling c:\python23\lib\encodings\raw_unicode_escape.py to encodings\raw_
unicode_escape.pyc
byte-compiling c:\python23\lib\encodings\rot_13.py to encodings\rot_13.pyc
byte-compiling c:\python23\lib\encodings\string_escape.py to encodings\string_es
cape.pyc
byte-compiling c:\python23\lib\encodings\undefined.py to encodings\undefined.pyc

byte-compiling c:\python23\lib\encodings\unicode_escape.py to encodings\unicode_
escape.pyc
byte-compiling c:\python23\lib\encodings\unicode_internal.py to encodings\unicod
e_internal.pyc
byte-compiling c:\python23\lib\encodings\utf_16.py to encodings\utf_16.pyc
byte-compiling c:\python23\lib\encodings\utf_16_be.py to encodings\utf_16_be.pyc

byte-compiling c:\python23\lib\encodings\utf_16_le.py to encodings\utf_16_le.pyc

byte-compiling c:\python23\lib\encodings\utf_7.py to encodings\utf_7.pyc
byte-compiling c:\python23\lib\encodings\utf_8.py to encodings\utf_8.pyc
byte-compiling c:\python23\lib\encodings\uu_codec.py to encodings\uu_codec.pyc
byte-compiling c:\python23\lib\encodings\zlib_codec.py to encodings\zlib_codec.p
yc
byte-compiling c:\python23\lib\getopt.py to getopt.pyc
byte-compiling c:\python23\lib\inspect.py to inspect.pyc
byte-compiling c:\python23\lib\linecache.py to linecache.pyc
byte-compiling c:\python23\lib\macpath.py to macpath.pyc
byte-compiling c:\python23\lib\ntpath.py to ntpath.pyc
byte-compiling c:\python23\lib\opcode.py to opcode.pyc
byte-compiling c:\python23\lib\os.py to os.pyc
byte-compiling c:\python23\lib\os2emxpath.py to os2emxpath.pyc
byte-compiling c:\python23\lib\popen2.py to popen2.pyc
byte-compiling c:\python23\lib\posixpath.py to posixpath.pyc
byte-compiling c:\python23\lib\quopri.py to quopri.pyc
byte-compiling c:\python23\lib\re.py to re.pyc
byte-compiling c:\python23\lib\repr.py to repr.pyc
byte-compiling c:\python23\lib\sets.py to sets.pyc
byte-compiling c:\python23\lib\sre.py to sre.pyc
byte-compiling c:\python23\lib\sre_compile.py to sre_compile.pyc
byte-compiling c:\python23\lib\sre_constants.py to sre_constants.pyc
byte-compiling c:\python23\lib\sre_parse.py to sre_parse.pyc
byte-compiling c:\python23\lib\stat.py to stat.pyc
byte-compiling c:\python23\lib\string.py to string.pyc
byte-compiling c:\python23\lib\stringprep.py to stringprep.pyc
byte-compiling c:\python23\lib\token.py to token.pyc
byte-compiling c:\python23\lib\tokenize.py to tokenize.pyc
byte-compiling c:\python23\lib\types.py to types.pyc
byte-compiling c:\python23\lib\warnings.py to warnings.pyc
*** copy extensions ***
copying c:\python23\DLLs\_sre.pyd -> E:\BitTorrent-experimental-3
.2.1b-2\dist
copying c:\python23\DLLs\unicodedata.pyd -> E:\BitTorrent-experim
ental-3.2.1b-2\dist
copying c:\python23\DLLs\zlib.pyd -> E:\BitTorrent-experimental-3
.2.1b-2\dist
*** copy dlls ***
copying c:\python23\w9xpopen.exe -> E:\BitTorrent-experimental-3.
2.1b-2\dist
copying C:\WINDOWS\system32\python23.dll -> E:\BitTorrent-experim
ental-3.2.1b-2\dist
setting sys.winver for 'E:\BitTorrent-experimental-3.2.1b-2\dist\
python23.dll' to 'download'

*** binary dependencies ***
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distribute them.

Make sure you have the license if you distribute any of them, and
make sure you don't distribute files belonging to the operating system.

USER32.dll - C:\WINDOWS\system32\USER32.dll
SHELL32.dll - C:\WINDOWS\system32\SHELL32.dll
MSVCRT.dll - c:\python23\MSVCRT.dll
ADVAPI32.dll - C:\WINDOWS\system32\ADVAPI32.dll
MSVCRT.dll - C:\WINDOWS\system32\MSVCRT.dll
KERNEL32.dll - C:\WINDOWS\system32\KERNEL32.dll

E:\BitTorrent-experimental-3.2.1b-2>copy *.ico dist
icon_bt.ico
icon_done.ico
2 Datei(en) kopiert.
Clython
User
Beiträge: 151
Registriert: Samstag 21. August 2004, 13:58
Wohnort: Schweiz, BE-2500

Sonntag 23. Oktober 2005, 15:16

Das ist nur eine Warnmeldung, die auf die problematische rechtliche Lage hinweist. Auf das Resultat der Kompilierung dürfte es eigentlich keinen Einfluss haben. Hast du das Resultat überprüft?
Gast

Sonntag 23. Oktober 2005, 15:42

es kompiliert mir die die exe nicht also fehlen noch einige dateien!

im dist ordner sind vorhanden nach dem compilieren:

_sre.pyd
unicodedata.pyd
zlib.pyd
w9xpopen.exe
python23.dll
library.zip
icon_bt.ico
icon_done.ico

im ausführbaren version vom entwickler selbst hat noch andere dateien dabei wie:

_winreg.pyd
select.pyd
wxc.pyd
_socket.pyd
_sre.pyd
zlib.pyd
btdownloadgui.exe
wxmsw233h.dll
python22.dll
icon_done.ico
icon_bt.ico
und noch txt files

und im build.windows.txt

steht das:
install Python, version 2.0 or later - http://python.org/

install wxPython - http://wxpython.org/

install py2exe - http://starship.python.net/crew/theller/py2exe/

install the nullsoft installer - http://www.nullsoft.com/free/nsis/

in a shell, go to the root BitTorrent directory and run this command

python winsetup.py py2exe --windows
E:\BitTorrent-experimental-3.2.1b-2>c:\python23\python.exe winset
up.py py2exe --windows
usage: winsetup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: winsetup.py --help [cmd1 cmd2 ...]
or: winsetup.py --help-commands
or: winsetup.py cmd --help

error: option --windows not recognized

E:\BitTorrent-experimental-3.2.1b-2>copy *.ico dist
icon_bt.ico
icon_done.ico
2 Datei(en) kopiert.
ich kann mit c:\python23\python.exe winsetup.py py2exe --windows
nichts kompilieren!
dann gibts nur 2 .ico dateien imt dist ordner
Leonidas
Administrator
Beiträge: 16024
Registriert: Freitag 20. Juni 2003, 16:30
Kontaktdaten:

Sonntag 23. Oktober 2005, 16:23

Ich glaube die py2exe Setup Datei die du hast ist eine Datei von py2exe 0.4. DIe Versionen 0.5 und 0.6 nutzen nun ein etwas anderes Format, deswegen muss du die Datei warscheinlich editieren.. oder noch besser, neuschreiben.
My god, it's full of CARs! | Leonidasvoice vs Modvoice
Gast

Sonntag 23. Oktober 2005, 19:30

danke für deine hilfe das hat daran mit der py2exe und der gelegen!
das komsiche noch meine library.zip datei ist zieimlich groß 3.395KB!

ich glaube der sourcecode ist nicht fehlerfrei

Traceback (most recent call last):
File "btdownloadgui.py", line 1020, in ?
File "btdownloadgui.py", line 1009, in run
File "btdownloadgui.py", line 989, in __init__
File "wx\_core.pyc", line 5301, in __init__
File "wx\_core.pyc", line 4980, in _BootstrapApp
File "btdownloadgui.py", line 993, in OnInit
File "btdownloadgui.py", line 115, in __init__
NameError: global name 'wx' is not defined
dann ist wxpython forum dafür besser geignet?
Gast

Sonntag 23. Oktober 2005, 21:32

es geth jetzt habe die falsche wxpython installiert deswegen gings nicht!

alles erledigt :)

geth nun einwandfrei! :D
Antworten