Questions sur l'installation et la configuration de Manjaro Linux.
Répondre

Comment installer une imprimante Canon MP640 ?

#1Messageil y a 7 ans

Bonjour à tous,
Je viens d'installer Manjaro KDE sur mon Laptop. Je suis un ancien utilisateur de Linux Mint. L'installation s'est bien passée. J'ai ensuite rencontré une première difficulté pour faire les mises à jour. J'ai finalement réussi à régler le problème en utilisant le mode "Konsole".
Par contre, je ne parviens à résoudre le problème d'installation de mon imprimante canon MP640. Je suis passé par les dépôts AUR mais l'installation échoue systématiquement.
Voici le résultat.

==> Téléchargement du PKGBUILD de cnijfilter-mp640 depuis AUR...
x .SRCINFO
x .gitignore
x PKGBUILD
x cnijfilter-mp640.install
x cups.patch
x id.patch
x libpng15.patch
x mychanges.patch
cnijfilter-mp640 3.20-4  (2016-05-09 18:08)
( Paquet non supporté : peut être dangereux ! )
==> Éditer PKGBUILD ? [O/n] ("A" pour annuler)
==> ------------------------------------------
==>

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

==> Éditer PKGBUILD avec : 

/usr/lib/yaourt/util.sh: ligne 227: PKGBUILD : commande introuvable
==> Dépendances de cnijfilter-mp640 :
 - cnijfilter-common=4.10 (déjà installé)
 - lib32-gtk2 (déjà installé)
 - autoconf>=2.13 (déjà installé) [makedepend]
 - automake>=1.6 (déjà installé) [makedepend]
 - tar (déjà installé) [makedepend]
 - make (déjà installé) [makedepend]
 - gcc-multilib (déjà installé) [makedepend]


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

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

==> Éditer cnijfilter-mp640.install avec : 

/usr/lib/yaourt/util.sh: ligne 227: cnijfilter-mp640.install : commande introuvable
==> Lancer la compilation de cnijfilter-mp640 ? [O/n]
==> -------------------------------------------------
==>

==> Construction et installation du paquet
==> Création du paquet cnijfilter-mp640 3.20-4 (mar. févr. 14 12:23:47 CET 2017)
==> 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 IJ_Linux_Printer_Driver_Source_320.tar...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--      12 6399k   12  829k    0     0  1590k      0  0:00:04 --:--:--  0:00:04 1588 46 6399k   46 2949k    0     0  2050k      0  0:00:03  0:00:01  0:00:02 2049 81 6399k   81 5242k    0     0  2150k      0  0:00:02  0:00:02 --:--:-- 2150100 6399k  100 6399k    0     0  2147k      0  0:00:02  0:00:02 --:--:-- 2147k
  -> id.patch trouvé
  -> cups.patch trouvé
  -> libpng15.patch trouvé
  -> mychanges.patch trouvé
==> Validation des fichiers source avec sha512sums...
    IJ_Linux_Printer_Driver_Source_320.tar ... Réussite
    id.patch ... Réussite
    cups.patch ... Réussite
    libpng15.patch ... Réussite
    mychanges.patch ... Réussite
==> Extraction des sources...
  -> Extraction de IJ_Linux_Printer_Driver_Source_320.tar avec bsdtar
==> Lancement de prepare()...
patching file printui/po/id.po
patching file backend/src/cnij_backend_common.c
patching file cngpij/cngpij/bjcups.c
patching file cngpijmon/src/bjcupsmon_cups.c
patching file cnijfilter/src/bjfimage.c
patching file backend/src/cnij_usb.c
patching file backendnet/backend/cnijnet.c
patching file backendnet/backend/cnijnetlm.c
patching file backendnet/lmonitor/cnijnetchk.c
patching file backendnet/lmonitor/cnijnetprn.c
patching file cngpij/cngpij/getipc.c
patching file cngpijmon/cnijnpr/cnijnpr/cnijnpr.c
patching file cngpijmon/src/bjcupsmon_ui.c
patching file cnijfilter/src/bjfimage.c
patching file cnijfilter/src/getipc.c
patching file lgmon/src/560ifunc.c
patching file lgmon/src/850ifunc.c
patching file lgmon/src/860ifunc.c
patching file lgmon/src/950ifunc.c
patching file lgmon/src/990ifunc.c
patching file lgmon/src/bscc2sts.c
patching file lgmon/src/ip3100func.c
patching file lgmon/src/ip4100func.c
patching file lgmon/src/ip8600func.c
patching file lgmon/src/langmon.c
patching file lgmon/src/lm_print.c
patching file lgmon/src/lm_status.c
patching file lgmon/src/lm_sub.c
patching file Makefile
patching file ppd/canonmp550.ppd
patching file printui/src/comdb.c
patching file printui/src/usrsizedlg.c
patching file printui/src/utility.c
patching file printui/src/utility.h
patching file pstocanonij/filter/pstocanonij.c
patching file cngpij/cngpij/bjcups.c
Hunk #1 succeeded at 769 (offset 1 line).
==> Lancement de build()...
for dir in "lgmon" "ppd" "cnijfilter" "printui" "cngpijmon"; do \
  (cd $dir; ./autogen.sh --prefix=/usr --program-suffix=mp640 --enable-progpath=/usr/bin --libdir=/usr/lib32; make) || exit 1; \
