Здравствуйте! Помогите с установкой py2sisng на линукс (Mint 6).
Проблемы возникают на этом этапе:
byka@byka ~/tmp/py2sisng/makesis-2.0.0 $ make
make all -C src
make: Entering directory `/home/byka/tmp/py2sisng/makesis-2.0.0/src'
g++ -Wall -gstabs+ -I../include -c crtsis.cpp -o crtsis.o
In file included from crtsis.h:17,
from crtsis.cpp:21:
zlib.h:36:1: warning: “/*” within comment
In file included from crtsis.h:17,
from crtsis.cpp:21:
zlib.h:86: error: ISO C++ forbids declaration of ‘byte’ with no type
zlib.h:86: error: expected ‘;’ before ‘*’ token
zlib.h:87: error: ‘uInt’ does not name a type
zlib.h:88: error: ‘uLong’ does not name a type
zlib.h:90: error: ISO C++ forbids declaration of ‘Byte’ with no type
zlib.h:90: error: expected ‘;’ before ‘*’ token
zlib.h:91: error: ‘uInt’ does not name a type
zlib.h:92: error: ‘uLong’ does not name a type
zlib.h:100: error: ‘uLong’ does not name a type
zlib.h:101: error: ‘uLong’ does not name a type
zlib.h:631: error: expected ‘,’ or ‘…’ before ‘*’ token
zlib.h:632: error: ISO C++ forbids declaration of ‘Byte’ with no type
crtsis.cpp: In static member function ‘static void CSISFileGeneratorBase::CompressFile(const PKGLINENODE*, WCHAR*, int&)’:
crtsis.cpp:1969: error: ‘struct z_stream’ has no member named ‘zalloc’
crtsis.cpp:1970: error: ‘struct z_stream’ has no member named ‘zfree’
crtsis.cpp:1971: error: ‘struct z_stream’ has no member named ‘opaque’
crtsis.cpp:1972: error: ‘struct z_stream’ has no member named ‘next_out’
crtsis.cpp:1973: error: ‘struct z_stream’ has no member named ‘avail_out’
crtsis.cpp:1977: error: ‘deflateInit’ was not declared in this scope
crtsis.cpp:1980: error: ‘deflate’ was not declared in this scope
crtsis.cpp:1982: error: ‘struct z_stream’ has no member named ‘avail_in’
crtsis.cpp:1985: error: ‘struct z_stream’ has no member named ‘avail_out’
crtsis.cpp:1989: error: ‘deflate’ was not declared in this scope
crtsis.cpp:1991: error: ‘struct z_stream’ has no member named ‘avail_in’
crtsis.cpp:1994: error: ‘struct z_stream’ has no member named ‘avail_out’
crtsis.cpp:2008: error: ‘deflateEnd’ was not declared in this scope
crtsis.cpp:2017: error: ‘struct z_stream’ has no member named ‘total_out’
crtsis.cpp:2018: error: ‘deflateEnd’ was not declared in this scope
crtsis.cpp: In static member function ‘static void CSISFileGeneratorBase::ReadFromUncompressedFile(void*, BYTE*, z_stream&, int)’:
crtsis.cpp:2026: error: ‘struct z_stream_s’ has no member named ‘next_in’
crtsis.cpp:2027: error: ‘struct z_stream_s’ has no member named ‘avail_in’
crtsis.cpp: In static member function ‘static void CSISFileGeneratorBase::WriteToCompressedFile(void*, BYTE*, z_stream&, int)’:
crtsis.cpp:2036: error: ‘struct z_stream_s’ has no member named ‘avail_out’
crtsis.cpp:2038: error: ‘struct z_stream_s’ has no member named ‘next_out’
crtsis.cpp:2039: error: ‘struct z_stream_s’ has no member named ‘avail_out’
make: *** Error 1
make: Leaving directory `/home/byka/tmp/py2sisng/makesis-2.0.0/src'
make: *** Error 2
byka@byka ~/tmp/py2sisng/makesis-2.0.0 $
Помогите разобраться в чем причины. Благодарю!