jakiś czas temu pobrałem ekg 1.7 stąd: http://ekg.chmurka.net/ekg-1.7.tar.gz
Rozpakowałem, wchodzę do folderu ekg-1.7, ./configure --with-python, po drodze jeszcze wywaliło że nie mam ncurses, więc doinstalowałem aptem, i teraz mam niby:
Kod: Zaznacz cały
configured options:
- static libgadu: enabled (default)
- shared libgadu: disabled
- libgadu_openssl: enabled
- openssl: enabled
- ioctld: disabled
- python: enabled
- zlib: enabled
- pthread: disabled
- libungif: disabled
- libjpeg: disabled
- ui-readline: disabled
- ui-ncurses: enabled (default)
- aspell: disabled
po drodze jakieś ostrzeżenia? kompilatora:
Kod: Zaznacz cały
stuff.h:441:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’
gcc -I.. -I../lib -g -O2 -Wall -I/usr/include/python2.7 -DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o themes.o themes.c
themes.c: In function ‘va_format_string’:
themes.c:372:3: warning: pointer targets in passing argument 1 of ‘iso_to_ascii’ differ in signedness [-Wpointer-sign]
In file included from themes.c:33:0:
stuff.h:442:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’
gcc -I.. -I../lib -g -O2 -Wall -I/usr/include/python2.7 -DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o vars.o vars.c
gcc -I.. -I../lib -g -O2 -Wall -I/usr/include/python2.7 -DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o dynstuff.o dynstuff.c
gcc -I.. -I../lib -g -O2 -Wall -I/usr/include/python2.7 -DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o userlist.o userlist.c
userlist.c: In function ‘userlist_set’:
userlist.c:300:5: warning: pointer targets in passing argument 1 of ‘iso_to_cp’ differ in signedness [-Wpointer-sign]
In file included from userlist.c:48:0:
stuff.h:441:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’
userlist.c:302:5: warning: pointer targets in passing argument 1 of ‘cp_to_iso’ differ in signedness [-Wpointer-sign]
In file included from userlist.c:48:0:
stuff.h:440:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’
userlist.c: In function ‘userlist_remove’:
userlist.c:581:6: warning: variable ‘metagroups’ set but not used [-Wunused-but-set-variable]
gcc -I.. -I../lib -g -O2 -Wall -I/usr/include/python2.7 -DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o ekg.o ekg.c
In file included from /usr/include/python2.7/Python.h:8:0,
from python.h:23,
from ekg.c:84:
/usr/include/python2.7/pyconfig.h:1161:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
In file included from /usr/include/i386-linux-gnu/sys/types.h:26:0,
from ekg.c:30:
/usr/include/features.h:214:0: note: this is the location of the previous definition
ekg.c: In function ‘ekg_wait_for_key’:
ekg.c:589:7: warning: pointer targets in passing argument 1 of ‘iso_to_cp’ differ in signedness [-Wpointer-sign]
In file included from userlist.h:35:0,
from events.h:25,
from ekg.c:62:
stuff.h:441:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’
gcc -I.. -I../lib -g -O2 -Wall -I/usr/include/python2.7 -DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o xmalloc.o xmalloc.c
gcc -I.. -I../lib -g -O2 -Wall -I/usr/include/python2.7 -DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o mail.o mail.c
gcc -I.. -I../lib -g -O2 -Wall -I/usr/include/python2.7 -DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o msgqueue.o msgqueue.c
msgqueue.c: In function ‘msg_queue_add’:
msgqueue.c:88:2: warning: pointer targets in passing argument 1 of ‘xstrdup’ differ in signedness [-Wpointer-sign]
In file included from msgqueue.c:38:0:
xmalloc.h:34:7: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
msgqueue.c:88:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
msgqueue.c: In function ‘msg_queue_flush’:
msgqueue.c:203:3: warning: pointer targets in passing argument 1 of ‘xstrdup’ differ in signedness [-Wpointer-sign]
In file included from msgqueue.c:38:0:
xmalloc.h:34:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
msgqueue.c:203:24: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
msgqueue.c: In function ‘msg_queue_read’:
msgqueue.c:410:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
gcc -I.. -I../lib -g -O2 -Wall -I/usr/include/python2.7 -DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o emoticons.o emoticons.c
gcc -I.. -I../lib -g -O2 -Wall -I/usr/include/python2.7 -DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o configfile.o configfile.c
gcc -I.. -I../lib -g -O2 -Wall -I/usr/include/python2.7 -DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o simlite.o simlite.c
simlite.c: In function ‘sim_key_fingerprint’:
simlite.c:206:2: warning: pointer targets in passing argument 3 of ‘EVP_DigestFinal’ differ in signedness [-Wpointer-sign]
In file included from simlite.c:26:0:
/usr/include/openssl/evp.h:565:5: note: expected ‘unsigned int *’ but argument is of type ‘int *’
simlite.c: In function ‘sim_message_encrypt’:
simlite.c:340:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
In file included from simlite.c:35:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
simlite.c: In function ‘sim_message_decrypt’:
simlite.c:392:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
In file included from simlite.c:35:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
simlite.c:407:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
In file included from simlite.c:35:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
simlite.c:514:2: warning: pointer targets in return differ in signedness [-Wpointer-sign]
gcc -I.. -I../lib -g -O2 -Wall -I/usr/include/python2.7 -DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o ../compat/strlcat.o ../compat/strlcat.c
gcc -I.. -I../lib -g -O2 -Wall -I/usr/include/python2.7 -DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o ../compat/strlcpy.o ../compat/strlcpy.c
gcc -I.. -I../lib -g -O2 -Wall -I/usr/include/python2.7 -DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o ui-ncurses.o ui-ncurses.c
In file included from /usr/include/python2.7/Python.h:8:0,
from python.h:23,
from ui-ncurses.c:88:
/usr/include/python2.7/pyconfig.h:1161:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
In file included from /usr/include/i386-linux-gnu/sys/stat.h:27:0,
from ui-ncurses.c:47:
/usr/include/features.h:214:0: note: this is the location of the previous definition
ui-ncurses.c: In function ‘window_printat’:
ui-ncurses.c:1739:3: warning: pointer targets in passing argument 1 of ‘iso_to_ascii’ differ in signedness [-Wpointer-sign]
In file included from ui-ncurses.c:80:0:
stuff.h:442:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’
ui-ncurses.c:1847:6: warning: pointer targets in passing argument 1 of ‘iso_to_ascii’ differ in signedness [-Wpointer-sign]
In file included from ui-ncurses.c:80:0:
stuff.h:442:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’
ui-ncurses.c: In function ‘ui_ncurses_loop’:
ui-ncurses.c:3999:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ui-ncurses.c:4016:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
In file included from ui-ncurses.c:64:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
ui-ncurses.c: In function ‘ui_ncurses_event’:
ui-ncurses.c:4696:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
no i make install

Prosty skrypt zapisałem w ~/.gg/scripts/skrypt.py
wchodzę w ekg, wpisuję python load skrypt.py i takie cuś wyskakuje:
Kod: Zaznacz cały
19:06 ::: Nie znaleziono skryptu skrypt │
19:06 File "/root/.gg/scripts/skrypt.py", line 1 │
19:06 SyntaxError: Non-ASCII character '\xc2' in file /root/.gg/scripts/skrypt.py on line 1, but no encoding declared; see [URL]http://www.python.org/peps/pep-0263.html[/URL] for │
19:06 details
i żaden, nawet najprostszy skrypt nie chce działać. Wie ktoś może co jest nie tak?