Найти - Пользователи
Полная версия: Проблемы с установкой py2sisng
Начало » Mobile Python » Проблемы с установкой py2sisng
1
AleXanrd
Здравствуйте! Помогите с установкой 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 $

Помогите разобраться в чем причины. Благодарю!
igor.kaist
Как вариант, могу посоветовать ensymble, к ней так же есть GUI.
https://garage.maemo.org/frs/?group_id=854&release_id=3264
Она может собирать sis как для ветки 2.х, так и 1.4.х
AleXanrd
Спасибо за ответ, но на сколько я знаю она не подходит для сборки к более поздним версиям, тоесть для 2 редакции. А телефон у меня пока старенький, 6630.
Извиняюсь что не указал это в самом начале.
igor.kaist
AleXanrd
А телефон у меня пока старенький, 6630.
Ну здесь я лично помочь со сборкой в linux не могу :(
Могу еще посоветовать SISBoom (atrant, респект), программа на Pys60 для сборки sis прямо на смарте.
Кстати, создавать приложение с иконкой в меню может сам python script shell, там в исходниках достаточно расскоментировать пару строчек. После этого можно запаковать в sis с помощью SISBoom.
AleXanrd
За SISBoom огромное спасибо! Буду пробовать.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB