gnome build is busted: is gnome-print the culprit?


Subject: gnome build is busted: is gnome-print the culprit?
rms@greymalkin.yi.org
Date: Tue Oct 24 2000 - 16:37:53 CDT


Hello,

  it seems that the gnome build is broken, and I think that it must be due to changes in gnome-print.

I am using the lastes gnome-print available at helixcode's ftp site:
gnome-print-0.24-0_helix_5
gnome-print-devel-0.24-0_helix_5

It blows here:

xap_UnixGnomeDlg_Print.cpp:147: m_bDoPrintToFile = (printer->filename) && (*(printer->filename) != '|');
xap_UnixGnomeDlg_Print.cpp:152: UT_cloneString(m_szPrintToFilePathname, printer->filename);
xap_UnixGnomeDlg_Print.cpp:158: UT_cloneString(m_szPrintCommand, printer->filename+1); /* hack to remove "|" from "|lpr" */

My guess is that it is over printer->filename, since the error is:

xap_UnixGnomeDlg_Print.cpp: In method `void XAP_UnixGnomeDialog_Print::_raisePrintDialog(class XAP_Frame *)':
xap_UnixGnomeDlg_Print.cpp:147: invalid use of undefined type `struct _GnomePrinter'
xap_UnixGnomeDlg_Print.cpp:147: invalid use of undefined type `struct _GnomePrinter'
xap_UnixGnomeDlg_Print.cpp:152: invalid use of undefined type `struct _GnomePrinter'
xap_UnixGnomeDlg_Print.cpp:158: invalid use of undefined type `struct _GnomePrinter'
make[5]: *** [/home/rms/download/cvs/abiword/abi/src/Linux_2.4.0-test9_i386_OBJ/obj/xap_UnixGnomeDlg_Print.o] Error 1

I peeked at libgnomeprint .h's, and not only did not find the implementation of GnomePrinter, but also, I did not find an object to reach by ->filename.
I also did not find a function to fetch the filename.

This may be due to a, IMHO correct, option to "close" the direct access to the internal structure of a GnomePrinter object.

This is as far as I could go, right now.
Just in case, I did a cvs co to abiword, after removing the dirs, and the error mantained. Again: I suspect that the problem is with gnome-print support.

Hugs, rms

-- 
+ 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 24 2000 - 16:39:19 CDT