[Imprimante] Canon MP560 : installation compliquée (Résolu)

Reconnaissance et configuration du matériel / kernel linux
Répondre
DomS
archer de cavalerie
Messages : 181
Inscription : sam. 21 nov. 2009, 13:52
Localisation : Toulouse

[Imprimante] Canon MP560 : installation compliquée (Résolu)

Message par DomS »

Bonjour à tous,
J'ai quelques problèmes avec l'installation de mon imprimante, la canon Mp560.
J'ai suivi les instructions sur http://oldwiki.archlinux.fr/howto/materiel/imprimante en utilisant le .ppd de la MP550 dont la 560 est la petite soeur. Cela a fonctionné pendant quelques jours mais maintenant cela ne veut plus fonctionner. En effet, quand je lance une impression, l'écran digital de mon imprimante affiche qu'elle est en train de recevoir la demande d'impression... puis plus rien. Rien ne s'imprime.
Je vais donc sur le site canon ou je trouve les sources des drivers pourmon imprimante.
Or, l'archive est un .tar, que je ne sais pas manipuler.
Il existe aussi un fichier .deb ou un fichier .rpm
Est-ce que quelqu'un pourrais me donner un coup de main svp ?
Je précise que l'utilisation des mêmes drivers libres fonctionnent sous ubuntu ou debian, même sans utilisation des drivers proprio (les drivers proprio apportent seulement plus de fonctions d'impression);

Edit : l'impression d'une page de test fonctionne par contre)
Dernière modification par DomS le dim. 12 févr. 2012, 13:56, modifié 1 fois.
DomS
archer de cavalerie
Messages : 181
Inscription : sam. 21 nov. 2009, 13:52
Localisation : Toulouse

Re: [Imprimante] Canon MP560 : installation compliquée.

Message par DomS »

Bon, en cherchant encore plus, je suis tombé sur un paquet AUR qui malheureusement est périmé : https://aur.archlinux.org/packages.php?ID=37723
J'ai tenté l'installation quand même en changeant le PKGBUILD pour le rendre accessible à mon système 64 bits et j'obtiens :

Code : Tout sélectionner

yaourt  -S cnijfilter-mp560

==> Téléchargement du PKGBUILD de cnijfilter-mp560 depuis AUR...
x grayscale.patch
x cnijfilter-mp560.install
x PKGBUILD


Comment by: prurigro on Thu, 17 Feb 2011 07:30:13 +0000
To get it to work properly, I needed to add the following to the end of the PKGBUILD:

ln -s pstocanonijmp560 ${pkgdir}/usr/lib/cups/filter/pstocanonij || return 1

First Submitted: Mon, 31 May 2010 20:15:38 +0000
cnijfilter-mp560 3.20-2 
This package is orphaned
( Paquet non supporté : peut être dangereux ! )
==> Éditer PKGBUILD ? [O/n] ("A" pour annuler)
==> ------------------------------------------
==> 

Veuillez ajouter $EDITOR à vos variables d'environnement
par exemple :
export EDITOR="vim" (dans ~/.bashrc)
(remplacez vim par votre éditeur favori)

==> Éditer PKGBUILD avec : leafpad

==> Dépendances de cnijfilter-mp560 :
 - patch (déjà installé)
 - libcups (déjà installé)
 - cups (déjà installé)
 - popt (déjà installé)
 - ghostscript (déjà installé)
 - gsfonts (déjà installé)
 - atk>=1.9.0 (déjà installé)
 - gtk2>=2.8.0 (déjà installé)
 - pango>=1.12.3 (déjà installé)
 - libpng>=1.2.8 (déjà installé)
 - libtiff (déjà installé)
 - cairo>=1.0.2 (déjà installé)
 - libxml2>=2.6.24 (déjà installé)
 - fontconfig>=2.3.0 (déjà installé)
 - libxinerama (déjà installé)
 - autoconf>=2.13 (déjà installé)
 - automake>=1.6 (déjà installé)
 - tar (déjà installé)
 - make (déjà installé)
 - gcc (déjà installé)


==> Éditer PKGBUILD ? [O/n] ("A" pour annuler)
==> ------------------------------------------
==> n

