I run Potato 2.2 r3 on a PC with a 2.2.18 kernel, and have tried to install the above using 'apt-get source -b qtcups' ( I have a 'deb-src http' in my sources.list). This failed, ending with the following error message:-
---------- [snip] 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-prototyp es -Wwrite-strings -Wno-long-long -fno-builtin -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 `__cms g_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[3]: *** [qcupsprinter.lo] Error 1 make[3]: Leaving directory `/etc/apt/qtcups-2.0/qtcups' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/etc/apt/qtcups-2.0' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/etc/apt/qtcups-2.0' make: *** [build-stamp] Error 2 Build command 'cd qtcups-2.0 && dpkg-buildpackage -b -uc' failed. E: Child process failed -------- The final entries in /qtcups-2.0/config.log were:- -------- ck-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings - Wno-long-long -fno-builtin -I/usr/include/qt -I/usr/X11R6/include -L/usr/lib - L/usr/X11R6/lib conftest.C -lqt -lpng -lz -lm -ljpeg -lXext -lX11 -lSM -lICE 1>&5 conftest.C: In function `int main()': conftest.C:20: warning: unused variable `int magnolia' conftest.C:15: warning: unused variable `class QStringList * t' configure:5500: checking for moc configure:5565: checking for uic configure:5669: checking for cupsServer in -lcups configure:5688: gcc -o conftest -O2 conftest.c -lcups 1>&5 configure:5714: checking for cups/cups.h configure:5724: gcc -E conftest.c >/dev/null 2>conftest.out configure:5789: checking if qtcups should be compiled -------- Is there sufficient information above to give some clue as to what has gone wrong? Grateful for any assistance. John. PS. I also tried to get an installation from source ( for qtcups-1.2) which I downloaded form SourceForge. This also failed and I've posted separately about this.