I've been trying to compile kups under potato with Ivan's packages, but first I need to get qtcups working. Unfortunately, when I try to compile it, I get the following errors:
make all-recursive make[1]: Entering directory `/usr/local/src/qtcups-2.0' Making all in qtcups make[2]: Entering directory `/usr/local/src/qtcups-2.0/qtcups' Makefile:823: warning: overriding commands for target `qgeneralconfigbase.moc' Makefile:805: warning: ignoring old commands for target `qgeneralconfigbase.moc' Makefile:831: warning: overriding commands for target `qcupsprintdialogbase.moc' Makefile:815: warning: ignoring old commands for target `qcupsprintdialogbase.moc' Makefile:835: warning: overriding commands for target `qimageconfigbase.moc' Makefile:775: warning: ignoring old commands for target `qimageconfigbase.moc' Makefile:847: warning: overriding commands for target `qtextconfigbase.moc' Makefile:785: warning: ignoring old commands for target `qtextconfigbase.moc' Makefile:871: warning: overriding commands for target `qcupsconfigdialogbase.moc' Makefile:755: warning: ignoring old commands for target `qcupsconfigdialogbase.moc' Makefile:875: warning: overriding commands for target `passworddialogbase.moc' Makefile:765: warning: ignoring old commands for target `passworddialogbase.moc' Makefile:879: warning: overriding commands for target `qhpgl2configbase.moc' Makefile:795: warning: ignoring old commands for target `qhpgl2configbase.moc' /bin/sh ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/qt -I/usr/X11R6/include -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -O3 -mpentiumpro -pipe -c qtcups.cpp mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/qt -I/usr/X11R6/include -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -O3 -mpentiumpro -pipe -c qtcups.cpp -fPIC -DPIC -o .libs/qtcups.o /bin/sh ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/qt -I/usr/X11R6/include -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -O3 -mpentiumpro -pipe -c qcupsprinter.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/qt -I/usr/X11R6/include -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -O3 -mpentiumpro -pipe -c qcupsprinter.cpp -fPIC -DPIC -o .libs/qcupsprinter.o In file included from /usr/include/sys/socket.h:34, from /usr/include/cups/http.h:41, from /usr/include/cups/ipp.h:33, from /usr/include/cups/cups.h:32, from qcupsprinter.h:23, from qcupsprinter.cpp:18: /usr/include/bits/socket.h:226: warning: ANSI C++ forbids zero-size array `__cmsg_data' In file included from /usr/include/cups/http.h:46, from /usr/include/cups/ipp.h:33, from /usr/include/cups/cups.h:32, from qcupsprinter.h:23, from qcupsprinter.cpp:18: /usr/include/netinet/ip.h:64: warning: ANSI C++ forbids zero-size array `__data' In file included from qcupsprinter.cpp:20: qcupsprintdialog.h:71: syntax error before `*' qcupsprintdialog.h:72: syntax error before `*' make[2]: *** [qcupsprinter.lo] Error 1 make[2]: Leaving directory `/usr/local/src/qtcups-2.0/qtcups' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/qtcups-2.0' make: *** [all-recursive-am] Error 2 So, has anyone got this to work, or does someone know where i can get potato packages for qtcups/kups?