==> Éditer cnijfilter-mp560.install ? [O/n] ("A" pour annuler)
==> ----------------------------------------------------------
==> n

==> Lancer la compilation de cnijfilter-mp560 ? [O/n]
==> -------------------------------------------------
==> 
==> Construction et installation du paquet
==> Création du paquet cnijfilter-mp560 3.20-2 (dim. févr. 12 13:25:11 CET 2012)
==> Vérification des dépendances pour l'exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
  -> Téléchargement de cnijfilter-source-3.20-1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 6342k  100 6342k    0     0   673k      0  0:00:09  0:00:09 --:--:--  419k
  -> grayscale.patch trouvé
==> Validation des fichiers sources avec md5sums...
    cnijfilter-source-3.20-1.tar.gz ... Réussite
    grayscale.patch ... Réussite
==> Extraction des sources...
  -> Extraction de cnijfilter-source-3.20-1.tar.gz avec bsdtar
==> Entre dans l'environnement fakeroot…
==> Lancement de build()...
patching file canonmp560.ppd
processing .
Running libtoolize...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize:   `/usr/share/aclocal/libtool.m4'
libtoolize:   `/usr/share/aclocal/ltoptions.m4'
libtoolize:   `/usr/share/aclocal/ltversion.m4'
libtoolize:   `/usr/share/aclocal/ltsugar.m4'
libtoolize:   `/usr/share/aclocal/lt~obsolete.m4'
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  ...
configure.in:11: installing `./config.guess'
configure.in:11: installing `./config.sub'
configure.in:2: installing `./install-sh'
configure.in:2: installing `./missing'
buftool/Makefile.am: installing `./depcomp'
Makefile.am: installing `./COPYING' using GNU General Public License v3 file
Makefile.am:     Consider adding the COPYING file to the version control system
Makefile.am:     for your code, to avoid questions about which license your project uses.
Running autoconf ...
Running ./configure --prefix=/usr --program-suffix=mp560 ...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
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 whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu 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... no
checking if : is a manifest tool... no
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 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 -m elf_x86_64) 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 how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for pid_t... 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... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for dup2... yes
checking for memset... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating buftool/Makefile
config.status: creating paramlist/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Now type `make' to compile buftool
make  all-recursive
make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs »
Making all in paramlist
make[2] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs/paramlist »
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -O2 -Wall -O2 -MT paramlist.lo -MD -MP -MF .deps/paramlist.Tpo -c -o paramlist.lo paramlist.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -O2 -MT paramlist.lo -MD -MP -MF .deps/paramlist.Tpo -c paramlist.c  -fPIC -DPIC -o .libs/paramlist.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -O2 -MT paramlist.lo -MD -MP -MF .deps/paramlist.Tpo -c paramlist.c -o paramlist.o >/dev/null 2>&1
mv -f .deps/paramlist.Tpo .deps/paramlist.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc -O2 -Wall -O2  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o libparamlist.la  paramlist.lo  
libtool: link: ar cru .libs/libparamlist.a .libs/paramlist.o 
libtool: link: ranlib .libs/libparamlist.a
libtool: link: ( cd ".libs" && rm -f "libparamlist.la" && ln -s "../libparamlist.la" "libparamlist.la" )
make[2] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs/paramlist »
Making all in buftool
make[2] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs/buftool »
gcc -DHAVE_CONFIG_H -I. -I..     -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. -I..     -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] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs/buftool »
make[2] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs »
make[2] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs »
make[1] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs »
Making install in paramlist
make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs/paramlist »
make[2] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs/paramlist »
make[2]: Rien à faire pour « install-exec-am ».
make[2]: Rien à faire pour « install-data-am ».
make[2] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs/paramlist »
make[1] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs/paramlist »
Making install in buftool
make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs/buftool »
make[2] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs/buftool »
make[2]: Rien à faire pour « install-exec-am ».
make[2]: Rien à faire pour « install-data-am ».
make[2] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs/buftool »
make[1] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs/buftool »
make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs »
make[2] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs »
make[2]: Rien à faire pour « install-exec-am ».
make[2]: Rien à faire pour « install-data-am ».
make[2] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs »
make[1] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs »
processing .
Running libtoolize...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize:   `/usr/share/aclocal/libtool.m4'
libtoolize:   `/usr/share/aclocal/ltoptions.m4'
libtoolize:   `/usr/share/aclocal/ltversion.m4'
libtoolize:   `/usr/share/aclocal/ltsugar.m4'
libtoolize:   `/usr/share/aclocal/lt~obsolete.m4'
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...
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  ...
configure.in:20: installing `./config.guess'
configure.in:20: installing `./config.sub'
configure.in:2: installing `./install-sh'
configure.in:2: installing `./missing'
cngpij/Makefile.am: installing `./depcomp'
Running autoconf ...
Running ./configure --prefix=/usr --program-suffix=mp560 --enable-progpath=/usr/bin ...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
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 whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu 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... no
checking if : is a manifest tool... no
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 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 -m elf_x86_64) 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 how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for main in -lcups... yes
checking for main in -lparamlist... no
checking for main in -lpopt... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.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/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for pid_t... 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... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memset... yes
checking for socket... yes
checking for strdup... yes
checking for strrchr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cngpij/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Now type `make' to compile
make  all-recursive
make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij »
Making all in cngpij
make[2] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij/cngpij »
gcc -DHAVE_CONFIG_H -I. -I..    -O2 -Wall -I../include/cncl -I../include/misc -I../../libs/paramlist -O2 -MT bjcups.o -MD -MP -MF .deps/bjcups.Tpo -c -o bjcups.o bjcups.c
bjcups.c: In function ‘main’:
bjcups.c:823:14: attention : assignment discards ‘const’ qualifier from pointer target type [enabled by default]
mv -f .deps/bjcups.Tpo .deps/bjcups.Po
gcc -DHAVE_CONFIG_H -I. -I..    -O2 -Wall -I../include/cncl -I../include/misc -I../../libs/paramlist -O2 -MT getipc.o -MD -MP -MF .deps/getipc.Tpo -c -o getipc.o getipc.c
getipc.c: In function ‘GetIPCData’:
getipc.c:62:48: attention : passing argument 3 of ‘accept’ from incompatible pointer type [enabled by default]
/usr/include/sys/socket.h:214:12: note: expected ‘socklen_t * __restrict__’ but argument is of type ‘size_t *’
mv -f .deps/getipc.Tpo .deps/getipc.Po
gcc -DHAVE_CONFIG_H -I. -I..    -O2 -Wall -I../include/cncl -I../include/misc -I../../libs/paramlist -O2 -MT bjutil.o -MD -MP -MF .deps/bjutil.Tpo -c -o bjutil.o bjutil.c
mv -f .deps/bjutil.Tpo .deps/bjutil.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc -O2 -Wall -I../include/cncl -I../include/misc -I../../libs/paramlist -O2 -L../../libs/paramlist -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o cngpij bjcups.o getipc.o bjutil.o -lpopt -lcups -lparamlist  -lpopt -lcups 
libtool: link: gcc -O2 -Wall -I../include/cncl -I../include/misc -I../../libs/paramlist -O2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o cngpij bjcups.o getipc.o bjutil.o  -L../../libs/paramlist /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/libs/paramlist/.libs/libparamlist.a -lpopt -lcups
make[2] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij/cngpij »
make[2] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij »
make[2] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij »
make[1] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij »
Making install in cngpij
make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij/cngpij »
make[2] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij/cngpij »
test -z "/usr/bin" || /bin/mkdir -p "/tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/pkg/usr/bin"
  /bin/sh ../libtool   --mode=install /bin/install -c cngpij '/tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/pkg/usr/bin/./cngpijmp560'
libtool: install: /bin/install -c cngpij /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/pkg/usr/bin/./cngpijmp560
make[2]: Rien à faire pour « install-data-am ».
make[2] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij/cngpij »
make[1] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij/cngpij »
make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij »
make[2] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij »
make[2]: Rien à faire pour « install-exec-am ».
make[2]: Rien à faire pour « install-data-am ».
make[2] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij »
make[1] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cngpij »
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  ...
configure.in:27: installing `./install-sh'
configure.in:27: installing `./missing'
src/Makefile.am: installing `./depcomp'
Running autoconf ...
Running ./configure --prefix=/usr --program-suffix=mp560 --enable-progpath=/usr/bin ...
configure: WARNING: unrecognized options: --enable-progpath
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... 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... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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 unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for socket... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/Makefile
config.status: creating include/cncl/Makefile
config.status: creating include/misc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --enable-progpath
Now type `make' to compile the package.
make  all-recursive
make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cnijfilter »
Making all in src
make[2] : on entre dans le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cnijfilter/src »
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/cncl -I../include/misc    -O2 -MT bjferror.o -MD -MP -MF .deps/bjferror.Tpo -c -o bjferror.o bjferror.c
mv -f .deps/bjferror.Tpo .deps/bjferror.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/cncl -I../include/misc    -O2 -MT bjfilter.o -MD -MP -MF .deps/bjfilter.Tpo -c -o bjfilter.o bjfilter.c
mv -f .deps/bjfilter.Tpo .deps/bjfilter.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/cncl -I../include/misc    -O2 -MT bjfimage.o -MD -MP -MF .deps/bjfimage.Tpo -c -o bjfimage.o bjfimage.c
bjfimage.c: In function ‘png_image_init’:
bjfimage.c:1577:6: erreur: déréférencement d'un pointeur de type incomplet
bjfimage.c:1589:16: attention : passing argument 3 of ‘png_get_IHDR’ from incompatible pointer type [enabled by default]
/usr/include/png.h:2182:1: note: expected ‘png_uint_32 *’ but argument is of type ‘long int *’
bjfimage.c:1589:16: attention : passing argument 4 of ‘png_get_IHDR’ from incompatible pointer type [enabled by default]
/usr/include/png.h:2182:1: note: expected ‘png_uint_32 *’ but argument is of type ‘long int *’
make[2]: *** [bjfimage.o] Erreur 1
make[2] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cnijfilter/src »
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /tmp/yaourt-tmp-doms/aur-cnijfilter-mp560/src/cnijfilter-source-3.20-1/cnijfilter »
make: *** [all] Erreur 2
==> ERREUR : Une erreur s'est produite dans build().
    Abandon...
==> ERREUR: Makepkg n'a pas pu construire cnijfilter-mp560.
==> Relancer la compilation de cnijfilter-mp560 ? [o/N]
Est-ce que cela signifie que je n'ai plus aucune chance d'installer ces drivers proprio à cause de dépendances périmées ?
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [Imprimante] Canon MP560 : installation compliquée.

Message par FoolEcho »

Pour ton système, teste le lib32-cnijfilter-mp560 plutôt (en activant aussi le dépôt multilib dans ton pacman.conf si ça n'est pas déjà fait).
«The following statement is not true. The previous statement is true.» :nage:
DomS
archer de cavalerie
Messages : 181
Inscription : sam. 21 nov. 2009, 13:52
Localisation : Toulouse

Re: [Imprimante] Canon MP560 : installation compliquée.

Message par DomS »

Merci pour ton aide .
Mince :
recherche des conflits entre paquets...
:: gcc-libs-multilib et gcc-libs sont en conflit. Supprimer gcc-libs ? [o/N]

Comment savoir quels sont les paquets qui dépendent de gcc-libs ?
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [Imprimante] Canon MP560 : installation compliquée.

Message par FoolEcho »

Il te faut juste accepter ces remplacements (c'est pour substituer base-devel par multilib-devel, ce dernier permettant la compilation croisée donc de compiler en 32 bits sous du 64 bits, ce qu'il te faut ici). :chinois:
«The following statement is not true. The previous statement is true.» :nage:
DomS
archer de cavalerie
Messages : 181
Inscription : sam. 21 nov. 2009, 13:52
Localisation : Toulouse

Re: [Imprimante] Canon MP560 : installation compliquée.

Message par DomS »

Ca a été le cas avec d'autres paquets :
:: gcc-libs-multilib et gcc-libs sont en conflit. Supprimer gcc-libs ? [o/N] o
:: binutils-multilib et binutils sont en conflit. Supprimer binutils ? [o/N] o
:: gcc-multilib et gcc sont en conflit. Supprimer gcc ? [o/N] o
Je les marque là pour les retrouver plus facilement.
DomS
archer de cavalerie
Messages : 181
Inscription : sam. 21 nov. 2009, 13:52
Localisation : Toulouse

Re: [Imprimante] Canon MP560 : installation compliquée.

Message par DomS »

Super, ça marche ! Par contre je n'ai pas compris la différence avec le paquet que j'avais utilisé ni comment tu l'avais trouvé. J'avais fait une recherche "mp560" sur les paquets officiels et AUR et je n'avais rien trouvé.
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [Imprimante] Canon MP560 : installation compliquée (Réso

Message par FoolEcho »

Même recherche. :|

Code : Tout sélectionner

yaourt -Ss mp560
aur/cnijfilter-mp560 3.20-2 (Out of Date) (9)                                                                  
    Canon IJ Printer Driver (MP560 series)                                                                     
aur/lib32-cnijfilter-mp560 3.20-4 (7)                                                                       
    Canon IJ Printer Driver (MP560 series) (32-bit)


- cnijfilter-mp560 (périmé, et du coup il doit y a avoir aussi le problème de libpng): i686 seulement.
- lib32-cnijfilter-mp560: x86_64 seulement.
«The following statement is not true. The previous statement is true.» :nage:
DomS
archer de cavalerie
Messages : 181
Inscription : sam. 21 nov. 2009, 13:52
Localisation : Toulouse

Re: [Imprimante] Canon MP560 : installation compliquée (Réso

Message par DomS »

J'avais fait la recherche a partir du site, pas directement à partir de yaourt. Je ne comprends pas pourquoi seul le paquet pour 32bits est périmé.
Merci encore pour ton aide.
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [Imprimante] Canon MP560 : installation compliquée (Réso

Message par FoolEcho »

DomS a écrit :Je ne comprends pas pourquoi seul le paquet pour 32bits est périmé.
Il n'y a plus de mainteneur et le changement de version de libpng implique de patcher les sources.
Dans l'absolu, ces deux paquets ne devraient en faire qu'un (tout en proposant des noms différents pour coller à la nomenclature lib32 ou non, par le jeu des paquets splittés) cependant les programmes qui automatisent Aur (yaourt, etc.) ne sont pas adaptés pour les paquets splittés, à ma connaissance (l'utilisateur devrait donc récupèrer l'archive et construire son paquet par lui-même) ... et je ne suis pas persuadé que les mainteneurs descendent à ce point sur la connaissance des PKGBUILDs de ce type (qui sont plutôt rares de toutes manières). ;)
«The following statement is not true. The previous statement is true.» :nage:
DomS
archer de cavalerie
Messages : 181
Inscription : sam. 21 nov. 2009, 13:52
Localisation : Toulouse

Re: [Imprimante] Canon MP560 : installation compliquée (Réso

Message par DomS »

Il n'y a plus de mainteneur et le changement de version de libpng implique de patcher les sources.
Dans l'absolu, ces deux paquets ne devraient en faire qu'un (tout en proposant des noms différents pour coller à la nomenclature lib32 ou non, par le jeu des paquets splittés) cependant les programmes qui automatisent Aur (yaourt, etc.) ne sont pas adaptés pour les paquets splittés, à ma connaissance (l'utilisateur devrait donc récupèrer l'archive et construire son paquet par lui-même) ... et je ne suis pas persuadé que les mainteneurs descendent à ce point sur la connaissance des PKGBUILDs de ce type (qui sont plutôt rares de toutes manières).
Merci pour toutes ces explications (je crois qu'il me manquent quelques notions pour les comprendre malheureusement mais quand j'en aurai le temps je m'y pencherai).

Une dernière fois, merci :wink:
DomS
archer de cavalerie
Messages : 181
Inscription : sam. 21 nov. 2009, 13:52
Localisation : Toulouse

Re: [Imprimante] Canon MP560 : installation compliquée (Réso

Message par DomS »

Arf... J'ai un problème maintenant avec la màj de pacman :

Code : Tout sélectionner

$ sudo pacman -Syu
Mot de passe : 
:: Synchronisation des bases de données de paquets...
 core                     106,0 KiB  18,6K/s 00:06 [----------------------] 100%
 extra                   1282,4 KiB  16,3K/s 01:19 [----------------------] 100%
 community               1100,8 KiB  11,0K/s 01:40 [----------------------] 100%
 multilib est à jour ;
 archlinuxfr               28,4 KiB  10,7K/s 00:03 [----------------------] 100%
 conky-lua-nv : Orphan       
 Paquets étrangers: \ 19 / 19
==> ATTENTION: Les paquets suivants devraient être mis à jour en premier :
    pacman
==> Le faire maintenant ? [O/n]
==> ---------------------------
==> 
:: Les paquets suivants devraient être mis à jour en premier :
    pacman
:: Voulez-vous annuler l'opération courante et
:: mettre à jour ces paquets maintenant ? [O/n] 

résolution des dépendances...
recherche des conflits entre paquets...
:: gcc-libs et gcc-libs-multilib sont en conflit. Supprimer gcc-libs-multilib ? [o/N] 
Erreur : un conflit de paquets impossible à résoudre a été détecté
Erreur : la préparation de la transaction a échoué (conflit de dépendances)
:: gcc-libs et gcc-libs-multilib sont en conflit
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17576
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Imprimante] Canon MP560 : installation compliquée (Réso

Message par benjarobin »

Il faut répondre non lors de la question pour pacman. Cette question est posé un très grand nombre de fois, sic...
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
DomS
archer de cavalerie
Messages : 181
Inscription : sam. 21 nov. 2009, 13:52
Localisation : Toulouse

Re: [Imprimante] Canon MP560 : installation compliquée (Réso

Message par DomS »

Ah... jusqu'à maintenant je n'avais jamais eu ce problème c'ets pour ça et je n'ai pas vu dernièrement de news sur pacman donc je ne me suis pas méfié.
Désolé
Du coup ça ne va pas me gêner pour les futures màj (de pacman j'entends)?
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17576
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Imprimante] Canon MP560 : installation compliquée (Réso

Message par benjarobin »

Pourquoi ? Non cela n'impacte en rien le reste
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
DomS
archer de cavalerie
Messages : 181
Inscription : sam. 21 nov. 2009, 13:52
Localisation : Toulouse

Re: [Imprimante] Canon MP560 : installation compliquée (Réso

Message par DomS »

Lorsque pacman passera en une autre version, s'il y a toujours ce conflit, je ne pourrai pas faire la mise à jour, si ?
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17576
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Imprimante] Canon MP560 : installation compliquée (Réso

Message par benjarobin »

Mais ce conflit n'existe pas, tu as perturbé pacman en répondant oui, c'est tout (Il est conseillé de tout façon de toujours répondre oui la première fois, la seconde dépend du message d'erreur affiché).
Si tu ne veux pas avoir ce genre de problème il faudrait mettre toute la liste des paquets sortant de pactree pacman en tant que syncFirst, ce qui est "moyen", car tu sauras très souvent interrompu lors des mise à jour
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
black-slack
newbie
Messages : 2
Inscription : ven. 08 nov. 2013, 19:30

Re: [Imprimante] Canon MP560 : installation compliquée (Réso

Message par black-slack »

Bonjour,

Alors que le paquet proposé par AUR marchait parfaitement l'an dernier, j'ai tenté l'installation de nouveau cette semaine et mon imprimante fonctionne toujours, mais uniquement que je suis branché dessus, en Wi-Fi c'est devenu impossible.

Quelqu'un aurait-il une explication ?

Dans le commantaires sur le paquet, certains utilisateurs parlent de patchs pour le faire fonctionner, mais ce qu'ils disent me semble assez obscur.

https://aur.archlinux.org/packages/cnij ... setlang=fr

Merci d'avance =) !
Répondre