Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 15/02/2023, à 19:58

Lechervillois

[Résolu] Epson R800 - pilote absent

Bonjour. Mon imprimante Espon stylus photo ne fonctionne plus si branchée sur mon nouveau PC sous Ubuntu 22.04.1 LTS.
Elle apparait bien comme imprimante du PC. Cups envoie les taches et signale que l'impression a eu lieu mais en fait rien ne se passe.
En recherchant le pilote utilisé, j'ai remarqué que le pilote R800 qui existait dans les versions d'Ubuntu précédentes n'apparait plus.
C'est le pilote de l'epson stylos photo 750 qui est utilisé et c'est le seul présent sur la distribution.
J'ai donc cherché le pilote R800 sur le site Epson où il existe bien. Mais c'est une archive a compiler...
J'ai lancé cette compilation après avoir téléchargé l'archive.
Le /.configure  a donné :

patrice@Cherville:~/Epson/pips-spr800-2.6.2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for file... /usr/bin/file
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC 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.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for cups-config... no
./configure: line 7470: test: =: unary operator expected
configure: error: *** 'cups-config' missing, please install CUPS or fix your $PATH ***
patrice@Cherville:~/Epson/pips-spr800-2.6.2$ 

J'ai donc cherché cups-config et mis le chemin dans le $PATH
Nouveau /.configure

patrice@Cherville:~/Epson/pips-spr800-2.6.2$ export PATH=$PATH:/snap/cups/872/bin
patrice@Cherville:~/Epson/pips-spr800-2.6.2$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/snap/cups/872/bin
patrice@Cherville:~/Epson/pips-spr800-2.6.2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for file... /usr/bin/file
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC 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.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for cups-config... yes
checking for dlopen in -ldl... yes
checking for pthread_create in -lpthread... yes
checking for gtk-config... no
checking for GTK - version >= 0.99.7... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for strerror in -lcposix... no
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... (cached) yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for working malloc... yes
checking for working memcmp... yes
checking return type of signal handlers... void
checking for alarm... yes
checking for gettimeofday... yes
checking for memset... yes
checking for mkfifo... yes
checking for select... yes
checking for socket... yes
checking for strcspn... yes
checking for strstr... yes
checking for ranlib... (cached) ranlib
checking for inline... inline
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for limits.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for GNU gettext in libc... yes
checking for dcgettext... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for bison... no
checking for catalogs to be installed...  de en es fr it ja nl pt ko zh zh_TW
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating dtrfilter/Makefile
config.status: creating ekpd/Makefile
config.status: creating ekpd/rc/Makefile
config.status: creating ekpnavi/Makefile
config.status: creating ekpstm/Makefile
config.status: creating freset/Makefile
config.status: creating intl/Makefile
config.status: creating layout_script/Makefile
config.status: creating lib/Makefile
config.status: creating pixmaps/Makefile
config.status: creating po/Makefile.in
config.status: creating ppd/Makefile
config.status: creating setup/Makefile
config.status: creating redhat/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure: configuring in libltdl
configure: running /bin/bash './configure' --prefix=/usr  --enable-ltdl-convenience --cache-file=/dev/null --srcdir=.
loading cache /dev/null
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for working const... yes
checking for inline... inline
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... gcc -E
checking host system type... x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for file... /usr/bin/file
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC 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.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether gcc supports assert without backlinking... 
checking which extension is used for shared libraries... .so
checking which variable specifies run-time library path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for objdir... .libs
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen in -ldl... yes
checking for dlerror... yes
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_append... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking for errno.h... yes
checking for malloc.h... yes
checking for memory.h... yes
checking for stdlib.h... yes
checking for stdio.h... yes
checking for ctype.h... yes
checking for unistd.h... yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for string.h... yes
checking for strchr... yes
checking for strrchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for strcmp... yes
updating cache /dev/null
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
patrice@Cherville:~/Epson/pips-spr800-2.6.2$ 

Le make me donne l'erreur fatale...