done
processing .
Running aclocal  ...
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
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  ...
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:11: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:11: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:25: installing './compile'
configure.in:11: installing './install-sh'
configure.in:11: installing './missing'
src/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
src/Makefile.am: installing './depcomp'
Running autoconf ...
Running ./configure --prefix=/usr --program-suffix=mp640 --enable-progpath=/usr/bin --libdir=/usr/lib32 ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc -m32
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 -m32 accepts -g... yes
checking for gcc -m32 option to accept ISO C89... none needed
checking whether gcc -m32 understands -c and -o together... yes
checking dependency style of gcc -m32... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc -m32
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc -m32 accepts -g... (cached) yes
checking for gcc -m32 option to accept ISO C89... (cached) none needed
checking whether gcc -m32 understands -c and -o together... (cached) yes
checking dependency style of gcc -m32... (cached) gcc3
checking for gcc... (cached) gcc -m32
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc -m32 accepts -g... (cached) yes
checking for gcc -m32 option to accept ISO C89... (cached) none needed
checking whether gcc -m32 understands -c and -o together... (cached) yes
checking dependency style of gcc -m32... (cached) gcc3
checking how to run the C preprocessor... gcc -m32 -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 ranlib... ranlib
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.7... yes
checking for GTK+ - version >= 2.0.0... *** GTK+ header files (version 2.24.31) do not match
*** library (version 2.24.30)
no
configure: error: Cannot find GTK: Is gtk-config in path?
make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-jocelyn/aur-cnijfilter-mp640/src/cnijfilter-source-3.20-1/lgmon »
make[1]: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.
make[1] : on quitte le répertoire « /tmp/yaourt-tmp-jocelyn/aur-cnijfilter-mp640/src/cnijfilter-source-3.20-1/lgmon »
make: *** [Makefile:18: mp640] Error 1
==> ERREUR : Une erreur s’est produite dans build().
    Abandon...
==> ERREUR : Makepkg n'a pas pu construire cnijfilter-mp640.
==> Relancer la compilation de cnijfilter-mp640 ? [o/N]

Un grand merci à tous ceux qui prendront le temps de solutionner mon problème.

Comment installer une imprimante Canon MP640 ?

#2Messageil y a 7 ans

:bjr:
Juste une petite question :
Es tu passé par : Applications --> Configuration --> Configurer les imprimantes ???
Dans Kde nous pouvons installer les imprimantes en mode Graphique !
On a encore aussi la possibilité de passer par "Cups".
:clindoeil:

Comment installer une imprimante Canon MP640 ?

#3Messageil y a 7 ans

Oui j'ai essayé par cups mais elle ne figure pas la liste proposée.
Je souhaite l'installer en réseau via le wifi.

Comment installer une imprimante Canon MP640 ?

#4Messageil y a 7 ans

j'ai installé la mienne , mais une Hp, par le wifi !
- 1) Pour ça à partir de mon imprimante je l'ai connectée au réseau Wifi
- 2) A partir de "Configurer les imprimantes" mon imprimante a été detectée et l'installation est intuitive.

Mais pour Cups comme pour le soft graphique "Configurer les Imprimantes" il faut que ton imprimante soit déjà connectée au Wifi !

Comment installer une imprimante Canon MP640 ?

#5Messageil y a 7 ans

:salut:

En regardant le fichier de construction du paquet au niveau des erreurs, on dirait qu'il manque gtk ( ce qui me parait bizarre :?: )

Peux tu vérifier

Comment installer une imprimante Canon MP640 ?

#6Messageil y a 7 ans

même problème sous arch:confus:

Comment installer une imprimante Canon MP640 ?

#7Messageil y a 7 ans

Merci pour vos retours. J'ai résolu le problème de manière un peu radicale car j'ai réinstallé Manjaro dans sa version xfce. Depuis tout va bien. L'imprimante et le scanner fonctionnent parfaitement en wifi.

Comment installer une imprimante Canon MP640 ?

#8Messageil y a 7 ans

1) Pour ça à partir de mon imprimante je l'ai connectée au réseau Wifi



@ janodherepio

Je dois racheter une imprimante.
Je privilégie HP à cause des buses sur les cartouches et le wifi parce que c'est pratique.

Tu utilises le réseau wifi de l'imprimante ou celui du routeur?

Comment installes tu l'imprimante sur Manjaro?
Répondre