From: Tom Williams (tomdkat_at_comcast.net)
Date: Fri Mar 12 2004 - 02:28:17 EST
Hi! I'm trying to build Abiword 2.0.5 on a Slackware 8 base Linux
system with gcc-3.3.3 and perl 5.8.3 installed. When I compile Abiword
2.0.5 (./configure --prefix=/opt/gnome --enable-threads
--enable-scripting ), I get these errors:
Making all in xp
make[4]: Entering directory `/build/abiword-2.0.5/abi/src/af/util/xp'
source='ut_PerlBindings.cpp' object='ut_PerlBindings.o' libtool=no \
depfile='.deps/ut_PerlBindings.Po' tmpdepfile='.deps/ut_PerlBindings.TPo' \
depmode=gcc3 /bin/sh ../../../../ac-helpers/depcomp \
g++ -DPACKAGE_NAME=\"AbiSuite\" -DPACKAGE_TARNAME=\"abisuite\"
-DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"AbiSuite\ 2.0\"
-DPACKAGE_BUGREPORT=\"http://www.abisource.com/\" -DPACKAGE=\"AbiS
uite-2.0\" -DVERSION=\"2.0.5\" -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1
-DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1
-DHAVE_MALLOC_H=1 -DHAVE_LIBXML2=1 -DHAVE_WV=1 -DHAVE_ALLOCA_H=1 -D
HAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_RE_COMP=1 -DHAVE_REGCOMP=1
-DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_STRCASECMP=1 -I. -I.
-I'../../../../src/af/util/xp' -I'../../../../src/af/ev/xp' -I
'../../../../src/af/ev/xp' -I'../../../../src/af/gr/xp'
-I'../../../../src/af/xap/xp' -I'../../../../src/af/util/unix'
-I'../../../../src/af/ev/unix' -I'../../../../src/af/gr/unix' -I'../../
../../src/af/xap/unix' -I'../../../../src/other/spell/xp'
-I'../../../../src/other/fribidi/xp'
-I'../../../../src/other/ttftool/unix' -Wall -pedantic -ansi
-D_POSIX_SOURCE -D_BSD_SOURCE
-pipe -DNDEBUG -I/usr/include/libxml2 -DABI_OPT_PERL
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.3/i686-linux/CORE -Ubool -
I/usr/include/fribidi -I/home/tom/build/abiword-2.0.5/wv
-I/usr/X11R6/include -I/usr/X11R6/include/freetype2
-I/usr/include/libpng12 -DHAVE_THREADS=1 -pthread
-I/opt/gnome/include/glib-2
.0 -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/gtk-2.0
-I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0
-I/opt/gnome/include/pango-1.0 -I/usr/X11R6/include -I/usr/
X11R6/include/freetype2 -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/libglade-2.0
-I/opt/gnome/include/libxml2 -DG_DISABLE_DEPRECATED -DGDK_DISABLE_
DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
-DSUPPORTS_UT_IDLE=1 -DABISUITE_HOME=\"/opt/gnome/shar
e/AbiSuite-2.0\" -DABI_BUILD_VERSION=\"2.0.5\" -c -o ut_PerlBindings.o
`test -f 'ut_PerlBindings.cpp' || echo './'`ut_PerlBindings.cpp
ut_PerlBindings.cpp: In function `void xs_init(PerlInterpreter*)':
ut_PerlBindings.cpp:74: error: invalid conversion from `void
(*)(PerlInterpreter*, CV*)' to `void (*)(CV*)'
ut_PerlBindings.cpp: In constructor `UT_PerlBindings::UT_PerlBindings()':
ut_PerlBindings.cpp:137: error: invalid conversion from `void
(*)(PerlInterpreter*)' to `void (*)()'
ut_PerlBindings.cpp: In member function `bool
UT_PerlBindings::evalFile(const
UT_String&)':
ut_PerlBindings.cpp:249: error: ISO C++ forbids braced-groups within
expressions
ut_PerlBindings.cpp:265: error: ISO C++ forbids braced-groups within
expressions
ut_PerlBindings.cpp:230: warning: unused variable `PerlInterpreter*my_perl'
ut_PerlBindings.cpp: In member function `bool
UT_PerlBindings::runCallback(const char*)':
ut_PerlBindings.cpp:308: error: cannot convert `PerlInterpreter*' to `const
char*' for argument `1' to `I32 Perl_call_pv(const char*, long int)'
ut_PerlBindings.cpp:311: error: ISO C++ forbids braced-groups within
expressions
make[4]: *** [ut_PerlBindings.o] Error 1
make[4]: Leaving directory `/build/abiword-2.0.5/abi/src/af/util/xp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/abiword-2.0.5/abi/src/af/util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/abiword-2.0.5/abi/src/af'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/abiword-2.0.5/abi/src'
make: *** [all-recursive] Error 1
tom_at_linux:~/build/abiword-2.0.5/abi$
Any idea on what's wrong?
Thanks...
Peace...
Tom
-----------------------------------------------
To unsubscribe from this list, send a message to
abiword-user-request_at_abisource.com with the word
unsubscribe in the message body.
This archive was generated by hypermail 2.1.4 : Fri Mar 12 2004 - 02:30:02 EST