error in installation

6 views
Skip to first unread message

luca72

unread,
Nov 6, 2009, 6:23:44 PM11/6/09
to PyInstaller
Hello i get this error under lubunto 9.10:
lucak9111@lucak9111-desktop:~/Scrivania/eric/pyinstaller/source/linux$
make
gcc -pthread -I/usr/include -I/usr/include/python2.6 -I../common -
DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -
DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DHAVE_WARNINGS -c
getpath.c -o getpath.o
gcc -pthread -I/usr/include -I/usr/include/python2.6 -I../common -
DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -
DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DHAVE_WARNINGS -c
main.c -o main.o
main.c: In function ‘main’:
main.c:74: warning: unused variable ‘ptoc’
gcc -pthread -I/usr/include -I/usr/include/python2.6 -I../common -
DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -
DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DHAVE_WARNINGS -c ../
common/launch.c -o launch.o
../common/launch.c:45:18: error: zlib.h: Nessun file o directory
../common/launch.c: In function ‘checkCookie’:
../common/launch.c:272: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../common/launch.c: At top level:
../common/launch.c:280: warning: function declaration isn’t a
prototype
../common/launch.c: In function ‘openArchive’:
../common/launch.c:365: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../common/launch.c: In function ‘decompress’:
../common/launch.c:807: error: ‘z_stream’ undeclared (first use in
this function)
../common/launch.c:807: error: (Each undeclared identifier is reported
only once
../common/launch.c:807: error: for each function it appears in.)
../common/launch.c:807: error: expected ‘;’ before ‘zstream’
../common/launch.c:810: error: ‘zlibVersion’ undeclared (first use in
this function)
../common/launch.c:817: error: ‘zstream’ undeclared (first use in this
function)
../common/launch.c:824: warning: implicit declaration of function
‘inflateInit’
../common/launch.c:826: error: ‘inflate’ undeclared (first use in this
function)
../common/launch.c:826: error: ‘Z_FINISH’ undeclared (first use in
this function)
../common/launch.c:828: error: ‘inflateEnd’ undeclared (first use in
this function)
../common/launch.c: In function ‘extract’:
../common/launch.c:858: warning: ignoring return value of ‘fread’,
declared with attribute warn_unused_result
../common/launch.c: In function ‘runScripts’:
../common/launch.c:1042: warning: pointer targets in passing argument
1 of ‘PI_PyRun_SimpleString’ differ in signedness
../common/launch.c:1042: note: expected ‘char *’ but argument is of
type ‘unsigned char *’
make: *** [launch.o] Errore 1

But zlib is present:
lucak9111@lucak9111-desktop:~/Scrivania/eric/pyinstaller/source/linux$
locate zlib.h
/usr/src/linux-headers-2.6.31-14/include/linux/zlib.h
/usr/src/linux-headers-2.6.31-14-generic/include/config/crypto/zlib.h
/usr/src/linux-headers-2.6.31-14-generic/include/config/jffs2/zlib.h
/usr/src/linux-headers-2.6.31-14-generic/include/config/ubifs/fs/
zlib.h
/usr/src/linux-headers-2.6.31-14-generic/include/linux/zlib.h

Massimiliano Pippi

unread,
Nov 7, 2009, 6:05:20 AM11/7/09
to pyins...@googlegroups.com
On Sat, Nov 7, 2009 at 00:23, luca72 <luca...@libero.it> wrote:
<snip>

>
> But zlib is present:
> lucak9111@lucak9111-desktop:~/Scrivania/eric/pyinstaller/source/linux$
> locate zlib.h
> /usr/src/linux-headers-2.6.31-14/include/linux/zlib.h
> /usr/src/linux-headers-2.6.31-14-generic/include/config/crypto/zlib.h
> /usr/src/linux-headers-2.6.31-14-generic/include/config/jffs2/zlib.h
> /usr/src/linux-headers-2.6.31-14-generic/include/config/ubifs/fs/
> zlib.h
> /usr/src/linux-headers-2.6.31-14-generic/include/linux/zlib.h
>
Actually it's like zlib development package was *not* installed in your system.
Use your package manager to search for and install "zlib1g-dev"

Cheers


--
M.

http://masci.wordpress.com

Reply all
Reply to author
Forward
0 new messages