kompilace abiwordu a perl-chyba (delsi)

Peter Cernoch pcernoch na imc.cas.cz
Středa Listopad 7 09:02:53 CET 2001


Hezky den vsem,

Chtel jsem vyzkouset novou verzi abiwordu a protoze na serveru
je jen pro RH7.1, chtel jsem si ji zkompilovat (mam RH6.2cz).
Je to oficialni abiword-gnome/gtk-0.9.4.1.src.rpm z
www.abisuite.com
Oba balicky (gtk i gnome) vsak pri kompilaci vypisuji chyby :

*********
ut_PerlBindings.cpp:
ut_PerlBindings.cpp:48: `pTHXo' was not declared in this scope
ut_PerlBindings.cpp:48: variable or field `xs_init' declared void
ut_PerlBindings.cpp:49: parse error before `*'
ut_PerlBindings.cpp:50: parse error before `*'
ut_PerlBindings.cpp:52: `pTHXo' was not declared in this scope
ut_PerlBindings.cpp:52: variable or field `xs_init' declared void
ut_PerlBindings.cpp:52: redefinition of `int xs_init'
ut_PerlBindings.cpp:48: `int xs_init' previously defined here
ut_PerlBindings.cpp:52: syntax error before `{'
ut_PerlBindings.cpp:54: `file' was not declared in this scope
ut_PerlBindings.cpp:54: warning: ANSI C++ forbids declaration `Perl_newXS'
with no type
ut_PerlBindings.cpp:54: `int Perl_newXS' redeclared as different kind of
symbol
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:333: previous declaration of
`str
uct CV * Perl_newXS(char *, void (*)(struct CV *), char *)'
ut_PerlBindings.cpp:54: warning: initializer list being treated as compound
expression
ut_PerlBindings.cpp:59: parse error before `}'
ut_PerlBindings.cpp: In function `static void
UT_PerlBindings::evalFile(const cl
ass UT_String &, class XAP_Frame * = 0)':
ut_PerlBindings.cpp:107: warning: passing `int' to argument 2 of
`perl_parse(Per
lInterpreter *, void (*)(), int, char **, char **)' lacks a cast
ut_PerlBindings.cpp:123: warning: passing `const char *' as argument 1 of
`perl_
eval_pv(char *, I32)' discards const
ut_PerlBindings.cpp:125: warning: ANSI C++ forbids braced-groups within
expressions
make[4]: ***
[/usr/src/redhat/BUILD/abiword-0.9.4.1/abi/src/Linux_2.4.10_i386_OP
T/obj/ut_PerlBindings.o] Error 1
make[4]: Leaving directory
`/usr/src/redhat/BUILD/abiword-0.9.4.1/abi/src/af/util/xp'
make[3]: *** [build] Error 2
make[3]: Leaving directory
`/usr/src/redhat/BUILD/abiword-0.9.4.1/abi/src/af/util'
make[2]: *** [build] Error 2
make[2]: Leaving directory
`/usr/src/redhat/BUILD/abiword-0.9.4.1/abi/src/af'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/abiword-0.9.4.1/abi/src'
make: *** [compile] Error 2
Bad exit status from /var/tmp/rpm-tmp.5796 (%build)

***********

Buhuzel mi to nic nerika ...
V pozadavcich rpm baliku jsou jenom tri balicky :
gnome-libs >= 1.0.5.7 (mam 1.2.13-ximian.11)
gal >= 0.8 (0.12-ximian.1)
gnome-print >= 0.25  (0.25-ximian.6)

Takze teoreticky mam vse - ze bych mel starou verzi perlu ?
(Hned jsem zkousel prelozit SRRMS pro RH7.1cz ale take jsem
nepochodil - vypis tady nemam, zacina to cca uprostred kompilace
tim ze nemam gcc ... ujistuji vas ze jej skutecne mam ...)

Ted stahuju verzi abiwordu od ximianu, takze to snad vyresim,
ale zajimalo by mne co je shnileho ve state danskem???

Dekuji za kazdy tip.

Petr

pcernoch na imc.cas.cz






Další informace o konferenci Linux