dia

Jarosław Kruk jareq w tkdami.net
Pon, 22 Lip 2002, 21:37:42 CEST


VItaM

Ostatnio zauważyłem że dia z dystrybucji nie uruchamia się. Chwilkę się
temu przyjrzałem i okazuje się że zaszkodził jej upgrade biblioteki
libunicode do wersji 0.7. Oto fragment moich bojów.

jarek w jareq:~$ dia
dia: relocation error: dia: undefined symbol: unicode_init
jarek w jareq:~$ ldd /usr/X11R6/bin/dia | g unicode
        libunicode.so.0 => /usr/lib/libunicode.so.0 (0x00ac6000)
jarek w jareq:~$ ls -l /usr/lib/libunicode.*          
-rwxr-xr-x    1 root     root          720 lip 18 11:59 /usr/lib/libunicode.la
lrwxrwxrwx    1 root     root           19 lip 18 21:03 /usr/lib/libunicode.so -> libunicode.so.0.0.1
lrwxrwxrwx    1 root     root           19 lip 18 21:03 /usr/lib/libunicode.so.0 -> libunicode.so.0.0.1
-rwxr-xr-x    1 root     root        10496 lip 18 11:59 /usr/lib/libunicode.so.0.0.1
jarek w jareq:~$ rpm -qf /usr/lib/libunicode.so.0.0.1 
libunicode-0.7-1
jarek w jareq:~$ 

Spróbowałem więc przekompilować dia. Oto kolejny wycinek:

jarek w jareq:~/rpm/SPECS$ ./builder -bb dia.spec
# $Revision: 1.68 $, $Date: 2002/07/20 16:58:42 $
...
In file included from font.h:24,
                 from render.h:27,
                 from object.h:31,
                 from diagramdata.h:26,
                 from diagramdata.c:26:
charconv.h:153: warning:  `uni_isalnum' redefined
unicode.w:141: warning: this is the location of the previous definition
charconv.h:154: warning: `uni_isalpha' redefined
unicode.w:142: warning: this is the location of the previous definition
charconv.h:155: warning: `uni_iscntrl' redefined
unicode.w:144: warning: this is the location of the previous definition
charconv.h:156: warning: `uni_isdigit' redefined
unicode.w:145: warning: this is the location of the previous definition
charconv.h:157: warning: `uni_isgraph' redefined
unicode.w:146: warning: this is the location of the previous definition
charconv.h:158: warning: `uni_islower' redefined
unicode.w:147: warning: this is the location of the previous definition
charconv.h:159: warning: `uni_isprint' redefined
unicode.w:148: warning: this is the location of the previous definition
charconv.h:160: warning: `uni_ispunct' redefined
unicode.w:149: warning: this is the location of the previous definition
charconv.h:161: warning: `uni_isspace' redefined
unicode.w:150: warning: this is the location of the previous definition
charconv.h:162: warning: `uni_isupper' redefined
unicode.w:151: warning: this is the location of the previous definition
charconv.h:163: warning: `uni_isxdigit' redefined
unicode.w:152: warning: this is the location of the previous definition
charconv.h:164: warning: `uni_toupper' redefined
unicode.w:179: warning: this is the location of the previous definition
charconv.h:165: warning: `uni_tolower' redefined
unicode.w:178: warning: this is the location of the previous definition
In file included from font.h:24,
                 from render.h:27,
                 from object.h:31,
                 from diagramdata.h:26,
                 from diagramdata.c:26:
charconv.h:150: parse error before `unichar'
charconv.h:150: warning: type defaults to `int' in declaration of
`unichar'
charconv.h:150: warning: data definition has no type or storage class
charconv.h:192: parse error before `charconv_utf8_get_char'
charconv.h:192: warning: type defaults to `int' in declaration of
`charconv_utf8_get_char'
charconv.h:192: warning: data definition has no type or storage class
make[2]: *** [diagramdata.o] Błąd 1
make[2]: Opuszczam katalog `/home/users/jarek/rpm/BUILD/dia-0.90/lib'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczam katalog `/home/users/jarek/rpm/BUILD/dia-0.90'
make: *** [all] Błąd 2
błąd: Bad exit status from /var/tmp/rpm-tmp.83360 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.83360 (%build)
    Error: package build failed.

Skoro już nie długo ma zostać wydane PLD 1.0 to powinno się doprowadzić
do porządku dia (albo dostosować dia do wersji 0.7 biblioteki libunicode
albo powinno się zrobić downgrade biblioteki).

pozdrawiam
-- 
Sztuczna inteligencja nigdy nie wygra z naturalną głupotą
=========================================================
Jarek Kruk - jareq w tkdami.net



Więcej informacji o liście dyskusyjnej pld-devel-pl