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'