Fehlermeldung PyInstaller 1.3,py Python 2.4.2

Probleme bei der Installation?
Antworten
bigpappa
User
Beiträge: 7
Registriert: Montag 26. Mai 2008, 15:43

Hallo, ich möchte den PyInstaller nutzen, bin jedoch bereits bei der Installation gescheitert :-((

hier mein fehlercode:

Code: Alles auswählen

:/home/engin/python_ide/pyinstaller-1.3/source/linux # python Make.py
Now run "make" to build the targets: ../../support/loader/run ../../support/loader/run_d
aproldemor34:/home/engin/python_ide/pyinstaller-1.3/source/linux # make
gcc -pthread  -I/usr/include -I/usr/include/python2.4 -I../common -DNDEBUG -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -DNDEBUG -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -DHAVE_WARNINGS -c ../common/launch.c -o launch.o
../common/launch.c:44:18: error: zlib.h: Datei oder Verzeichnis nicht gefunden
../common/launch.c: In function ‘openArchive’:
../common/launch.c:229: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
../common/launch.c:248: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
../common/launch.c: In function ‘importModules’:
../common/launch.c:603: warning: pointer targets in passing argument 1 of ‘PyString_FromStringAndSize’ differ in signedness
../common/launch.c:578: warning: unused variable ‘buf’
../common/launch.c:577: warning: unused variable ‘res’
../common/launch.c:573: warning: unused variable ‘pyfile’
../common/launch.c: In function ‘decompress’:
../common/launch.c:689: error: ‘z_stream’ undeclared (first use in this function)
../common/launch.c:689: error: (Each undeclared identifier is reported only once
../common/launch.c:689: error: for each function it appears in.)
../common/launch.c:689: error: expected ‘;’ before ‘zstream’
../common/launch.c:693: error: ‘zlibVersion’ undeclared (first use in this function)
../common/launch.c:700: error: ‘zstream’ undeclared (first use in this function)
../common/launch.c:707: warning: implicit declaration of function ‘inflateInit’
../common/launch.c:709: error: ‘inflate’ undeclared (first use in this function)
../common/launch.c:709: error: ‘Z_FINISH’ undeclared (first use in this function)
../common/launch.c:711: error: ‘inflateEnd’ undeclared (first use in this function)
../common/launch.c: In function ‘extract’:
../common/launch.c:745: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
../common/launch.c: In function ‘extract2fs’:
../common/launch.c:810: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
../common/launch.c: In function ‘runScripts’:
../common/launch.c:854: warning: pointer targets in passing argument 1 of ‘PyRun_SimpleString’ differ in signedness
../common/launch.c: In function ‘init’:
../common/launch.c:978: warning: unused variable ‘p’
make: *** [launch.o] Fehler 1
Die Verzeichnisse /usr/include/python2.4 imd ../common existierpyen.
Irgendwelche ideen warum make nicht funktioniert?

danke
lunar

Aus dem Namen des fehlenden Header würde ich mal ganz stark darauf tippen, dass dir die zlib-Header fehlen.
bigpappa
User
Beiträge: 7
Registriert: Montag 26. Mai 2008, 15:43

okay, wo bekomme ich die her?
lt. yast ist das zlib paket installiert (V1.2.3)
da modul zlib läßt sich in python auch importieren.
Leonidas
Python-Forum Veteran
Beiträge: 16025
Registriert: Freitag 20. Juni 2003, 16:30
Kontaktdaten:

Das Paket was du brauchst heißt warscheinlich zlib-devel oder so ähnlich.
My god, it's full of CARs! | Leonidasvoice vs (former) Modvoice
Antworten