gnome-print problems


Subject: gnome-print problems
rms@greymalkin.yi.org
Date: Tue Oct 31 2000 - 06:52:25 CST


Hello,

  Are you sure one can use helix's gnome-print's packages? I am using them (supposedly updated, according to the ftp site) and still I can't successfully compile:

make ABI_OPT_GNOME=1 ABI_OPT_DEBUG=1 UNIX_CAN_BUILD_STATIC=0

(...)

Linking dynamic /home/rms/download/cvs/abiword/abi/src/Linux_2.4.0-test9_i386_GNOME/bin/AbiWord_d
g++ -o /home/rms/download/cvs/abiword/abi/src/Linux_2.4.0-test9_i386_GNOME/bin/AbiWord_d -g -Wall -ansi -pedantic -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -D_XOPEN_SOURCE -D__USE_XOPEN_EXTENDED -DDEBUG -UNDEBUG -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/lib/glib/include -I/usr/X11R6/include -DABIWORD_APP_NAME="\"AbiWord Personal\"" -DABIWORD_APP_LIBDIR="\"AbiWord\"" -DUT_DEBUG -DPT_TEST -DFMT_TEST -DUT_TEST -I/home/rms/download/cvs/abiword/abi/src/config -I/home/rms/download/cvs/abiword/abi/src/af/xap/xp -I/home/rms/download/cvs/abiword/abi/src/af/xap/unix -I/home/rms/download/cvs/abiword/abi/src/af/ev/xp -I/home/rms/download/cvs/abiword/abi/src/af/ev/unix -I/home/rms/download/cvs/abiword/abi/src/af/util/xp -I/home/rms/download/cvs/abiword/abi/src/af/util/unix -I/home/rms/download/cvs/abiword/abi/src/af/gr/xp -I/home/rms/download/cvs/abiword/abi/src/af/gr/unix -I/home/rms/download/cvs/abiword/abi/src/af/xap/unix/gnome -I/home/rms/download/cvs/abiword/abi/src/af/ev/unix/gnome -I/home/rms/download/cvs/abiword/abi/src/../../expat/xmlparse -I/home/rms/download/cvs/abiword/abi/src/../../expat/xmltok -I/home/rms/download/cvs/abiword/abi/src/wp/ap/xp -I/home/rms/download/cvs/abiword/abi/src/wp/ap/unix -I/home/rms/download/cvs/abiword/abi/src/text/fmt/xp -I/home/rms/download/cvs/abiword/abi/src/wp/impexp/xp -I/home/rms/download/cvs/abiword/abi/src/text/ptbl/xp -I/home/rms/download/cvs/abiword/abi/src/wp/ap/xp/ToolbarIcons -I/home/rms/download/cvs/abiword/abi/src/wp/ap/unix/gnome -I/home/rms/download/cvs/abiword/abi/src/other/spell -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_GNOME /home/rms/download/cvs/abiword/abi/src/Linux_2.4.0-test9_i386_GNOME/obj/UnixGnomeMain.o -ldl -L/usr/local/lib -L/home/rms/download/cvs/abiword/abi/src/Linux_2.4.0-test9_i386_GNOME/obj -lAbiGr -lAbiFmt -lAbiPTbl -lAbiImpExp -lAbiXAp -lAbiWPAp -lAbiEv -lAbiUtil -lAbiWordVer -lAbiSpell -lAbi_expat -lAbi_libwv -lAbiGr -lAbiFmt -lAbiPTbl -lAbiImpExp -lAbiXAp -lAbiWPAp -lAbiEv -lAbiUtil -lAbiWordVer -lAbiSpell -lAbi_expat -lAbi_libwv -lAbiGr -lAbiFmt -lAbiPTbl -lAbiImpExp -lAbiXAp -lAbiWPAp -lAbiEv -lAbiUtil -lAbiWordVer -lAbiSpell -lAbi_expat -lAbi_libwv -lpng -lz -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgal -lglade-gnome -lglade -lunicode -lgnomeprint -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd -laudiofile -ldb1 -lgdk_pixbuf -ltiff -ljpeg -lpng -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lxml -lz
/home/rms/download/cvs/abiword/abi/src/Linux_2.4.0-test9_i386_GNOME/obj/libAbiXAp.a(xap_UnixGnomePrintGraphics.o): In function `XAP_UnixGnomePrintGraphics::getFontAscent(void)':
/home/rms/download/cvs/abiword/abi/src/af/xap/unix/gnome/xap_UnixGnomePrintGraphics.cpp:650: undefined reference to `gnome_font_face_get_stdbbox'
/home/rms/download/cvs/abiword/abi/src/Linux_2.4.0-test9_i386_GNOME/obj/libAbiXAp.a(xap_UnixGnomePrintGraphics.o): In function `XAP_UnixGnomePrintGraphics::getFontDescent(void)':
/home/rms/download/cvs/abiword/abi/src/af/xap/unix/gnome/xap_UnixGnomePrintGraphics.cpp:675: undefined reference to `gnome_font_face_get_stdbbox'
collect2: ld returned 1 exit status
make[4]: *** [/home/rms/download/cvs/abiword/abi/src/Linux_2.4.0-test9_i386_GNOME/bin/AbiWord_d] Error 1
make[4]: Leaving directory `/home/rms/download/cvs/abiword/abi/src/wp/main/unix/gnome'
make[3]: *** [build] Error 2
make[3]: Leaving directory `/home/rms/download/cvs/abiword/abi/src/wp/main'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/home/rms/download/cvs/abiword/abi/src/wp'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/rms/download/cvs/abiword/abi/src'
make: *** [compile] Error 2

I tried grepping for the function...

[rms@nietzche include]$ pwd
/usr/include
[rms@nietzche include]$ grep gnome_font_face_get_stdbbox */* 2> /dev/null
[rms@nietzche include]$ grep gnome_font_face_get_stdbbox */*/* 2> /dev/null

I only found:

[rms@nietzche include]$ grep _stdbbox */* 2> /dev/null
libgnomeprint/gnome-font-face.h:ArtDRect * gnome_font_face_get_glyph_stdbbox (const GnomeFontFace * face, gint glyph, ArtDRect * bbox);
libgnomeprint/gnome-font.h:ArtDRect * gnome_font_get_glyph_stdbbox (const GnomeFont * font, gint glyph, ArtDRect * bbox);
libgnomeprint/gnome-rfont.h:ArtDRect * gnome_rfont_get_glyph_stdbbox (const GnomeRFont * rfont, gint glyph, ArtDRect * bbox);

none of this functions matches with the one used!

Hugs, rms

PS: yes, I did a cvs update just before compiling.

-- 
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Ghandi
+ So let's do it...?




This archive was generated by hypermail 2b25 : Tue Oct 31 2000 - 06:52:31 CST