patrice@Cherville:~/Epson/pips-spr800-2.6.2$ make
make  all-recursive
make[1] : on entre dans le répertoire « /home/patrice/Epson/pips-spr800-2.6.2 »
Making all in libltdl
make[2] : on entre dans le répertoire « /home/patrice/Epson/pips-spr800-2.6.2/libltdl »
/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c ltdl.c
rm -f .libs/ltdl.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c  -fPIC -DPIC -o .libs/ltdl.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1
mv -f .libs/ltdl.lo ltdl.lo
/bin/bash ./libtool --mode=link gcc  -g -O2  -o libltdlc.la   ltdl.lo -ldl 
rm -fr .libs/libltdlc.la .libs/libltdlc.* .libs/libltdlc.*
ar cru .libs/libltdlc.al ltdl.lo
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib .libs/libltdlc.al
creating libltdlc.la
(cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la)
make[2] : on quitte le répertoire « /home/patrice/Epson/pips-spr800-2.6.2/libltdl »
Making all in src
make[2] : on entre dans le répertoire « /home/patrice/Epson/pips-spr800-2.6.2/src »
gcc -DHAVE_CONFIG_H -I. -I. -I..    -DGS_PATH=\"gs\" -DLOCALEDIR=\"/usr/share/locale\" -DPRINTER_MODEL="\"Stylus Photo R800\"" -DSPR800 -DLIBPATH=\"/usr/lib/libspr800.so\" -DRSC_PATH=\"/etc/pipsrc\" -DSPOOL_NAME=\"spr800\" -DLOCALE_PATH=\"/usr/share/locale\" -DNAVI_PATH=\"/usr/bin/ekpnavi\" -DDATA_PATH=\"/usr/local/EPKowa/SPR800\" -DRULED_PATH=\"/usr/local/EPKowa/SPR800/BID.PRN\" -DPATCH_PATH=\"/usr/local/EPKowa/SPR800/PATCH.PRN\" -DBAND_PATH=\"/usr/local/EPKowa/SPR800/BAND.PRN\" -DCUT_PATH=\"/usr/local/EPKowa/SPR800/CUT.PRN\" -D_LPR_DIRECT -fsigned-char -DCUPS_FILTER_PATH=\"//lib/cups/filter\" -g -O2 -Wall -c pfimg.c
In file included from pfpng_ext.h:34,
                 from pfimg.c:39:
pfpng.h:33:10: fatal error: png.h: Aucun fichier ou dossier de ce type
   33 | #include <png.h>
      |          ^~~~~~~
compilation terminated.
make[2]: *** [Makefile:235 : pfimg.o] Erreur 1
make[2] : on quitte le répertoire « /home/patrice/Epson/pips-spr800-2.6.2/src »
make[1]: *** [Makefile:194 : all-recursive] Erreur 1
make[1] : on quitte le répertoire « /home/patrice/Epson/pips-spr800-2.6.2 »
make: *** [Makefile:339 : all-recursive-am] Erreur 2
patrice@Cherville:~/Epson/pips-spr800-2.6.2$ 

Mes compétences limitées s'arrêtent là !
Problème de chemin dû à la modification du $PATH...
Si quelqu'un a une idée, grand merci.
J'aimerai garder encore un peu ma R800 (il y a de l'encre encore dedans...).
Merci de m'avoir lu.
--
Lechervillois

Dernière modification par Lechervillois (Le 15/02/2023, à 21:25)

Hors ligne

#2 Le 15/02/2023, à 20:23

xubu1957

Re : [Résolu] Epson R800 - pilote absent

Bonjour,

> openprinting.org/printer/Epson/Epson-Stylus_Photo_R800

Et avec gutenprint ?

> gimp-print.sourceforge.net/p_Supported_Printers.php

sudo apt install printer-driver-gutenprint

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#3 Le 15/02/2023, à 20:55

Lechervillois

Re : [Résolu] Epson R800 - pilote absent

Gutenprint est déjà installé.
Je vais voir avec le driver en .deb.
Merci.

--
Lechervillois

Hors ligne

#4 Le 15/02/2023, à 21:24

Lechervillois

Re : [Résolu] Epson R800 - pilote absent

Le paquet .deb signalé dans le lien s'installe parfaitement bien et ça marche smile
C'est plus facile que les sources à compiler !
Encore faut-il trouver le paquet : grand merci xubu 1957.

--
Lechervillois

Hors ligne