Strona 1 z 1
euler: Gdk-CRITICAL
: 05 kwietnia 2007, 12:28
autor: phund
Szukałem jakiegoś narzędzia do obliczeń na liczbach zespolonych i w repozytorium znalazłem eulera. Zainstalowałem, ale nie daje się uruchomić. W konsoli wypisuje:
Kod: Zaznacz cały
(euler:4552): Gdk-CRITICAL **: gdk_char_width: assertion `font != NULL' failed
Naruszenie ochrony pamięci
Mam Etcha, jądro 2.6.18-4-amd64, używam KDE, proszę o pomoc :-)
: 05 kwietnia 2007, 12:30
autor: Kaka'
Sprawdź czy masz zainstalowane GTK, oraz spróbuj ponownie zainstalować eulera.
: 05 kwietnia 2007, 12:54
autor: phund
libgtk1.2 oraz libgtk2.0 mam juz zainstalowane - czy nie o to chodzi?
: 05 kwietnia 2007, 13:28
autor: el_carles
---> klik! <---
The gdk_char_width in the error message seems to indicate a problem with the fonts (Google doesn't have much info about that error). Perhaps you could try changing the fonts you use for gtk2 apps.
lub
Fixed for glibc 2.4
Fakt, tutaj niby instalują ze źródeł jednak może pomoże..
Ostatecznie trzeba pogooglic...
: 05 kwietnia 2007, 15:28
autor: phund
Próbowałem na różne sposoby zmienić czcionki, jednak bez rezultatu... sciagnałem zrodla, ale ./configure konczy się na
i nawet nie przechodzi do nowej linijki... potem make wypluwa same błędy
: 05 kwietnia 2007, 15:29
autor: Kaka'
phund pisze:checking for gtk+-2.0 >= 2.6.0...
: 05 kwietnia 2007, 15:44
autor: phund
no dobra, tylko libgtk2.0-0 mam w wersji 2.8.20-7
: 05 kwietnia 2007, 21:26
autor: Lorenzo
Do kompilacji potrzebujesz plików nagłówkowych, a nie bibliotek
libgtk2.0-dev zassaj
//edit:
ewentualnie zainstaluj z experimental libc6 w wersji 2.5
: 19 kwietnia 2007, 17:40
autor: phund
Dobra, mam juz libgtk2.0-dev, libc6 w unstable juz jest w wersji 2.5, a kompilacja wysypuje mi sie na samym poczatku:
Kod: Zaznacz cały
phund@phund-debian:~/euler-1.61.0$ make
make all-recursive
make[1]: Wejście do katalogu `/home/phund/euler-1.61.0'
Making all in src
make[2]: Wejście do katalogu `/home/phund/euler-1.61.0/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPNG_NO_MMX_CODE -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -Wall -O3 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
main.c: In function ‘myclock’:
main.c:442: error: ‘CLK_TCK’ undeclared (first use in this function)
main.c:442: error: (Each undeclared identifier is reported only once
main.c:442: error: for each function it appears in.)
main.c: In function ‘file_select’:
main.c:1152: warning: not enough variable arguments to fit a sentinel
main.c: In function ‘drag_drop’:
main.c:2168: warning: pointer targets in assignment differ in signedness
main.c: In function ‘drag_data_received’:
main.c:2224: warning: pointer targets in passing argument 1 of ‘uri_list_to_gslist’ differ in signedness
make[2]: *** [main.o] Błąd 1
make[2]: Opuszczenie katalogu `/home/phund/euler-1.61.0/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/phund/euler-1.61.0'
make: *** [all] Błąd 2
Co jeszcze musze sciągnać? :-|
[ Dodano: 2007-04-25, 21:35 ]
no trudno, znalazlem extcalc, ladnie dziala