Dies ist eine alte Version des Dokuments!
Scan- und Druckstation
Nachdem mein letzter All-In-One-Drucker, trotz einhalten aller Herstellerangaben, exakt am Ende der Garantie komisch wurde habe Ich mich entschieden wieder auf getrennte Geräte zu setzen. So steht mir aktuell ein HP FarbLaser sowie ein Canon Scan Lide 90 Flachbettscanner tapfer zur Seite. Da der letzte immer wieder Probleme mit aktuelleren Systemen macht möchte Ich beide Geräte nun über einen ungenutzten Rapsberry Pi anbinden und so auf Knopfdruck Scannen zu können und über normale Freigaben die Dateien abrufen zu können. Genauso soll dann der Drucker via Relais eingeschaltet werden können und über den Druckserver dem Netzwerk die Aufträge gezielt abnehmen. Meine Hoffnung ist das dann bei Gerätewechsel die Einrichtung nur einmal geändert werden muss.
Teil 1: Der Scanner
Habt Ihr schon mal ein Packe auf einem RPI1/Zero gebaut? KATASTROPHE! Dazu später mehr.
Install:
Links: https://wiki.ubuntuusers.de/SANE/Kompilieren/ http://woshub.com/too-many-open-files-error-linux/ https://stackoverflow.com/questions/22603163/automake-error-ltmain-sh-not-found
sudo apt-get install build-essential gettext git libusb-dev linux-headers-generic libtool autoconf automake autopoint
cd ~/src git clone https://gitlab.com/sane-project/backends.git
Problem: beim ausführen von „./autoconfiure.sh“ kommt immer Cant reopen file ltmain.sh
patch: **** Can't reopen file ./ltmain.sh./autogen.sh: Zeile 28: 858 Speicherzugriffsfehler patch "$srcdir/ltmain.sh" "$patchdir/ltmain.sh.patch" patching file ./po/Rules-quot Hunk #1 FAILED at 22. patch: **** Can't reopen file ./po/Rules-quot : No such file or directory
https://www.raspberrypi.org/forums/viewtopic.php?t=297142 Oben in die Liste mit aufgenommen und siehe da: Es geht weiter <3
pi@raspberrypi:~/sane/backends $ ./autogen.sh Copying file to ./m4/ax_create_stdint_h.m4 patching file ./m4/ax_create_stdint_h.m4 to #serial 20 patching file ./m4/ax_create_stdint_h.m4 to #serial 21 autoreconf: Entering directory `.' autoreconf: running: autopoint --force Copying file ABOUT-NLS Copying file config.rpath Copying file m4/codeset.m4 Copying file m4/extern-inline.m4 Copying file m4/fcntl-o.m4 Copying file m4/gettext.m4 Copying file m4/glibc2.m4 Copying file m4/glibc21.m4 Copying file m4/iconv.m4 Copying file m4/intdiv0.m4 Copying file m4/intl.m4 Copying file m4/intldir.m4 Copying file m4/intlmacosx.m4 Copying file m4/intmax.m4 Copying file m4/inttypes-pri.m4 Copying file m4/inttypes_h.m4 Copying file m4/lcmessage.m4 Copying file m4/lib-ld.m4 Copying file m4/lib-link.m4 Copying file m4/lib-prefix.m4 Copying file m4/lock.m4 Copying file m4/longlong.m4 Copying file m4/nls.m4 Copying file m4/po.m4 Copying file m4/printf-posix.m4 Copying file m4/progtest.m4 Copying file m4/size_max.m4 Copying file m4/stdint_h.m4 Copying file m4/threadlib.m4 Copying file m4/uintmax_t.m4 Copying file m4/visibility.m4 Copying file m4/wchar_t.m4 Copying file m4/wint_t.m4 Copying file m4/xsize.m4 Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/boldquot.sed Copying file po/en@boldquot.header Copying file po/en@quot.header Copying file po/insert-header.sin Copying file po/quot.sed Copying file po/remove-potcdate.sin autoreconf: running: aclocal --force --warnings=all -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --force --warnings=all autoreconf: running: /usr/bin/autoheader --force --warnings=all autoreconf: running: automake --add-missing --copy --force-missing --warnings=all configure.ac:56: installing './ar-lib' configure.ac:37: installing './compile' configure.ac:57: installing './config.guess' configure.ac:57: installing './config.sub' configure.ac:13: installing './install-sh' configure.ac:13: installing './missing' Makefile.am: installing './INSTALL' backend/Makefile.am:33: warning: '%'-style pattern rules are a GNU make extension backend/Makefile.am:37: warning: '%'-style pattern rules are a GNU make extension backend/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' autoreconf: Leaving directory `.' patching file ./ltmain.sh patching file ./po/Rules-quot backend/Makefile.am:33: warning: '%'-style pattern rules are a GNU make extension backend/Makefile.am:37: warning: '%'-style pattern rules are a GNU make extension
./configure BACKENDS="canon genesys net"