Hallo Liste,
nachdem ich mit Eurer tatkräftigen Unterstützung Cups auf der Raspberry Pi zum laufen bekommen habe, Möchte ich jetzt auch noch den Druckertreiber für meinen Canon MF4150 installieren.
Leider sind die Treiber für diesen Drucker nur als dev-Archiv für i386 und amd64 verfügbar. Bei der Übersetzung der ebenfalls verfügbaren Quellen (http://www.canon.de/Support/Consumer_Products/products/Fax__Multifunctionals...) bin ich dank der Hilfen im Internet zu den erforderlichen Änderungen am Quelltext relativ weit gekommen (im Wesentlichen: http://forums.gentoo.org/viewtopic-p-6547661.html#6547661). Jetzt läuft make gen und make install durch, erzeugt aber keinen funktionierenden Treiber. Eine wirkliche oder besser für mich erkennbare Fehlermeldung gibt make aber auch nicht aus (vgl. unten).
Habt Ihr noch einen Tipp für mich, woran es liegen kann?
Jens
pi@raspberrypi ~/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70 $ make gen (cd cngplp; ./autogen.sh; make) || exit 1 **Warning**: I am going to run `configure' with no arguments. If you wish to pass any to it, please specify them on the `./autogen.sh' command line.
processing . Creating ./aclocal.m4 ... Running glib-gettextize... Ignore non-fatal messages. Copying file mkinstalldirs Copying file po/Makefile.in.in
Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/.
Making ./aclocal.m4 writable ... Running libtoolize... libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. Running aclocal ... Running autoheader... Running automake --gnu ... Running autoconf ... Running ./configure --enable-maintainer-mode ... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for library containing strerror... none required checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking build system type... armv6l-unknown-linux-gnueabihf checking host system type... armv6l-unknown-linux-gnueabihf checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 805306365 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv6l-unknown-linux-gnueabihf file names to armv6l-unknown-linux-gnueabihf format... func_convert_file_noop checking how to convert armv6l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for PACKAGE... yes checking for GLADE_PACKAGE... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... ja fr it de es configure: creating ./config.status config.status: creating Makefile config.status: creating cnjatool/Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands Now type `make' to compile. make[1]: Entering directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/cngplp' make all-recursive make[2]: Entering directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/cngplp' Making all in po make[3]: Entering directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/cngplp/po' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/cngplp/po' Making all in src make[3]: Entering directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/cngplp/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=""/usr/local/share"" -DPACKAGE_LOCALE_DIR=""/usr/local/share/locale"" -DPACKAGE_CONFIG_DIR=""/usr/share/cngplp/"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -O2 -Wall -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c mv -f .deps/main.Tpo .deps/main.Po gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=""/usr/local/share"" -DPACKAGE_LOCALE_DIR=""/usr/local/share/locale"" -DPACKAGE_CONFIG_DIR=""/usr/share/cngplp/"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -O2 -Wall -g -O2 -MT mainwnd.o -MD -MP -MF .deps/mainwnd.Tpo -c -o mainwnd.o mainwnd.c mainwnd.c: In function ‘UpdateMainDlg’: mainwnd.c:473:13: warning: variable ‘MainCancel_button’ set but not used [-Wunused-but-set-variable] mainwnd.c:472:13: warning: variable ‘SetDefault_button’ set but not used [-Wunused-but-set-variable] mv -f .deps/mainwnd.Tpo .deps/mainwnd.Po gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=""/usr/local/share"" -DPACKAGE_LOCALE_DIR=""/usr/local/share/locale"" -DPACKAGE_CONFIG_DIR=""/usr/share/cngplp/"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -O2 -Wall -g -O2 -MT printerinfo.o -MD -MP -MF .deps/printerinfo.Tpo -c -o printerinfo.o printerinfo.c mv -f .deps/printerinfo.Tpo .deps/printerinfo.Po gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=""/usr/local/share"" -DPACKAGE_LOCALE_DIR=""/usr/local/share/locale"" -DPACKAGE_CONFIG_DIR=""/usr/share/cngplp/"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -O2 -Wall -g -O2 -MT load.o -MD -MP -MF .deps/load.Tpo -c -o load.o load.c mv -f .deps/load.Tpo .deps/load.Po /bin/bash ../libtool --tag=CC --mode=link gcc -O2 -Wall -g -O2 -rpath /usr/local/lib -o cngplp main.o mainwnd.o printerinfo.o load.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lcups libtool: link: gcc -O2 -Wall -g -O2 -o cngplp main.o mainwnd.o printerinfo.o load.o /usr/lib/libglade-2.0.so -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 /usr/lib/arm-linux-gnueabihf/libcairo.so -lpango-1.0 /usr/lib/arm-linux-gnueabihf/libfreetype.so -lfontconfig -lgobject-2.0 -lglib-2.0 -lcups -Wl,-rpath -Wl,/usr/local/lib make[3]: Leaving directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/cngplp/src' Making all in cnjatool make[3]: Entering directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/cngplp/cnjatool' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -fPIC -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c mv -f .deps/main.Tpo .deps/main.Po /bin/bash ../libtool --tag=CC --mode=link gcc -O2 -Wall -fPIC -g -O2 -o cnjatool main.o -lcups libtool: link: gcc -O2 -Wall -fPIC -g -O2 -o cnjatool main.o -lcups make[3]: Leaving directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/cngplp/cnjatool' make[3]: Entering directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/cngplp' make[3]: Leaving directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/cngplp' make[2]: Leaving directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/cngplp' make[1]: Leaving directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/cngplp' (cd buftool; ./autogen.sh; make) || exit 1 **Warning**: I am going to run `configure' with no arguments. If you wish to pass any to it, please specify them on the `./autogen.sh' command line.
processing . Running aclocal ... Running autoheader... autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of `AC_DEFINE' and autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without autoheader: WARNING: `acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function `main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. Running automake --gnu ... Running autoconf ... Running ./configure ... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands Now type `make' to compile buftool make[1]: Entering directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/buftool' make all-am make[2]: Entering directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/buftool' gcc -DHAVE_CONFIG_H -I. -Wall -O2 -fPIC -g -O2 -MT buftool.o -MD -MP -MF .deps/buftool.Tpo -c -o buftool.o buftool.c mv -f .deps/buftool.Tpo .deps/buftool.Po gcc -DHAVE_CONFIG_H -I. -Wall -O2 -fPIC -g -O2 -MT buflist.o -MD -MP -MF .deps/buflist.Tpo -c -o buflist.o buflist.c mv -f .deps/buflist.Tpo .deps/buflist.Po rm -f libbuftool.a ar cru libbuftool.a buftool.o buflist.o ranlib libbuftool.a make[2]: Leaving directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/buftool' make[1]: Leaving directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/buftool' (cd backend; ./autogen.sh --prefix=/usr; make) || exit 1 processing . Running aclocal ... Running autoheader... autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of `AC_DEFINE' and autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without autoheader: WARNING: `acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function `main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. Running automake --gnu ... Running autoconf ... Running ./configure --prefix=/usr ... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking whether gcc needs -traditional... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for memmove... yes checking for memset... yes checking for select... yes checking for strchr... yes checking for strerror... yes checking for strncasecmp... yes checking for strstr... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands Now type `make' to compile backend make[1]: Entering directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/backend' make all-am make[2]: Entering directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/backend' gcc -DHAVE_CONFIG_H -I. -O2 -Wall -fPIC -g -O2 -MT cnusb.o -MD -MP -MF .deps/cnusb.Tpo -c -o cnusb.o cnusb.c cnusb.c: In function ‘main’: cnusb.c:992:3: warning: ‘httpSeparate’ is deprecated (declared at /usr/include/cups/http.h:367) [-Wdeprecated-declarations] mv -f .deps/cnusb.Tpo .deps/cnusb.Po gcc -O2 -Wall -fPIC -g -O2 -o cnusb cnusb.o -lcups make[2]: Leaving directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/backend' make[1]: Leaving directory `/home/pi/SourcesMod/SourcesAnpassung/cndrvcups-common-2.70/backend'
Blöde Frage, ich habs jetzt selbst nicht überprüft, gibts für den Drucker kein PPD-File ? Mit ner PPd-Datei wäre das ganze ja normal einfach zu machen.
Ein ppd-File gibt es, aber das reicht leider irgendwie nicht aus
Jens
nachdem ich mich heute noch einmal intensiv mit der Übersetzung des Treibers auseinander gesetzt habe, ist es mir gelungen make und make install/checkinstall -D make install soweit zu bringen, dass sie durchlaufen.
Ob weiterhin Fehler auftreten kann ich noch nicht abschließend sagen, da CUPS weiterhin Fehler meldet ("Unable to open listen socket for address [v1.::]:631 - Address family not supported by protocol.", "Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost", "[CGI] CUPS-Get-Devices request failed with status 401: Verboten", ...) und sich der Drucker nicht hinzufügen lässt.
Ich werde mich noch einnmal mit CUPS auseinandersetzen müssen.
Jens
Hallo Liste,
nachdem ich den heutigen Vormittag wieder mit meinem Raspberry und CUPS gerungen habe, und immer noch kein Erfolg zu verzeichnen ist. Bin ich ziemlich ratlos.
aktueller Stand: * Canon Treibermodule "cndrvcups-common-2.70" und "cndrvcups-lb-2.70" ohne erkennbare Fehlermeldung übersetzt und installiert * Drucker in CUPS eingerichtet * als Standard festgelegt
=> * Druckaufträge werden laut Debug-Meldungen von CUPS an den Drucker gesendet, werden dort jedoch nicht in Papier umgesetzt.
Unabhängig ob ich einen Testseite aus CUPS oder mittels lpr -v README absende erhalte ich keinen Hinweis, wo ich bei der Fehlersuche ansetzen soll.
Habt Ihr einen Hinweis oder Hilfestellung für mich?
Jens
CUPS-ErrorLog für einen mittels "lpr -v README" abgesendeten Druckauftrag:
D [28/Oct/2013:12:50:38 +0000] cupsdAcceptClient: 15 from localhost (Domain) D [28/Oct/2013:12:50:38 +0000] Report: clients=1 D [28/Oct/2013:12:50:38 +0000] Report: jobs=20 D [28/Oct/2013:12:50:38 +0000] Report: jobs-active=0 D [28/Oct/2013:12:50:38 +0000] Report: printers=1 D [28/Oct/2013:12:50:38 +0000] Report: printers-implicit=0 D [28/Oct/2013:12:50:38 +0000] Report: stringpool-string-count=1065 D [28/Oct/2013:12:50:38 +0000] Report: stringpool-alloc-bytes=8688 D [28/Oct/2013:12:50:38 +0000] Report: stringpool-total-bytes=19688 D [28/Oct/2013:12:50:38 +0000] cupsdReadClient: 15 POST / HTTP/1.1 D [28/Oct/2013:12:50:38 +0000] cupsdSetBusyState: newbusy="Active clients", busy="Not busy" D [28/Oct/2013:12:50:38 +0000] cupsdAuthorize: No authentication data provided. D [28/Oct/2013:12:50:38 +0000] cupsdReadClient: 15 1.1 CUPS-Get-Default 1 D [28/Oct/2013:12:50:38 +0000] CUPS-Get-Default D [28/Oct/2013:12:50:38 +0000] Returning IPP successful-ok for CUPS-Get-Default (no URI) from localhost D [28/Oct/2013:12:50:38 +0000] cupsdSetBusyState: newbusy="Not busy", busy="Active clients" D [28/Oct/2013:12:50:38 +0000] cupsdReadClient: 15 POST /printers/Canon_MF4100_Series HTTP/1.1 D [28/Oct/2013:12:50:38 +0000] cupsdSetBusyState: newbusy="Active clients", busy="Not busy" D [28/Oct/2013:12:50:38 +0000] cupsdAuthorize: No authentication data provided. D [28/Oct/2013:12:50:38 +0000] cupsdReadClient: 15 1.1 Create-Job 1 D [28/Oct/2013:12:50:38 +0000] Create-Job ipp://localhost:631/printers/Canon_MF4100_Series D [28/Oct/2013:12:50:38 +0000] cupsdMarkDirty(----J-) D [28/Oct/2013:12:50:38 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients" D [28/Oct/2013:12:50:38 +0000] add_job: requesting-user-name="pi" I [28/Oct/2013:12:50:38 +0000] [Job 21] Adding start banner page "none". D [28/Oct/2013:12:50:38 +0000] Discarding unused job-created event... I [28/Oct/2013:12:50:38 +0000] [Job 21] Queued on "Canon_MF4100_Series" by "pi". D [28/Oct/2013:12:50:38 +0000] Returning IPP successful-ok for Create-Job (ipp://localhost:631/printers/Canon_MF4100_Series) from localhost D [28/Oct/2013:12:50:38 +0000] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files" D [28/Oct/2013:12:50:38 +0000] cupsdReadClient: 15 POST /printers/Canon_MF4100_Series HTTP/1.1 D [28/Oct/2013:12:50:38 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files" D [28/Oct/2013:12:50:38 +0000] cupsdAuthorize: No authentication data provided. D [28/Oct/2013:12:50:38 +0000] cupsdReadClient: 15 1.1 Send-Document 1 D [28/Oct/2013:12:50:38 +0000] Send-Document ipp://localhost:631/printers/Canon_MF4100_Series D [28/Oct/2013:12:50:38 +0000] cupsdIsAuthorized: requesting-user-name="pi" D [28/Oct/2013:12:50:38 +0000] [Job 21] Auto-typing file... D [28/Oct/2013:12:50:38 +0000] [Job 21] Request file type is text/plain. D [28/Oct/2013:12:50:38 +0000] cupsdMarkDirty(----J-) D [28/Oct/2013:12:50:38 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files" I [28/Oct/2013:12:50:38 +0000] [Job 21] File of type text/plain queued by "pi". I [28/Oct/2013:12:50:38 +0000] [Job 21] Adding end banner page "none". D [28/Oct/2013:12:50:38 +0000] cupsdMarkDirty(----J-) D [28/Oct/2013:12:50:38 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files" D [28/Oct/2013:12:50:38 +0000] cupsdMarkDirty(----J-) D [28/Oct/2013:12:50:38 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files" D [28/Oct/2013:12:50:38 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files" D [28/Oct/2013:12:50:38 +0000] Discarding unused printer-state-changed event... D [28/Oct/2013:12:50:38 +0000] [Job 21] job-sheets=none,none D [28/Oct/2013:12:50:38 +0000] [Job 21] argv[0]="Canon_MF4100_Series" D [28/Oct/2013:12:50:38 +0000] [Job 21] argv[1]="21" D [28/Oct/2013:12:50:38 +0000] [Job 21] argv[2]="pi" D [28/Oct/2013:12:50:38 +0000] [Job 21] argv[3]="README" D [28/Oct/2013:12:50:38 +0000] [Job 21] argv[4]="1" D [28/Oct/2013:12:50:38 +0000] [Job 21] argv[5]="finishings=3 number-up=1 job-uuid=urn:uuid:51caabed-2f7a-3cd0-6cd6-66752d2bc2e9 job-originating-host-name=localhost time-at-creation=1382964638 time-at-processing=1382964638" D [28/Oct/2013:12:50:38 +0000] [Job 21] argv[6]="/var/spool/cups/d00021-001" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[1]="CUPS_DATADIR=/usr/share/cups" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[6]="CUPS_SERVERROOT=/etc/cups" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[7]="CUPS_STATEDIR=/var/run/cups" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[8]="HOME=/var/spool/cups/tmp" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[10]="SERVER_ADMIN=root@raspberrypi" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[11]="SOFTWARE=CUPS/1.5.3" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[12]="TMPDIR=/var/spool/cups/tmp" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[13]="TZ=Etc/UTC" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[14]="USER=root" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[16]="CUPS_ENCRYPTION=IfRequested" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[17]="IPP_PORT=631" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[18]="CHARSET=utf-8" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[19]="LANG=en_GB.UTF-8" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[20]="PPD=/etc/cups/ppd/Canon_MF4100_Series.ppd" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[21]="RIP_MAX_CACHE=128m" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[22]="CONTENT_TYPE=text/plain" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[23]="DEVICE_URI=usb://Canon/MF4100%20Series?serial=SD3011800809B&interface=1" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[24]="PRINTER_INFO=Canon MF4150 Drucker" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[25]="PRINTER_LOCATION=" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[26]="PRINTER=Canon_MF4100_Series" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[27]="PRINTER_STATE_REASONS=none" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[28]="CUPS_FILETYPE=document" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[29]="FINAL_CONTENT_TYPE=printer/Canon_MF4100_Series" D [28/Oct/2013:12:50:38 +0000] [Job 21] envp[30]="AUTH_I****" I [28/Oct/2013:12:50:38 +0000] [Job 21] Started filter /usr/lib/cups/filter/texttopdf (PID 17457) I [28/Oct/2013:12:50:38 +0000] [Job 21] Started filter /usr/lib/cups/filter/pdftopdf (PID 17458) I [28/Oct/2013:12:50:38 +0000] [Job 21] Started filter /usr/lib/cups/filter/pdftops (PID 17459) I [28/Oct/2013:12:50:38 +0000] [Job 21] Started filter /usr/lib/cups/filter/pstoufr2cpca (PID 17460) I [28/Oct/2013:12:50:38 +0000] [Job 21] Started backend /usr/lib/cups/backend/usb (PID 17461) D [28/Oct/2013:12:50:38 +0000] Discarding unused job-state-changed event... D [28/Oct/2013:12:50:38 +0000] Returning IPP successful-ok for Send-Document (ipp://localhost:631/printers/Canon_MF4100_Series) from localhost D [28/Oct/2013:12:50:38 +0000] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients and dirty files" D [28/Oct/2013:12:50:38 +0000] cupsdReadClient: 15 WAITING Closing on EOF D [28/Oct/2013:12:50:38 +0000] cupsdCloseClient: 15 D [28/Oct/2013:12:50:38 +0000] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files" D [28/Oct/2013:12:50:38 +0000] [Job 21] pstoufr2cpca start. D [28/Oct/2013:12:50:38 +0000] [Job 21] pdftops - copying to temp print file "/var/spool/cups/tmp/0443352792d84" D [28/Oct/2013:12:50:38 +0000] [Job 21] Printing on printer with URI: usb://Canon/MF4100%20Series?serial=SD3011800809B&interface=1 D [28/Oct/2013:12:50:38 +0000] [Job 21] libusb_get_device_list=4 D [28/Oct/2013:12:50:38 +0000] [Job 21] STATE: +connecting-to-device D [28/Oct/2013:12:50:38 +0000] Discarding unused printer-state-changed event... D [28/Oct/2013:12:50:38 +0000] [Job 21] Page = 595x842; 14,17 to 581,825 D [28/Oct/2013:12:50:38 +0000] [Job 21] STATE: -connecting-to-device D [28/Oct/2013:12:50:38 +0000] Discarding unused printer-state-changed event... D [28/Oct/2013:12:50:38 +0000] [Job 21] Device protocol: 2 I [28/Oct/2013:12:50:38 +0000] [Job 21] Sending data to printer. D [28/Oct/2013:12:50:38 +0000] [Job 21] Set job-printer-state-message to "Sending data to printer.", current level=INFO D [28/Oct/2013:12:50:38 +0000] Discarding unused job-progress event... D [28/Oct/2013:12:50:38 +0000] Discarding unused printer-state-changed event... D [28/Oct/2013:12:50:38 +0000] PID 17457 (/usr/lib/cups/filter/texttopdf) exited with no errors. D [28/Oct/2013:12:50:38 +0000] PID 17458 (/usr/lib/cups/filter/pdftopdf) exited with no errors. D [28/Oct/2013:12:50:38 +0000] [Job 21] Using image rendering resolution 600 dpi D [28/Oct/2013:12:50:38 +0000] [Job 21] Started filter gs (PID 17464) D [28/Oct/2013:12:50:38 +0000] [Job 21] Started filter pstops (PID 17465) D [28/Oct/2013:12:50:40 +0000] [Job 21] Page = 595x842; 14,17 to 581,825 D [28/Oct/2013:12:50:40 +0000] [Job 21] slow_collate=0, slow_duplex=0, slow_order=0 D [28/Oct/2013:12:50:40 +0000] [Job 21] Before copy_comments - %!PS-Adobe-3.0 D [28/Oct/2013:12:50:40 +0000] [Job 21] %!PS-Adobe-3.0 D [28/Oct/2013:12:50:40 +0000] [Job 21] %%BoundingBox: 0 0 595 842 D [28/Oct/2013:12:50:40 +0000] [Job 21] %%Creator: GPL Ghostscript 905 (ps2write) D [28/Oct/2013:12:50:40 +0000] [Job 21] %%LanguageLevel: 2 D [28/Oct/2013:12:50:40 +0000] [Job 21] %%CreationDate: D:20131028125039Z00'00' D [28/Oct/2013:12:50:40 +0000] [Job 21] %%Pages: 1 D [28/Oct/2013:12:50:40 +0000] [Job 21] %%EndComments D [28/Oct/2013:12:50:40 +0000] [Job 21] Before copy_prolog - %%BeginProlog D [28/Oct/2013:12:50:40 +0000] [Job 21] Before copy_setup - %%Page: 1 1 D [28/Oct/2013:12:50:40 +0000] [Job 21] Before page loop - %%Page: 1 1 D [28/Oct/2013:12:50:40 +0000] [Job 21] Copying page 1... D [28/Oct/2013:12:50:40 +0000] [Job 21] pagew = 566.7, pagel = 808.0 D [28/Oct/2013:12:50:40 +0000] [Job 21] bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 842 D [28/Oct/2013:12:50:40 +0000] [Job 21] PageLeft = 14.2, PageRight = 580.8 D [28/Oct/2013:12:50:40 +0000] [Job 21] PageTop = 825.0, PageBottom = 17.0 D [28/Oct/2013:12:50:40 +0000] [Job 21] PageWidth = 595.0, PageLength = 842.0 D [28/Oct/2013:12:50:40 +0000] [Job 21] PID 17464 (gs) exited with no errors. D [28/Oct/2013:12:50:40 +0000] [Job 21] Wrote 1 pages... D [28/Oct/2013:12:50:40 +0000] [Job 21] PID 17465 (pstops) exited with no errors. D [28/Oct/2013:12:50:40 +0000] PID 17459 (/usr/lib/cups/filter/pdftops) exited with no errors. D [28/Oct/2013:12:50:41 +0000] [Job 21] Read 50 bytes of print data... D [28/Oct/2013:12:50:41 +0000] [Job 21] Wrote 50 bytes of print data... D [28/Oct/2013:12:50:41 +0000] [Job 21] Sent 50 bytes... D [28/Oct/2013:12:50:41 +0000] PID 17460 (/usr/lib/cups/filter/pstoufr2cpca) did not catch or ignore signal 13. D [28/Oct/2013:12:50:41 +0000] [Job 21] Waiting for read thread to exit... D [28/Oct/2013:12:50:41 +0000] PID 17461 (/usr/lib/cups/backend/usb) exited with no errors. D [28/Oct/2013:12:50:41 +0000] Discarding unused job-completed event... I [28/Oct/2013:12:50:41 +0000] [Job 21] Job completed. D [28/Oct/2013:12:50:41 +0000] cupsdMarkDirty(----J-) D [28/Oct/2013:12:50:41 +0000] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files" D [28/Oct/2013:12:50:41 +0000] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files" D [28/Oct/2013:12:50:41 +0000] Discarding unused printer-state-changed event... D [28/Oct/2013:12:50:42 +0000] [Job 21] Unloading... D [28/Oct/2013:12:50:51 +0000] cupsdAcceptClient: 15 from localhost:631 (IPv4) D [28/Oct/2013:12:50:51 +0000] cupsdReadClient: 15 GET /admin/log/error_log? HTTP/1.1 D [28/Oct/2013:12:50:51 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Printing jobs and dirty files" D [28/Oct/2013:12:50:51 +0000] cupsdAuthorize: Authorized as pi using Basic D [28/Oct/2013:12:50:52 +0000] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files" I [28/Oct/2013:12:51:09 +0000] Saving job.cache... D [28/Oct/2013:12:51:09 +0000] cupsdSetBusyState: newbusy="Not busy", busy="Dirty files" D [28/Oct/2013:12:52:56 +0000] cupsdReadClient: 15 WAITING Closing on EOF D [28/Oct/2013:12:52:56 +0000] cupsdCloseClient: 15 D [28/Oct/2013:12:52:56 +0000] cupsdSetBusyState: newbusy="Not busy", busy="Not busy" D [28/Oct/2013:12:52:56 +0000] Report: clients=0 D [28/Oct/2013:12:52:56 +0000] Report: jobs=21 D [28/Oct/2013:12:52:56 +0000] Report: jobs-active=0 D [28/Oct/2013:12:52:56 +0000] Report: printers=1 D [28/Oct/2013:12:52:56 +0000] Report: printers-implicit=0 D [28/Oct/2013:12:52:56 +0000] Report: stringpool-string-count=1067 D [28/Oct/2013:12:52:56 +0000] Report: stringpool-alloc-bytes=8688 D [28/Oct/2013:12:52:56 +0000] Report: stringpool-total-bytes=19720 D [28/Oct/2013:12:53:53 +0000] cupsdAcceptClient: 15 from localhost:631 (IPv4) D [28/Oct/2013:12:53:53 +0000] cupsdReadClient: 15 GET /admin/log/error_log? HTTP/1.1 D [28/Oct/2013:12:53:53 +0000] cupsdSetBusyState: newbusy="Active clients", busy="Not busy" D [28/Oct/2013:12:53:53 +0000] cupsdAuthorize: Authorized as pi using Basic D [28/Oct/2013:12:53:54 +0000] cupsdSetBusyState: newbusy="Not busy", busy="Active clients" D [28/Oct/2013:12:54:01 +0000] cupsdReadClient: 15 WAITING Closing on EOF D [28/Oct/2013:12:54:01 +0000] cupsdCloseClient: 15 D [28/Oct/2013:12:54:01 +0000] cupsdSetBusyState: newbusy="Not busy", busy="Not busy" D [28/Oct/2013:12:54:01 +0000] Report: clients=0 D [28/Oct/2013:12:54:01 +0000] Report: jobs=21 D [28/Oct/2013:12:54:01 +0000] Report: jobs-active=0 D [28/Oct/2013:12:54:01 +0000] Report: printers=1 D [28/Oct/2013:12:54:01 +0000] Report: printers-implicit=0 D [28/Oct/2013:12:54:01 +0000] Report: stringpool-string-count=1067 D [28/Oct/2013:12:54:01 +0000] Report: stringpool-alloc-bytes=8688 D [28/Oct/2013:12:54:01 +0000] Report: stringpool-total-bytes=19720 D [28/Oct/2013:12:54:01 +0000] cupsdAcceptClient: 15 from localhost:631 (IPv4) D [28/Oct/2013:12:54:01 +0000] cupsdReadClient: 15 GET /admin/log/error_log? HTTP/1.1 D [28/Oct/2013:12:54:01 +0000] cupsdSetBusyState: newbusy="Active clients", busy="Not busy" D [28/Oct/2013:12:54:01 +0000] cupsdAuthorize: Authorized as pi using Basic
lug-dd@mailman.schlittermann.de