RaspFR :: Forum

Forum de la communauté francophone de Raspberry PI.

Vous n'êtes pas identifié(e).

Annonce

Canal irc: #raspfr sur zeolia.net

#1 07-12-2016 17:10:32

smokeh
Membre
Inscription : 07-12-2016
Messages : 2

configuration imprimante LBP6020 problème de compilation

bonjour !
j'essaie de faire fonctionner mon imprimante la CANON LBP6020 sur raspbian.
Je suis complètement coincé...
je vous explique :
j'ai téléchager le fichier venant du site canon : http://support-au.canon.com.au/contents … ml#r=s&r=s

je me retrouve avec deux archives :

[== Indéfini ==]
cndrvcups-capt-2.70           cndrvcups-common-3.20
cndrvcups-capt-2.70-1.tar.gz  cndrvcups-common-3.20-1.tar.gz

je rentre dans mon premier dossier cndrvcups-capt-2.70 et j'ai lu le readme
je précise que gettext est bien installé sur ma raspbian

[== Indéfini ==]
Requirments:
============
    * aclocal           (1.4.x or above)
    * automake          (1.4.x or above)
    * libcups           (1.1.17 or above)
    *  libbuftool       (1.00 or above)

<statusui>
    * aclocal    (1.4.x)
    * automake   (1.4.x)
    * Gtk+       (2.4.x or above)
    * libcups    (1.1.17 or above)
    * libxml2    (2.6.x or above)
    * libbuftool (1.00 or above)

<cngplp>
    * aclocal   (1.4.x or above)
    * automake  (1.4.x or above)
    * Gtk+      (2.4.x or above)
    * libcups   (1.1.17 or above)
    * libxml2   (2.6.x or above)
    * libglade2 (2.4.x or above)



Quick install:
==============
  To build and install CAPT modules, run make at the top-level
 directory of this pakage source trees as follows:

 $ make gen
       or
 $ ./allgen.sh
       or
 $ ./allgen.sh -deb
 $ su
 # make install


Trademark:
==============
  CUPS and the CUPS logo are trademarks of Apple Inc.

j'ai donc installé les paquets requis mais je ne trouve pas celui-ci : libbuftool

bref je passe donc à la compilation ou j'ai deux choses ...pour passer à la deuxième je dois appuyer sur la touche entré.
1 ;

[== Indéfini ==]
./allgen.sh 
./allgen.sh: ligne 14 : [: = : opérateur unaire attendu

**Error**: You must have `gettext' installed.
Get ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz
(or a newer version if it is available)
**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  ...
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Running automake --gnu  ...
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:2: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
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 whether make supports nested variables... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
Now type `make' to compile
processing .
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  ...
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autom4te: cannot open autom4te.cache/requests: Permission non accordée
aclocal: error: echo failed with exit status: 1
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.
autom4te: cannot open autom4te.cache/requests: Permission non accordée
autoheader: '/usr/bin/autom4te' failed with exit status: 1
Running automake --gnu  ...
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autom4te: cannot open autom4te.cache/requests: Permission denied
automake: error: autoconf failed with exit status: 1
Running autoconf ...
autom4te: cannot open autom4te.cache/requests: Permission denied
Running ./configure --prefix=/usr --enable-progpath=/usr/bin --disable-static ...
./configure: line 2036: config.log: Permission denied
./configure: line 2046: config.log: Permission denied
/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70
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:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:4: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Running autoconf ...
Running ./configure --prefix=/usr --enable-progpath=/usr/bin ...
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 make supports nested variables... 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 whether gcc understands -c and -o together... yes
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/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 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 for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for memset... yes
checking for strchr... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Now type `make' to compile backend
/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70
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:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:4: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Running autoconf ...
Running ./configure --prefix=/usr --enable-progpath=/usr/bin ...
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 make supports nested variables... 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 whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for main in -lbuftool... no
checking for main in -lcups... yes
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/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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.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
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating filter/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Now type `make' to compile pstocapt
/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70
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:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:4: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Running autoconf ...
Running ./configure --prefix=/usr --enable-progpath=/usr/bin ...
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 make supports nested variables... 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 whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for main in -lbuftool... no
checking for main in -lcups... yes
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/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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.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
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating filter/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Now type `make' to compile pstocapt2
/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70
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:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:4: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Running autoconf ...
Running ./configure --prefix=/usr --enable-progpath=/usr/bin ...
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 make supports nested variables... 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 whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for main in -lbuftool... no
checking for main in -lcups... yes
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/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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.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
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating filter/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Now type `make' to compile pstocapt3
/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70
processing .
Running aclocal  ...
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Running automake --gnu  ...
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:2: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
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 whether make supports nested variables... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
Now type `make' to compile
/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70
cp: impossible de créer le fichier standard « ./configure.in »: Permission non accordée
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen-old.sh' command line.

processing .
Creating ./aclocal.m4 ...
Running gettextize...  Ignore non-fatal messages.
Copying file ABOUT-NLS
Copying file config.rpath
Not copying intl/ directory.
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/[email protected]
Copying file po/[email protected]
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
rm: impossible de supprimer « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/gettext.m4~ »: Permission non accordée
cp: impossible de créer le fichier standard « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/gettext.m4~ »: Permission non accordée
rm: impossible de supprimer « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/gettext.m4 »: Permission non accordée
Copying file m4/gettext.m4
cp: impossible de créer le fichier standard « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/gettext.m4 »: Permission non accordée
rm: impossible de supprimer « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/iconv.m4~ »: Permission non accordée
cp: impossible de créer le fichier standard « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/iconv.m4~ »: Permission non accordée
rm: impossible de supprimer « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/iconv.m4 »: Permission non accordée
Copying file m4/iconv.m4
cp: impossible de créer le fichier standard « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/iconv.m4 »: Permission non accordée
rm: impossible de supprimer « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/lib-ld.m4~ »: Permission non accordée
cp: impossible de créer le fichier standard « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/lib-ld.m4~ »: Permission non accordée
rm: impossible de supprimer « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/lib-ld.m4 »: Permission non accordée
Copying file m4/lib-ld.m4
cp: impossible de créer le fichier standard « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/lib-ld.m4 »: Permission non accordée
rm: impossible de supprimer « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/lib-link.m4~ »: Permission non accordée
cp: impossible de créer le fichier standard « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/lib-link.m4~ »: Permission non accordée
rm: impossible de supprimer « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/lib-link.m4 »: Permission non accordée
Copying file m4/lib-link.m4
cp: impossible de créer le fichier standard « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/lib-link.m4 »: Permission non accordée
rm: impossible de supprimer « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/lib-prefix.m4~ »: Permission non accordée
cp: impossible de créer le fichier standard « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/lib-prefix.m4~ »: Permission non accordée
rm: impossible de supprimer « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/lib-prefix.m4 »: Permission non accordée
Copying file m4/lib-prefix.m4
cp: impossible de créer le fichier standard « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/lib-prefix.m4 »: Permission non accordée
rm: impossible de supprimer « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/nls.m4~ »: Permission non accordée
cp: impossible de créer le fichier standard « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/nls.m4~ »: Permission non accordée
rm: impossible de supprimer « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/nls.m4 »: Permission non accordée
Copying file m4/nls.m4
cp: impossible de créer le fichier standard « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/nls.m4 »: Permission non accordée
rm: impossible de supprimer « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/po.m4~ »: Permission non accordée
cp: impossible de créer le fichier standard « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/po.m4~ »: Permission non accordée
rm: impossible de supprimer « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/po.m4 »: Permission non accordée
Copying file m4/po.m4
cp: impossible de créer le fichier standard « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/po.m4 »: Permission non accordée
rm: impossible de supprimer « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/progtest.m4~ »: Permission non accordée
cp: impossible de créer le fichier standard « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/progtest.m4~ »: Permission non accordée
rm: impossible de supprimer « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/progtest.m4 »: Permission non accordée
Copying file m4/progtest.m4
cp: impossible de créer le fichier standard « /home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/statusui/m4/progtest.m4 »: Permission non accordée

Please use AM_GNU_GETTEXT([external]) in order to cause autoconfiguration
to look for an external libintl.

Please create po/Makevars from the template in po/Makevars.template.
You can then remove po/Makevars.template.

Please run 'aclocal -I m4' to regenerate the aclocal.m4 file.
You need aclocal from GNU automake 1.9 (or newer) to do this.
Then run 'autoconf' to regenerate the configure file.

You might also want to copy the convenience header file gettext.h
from the /usr/share/gettext directory into your package.
It is a wrapper around <libintl.h> that implements the configure --disable-nls
option.

Press Return to acknowledge the previous four paragraphs.

après avoir appuyer sur entré
2)

[== Indéfini ==]
Making ./aclocal.m4 writable ...
chmod: modification des droits de « ./aclocal.m4 »: Opération non permise
Running libtoolize...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
rm: cannot remove 'm4/libtool.m4': Permission denied
rm: cannot remove 'm4/ltoptions.m4': Permission denied
rm: cannot remove 'm4/ltsugar.m4': Permission denied
rm: cannot remove 'm4/ltversion.m4': Permission denied
rm: cannot remove 'm4/lt~obsolete.m4': Permission denied
rm: cannot remove 'm4/libtool.m4': Permission denied
libtoolize: putting macros in `m4'.
libtoolize: can not copy `/usr/share/aclocal/libtool.m4' to `m4/'
rm: cannot remove 'm4/ltoptions.m4': Permission denied
libtoolize: can not copy `/usr/share/aclocal/ltoptions.m4' to `m4/'
rm: cannot remove 'm4/ltsugar.m4': Permission denied
libtoolize: can not copy `/usr/share/aclocal/ltsugar.m4' to `m4/'
rm: cannot remove 'm4/ltversion.m4': Permission denied
libtoolize: can not copy `/usr/share/aclocal/ltversion.m4' to `m4/'
rm: cannot remove 'm4/lt~obsolete.m4': Permission denied
libtoolize: can not copy `/usr/share/aclocal/lt~obsolete.m4' to `m4/'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
Running aclocal  ...
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:14: warning: macro 'AM_PATH_GTK' not found in library
autom4te: cannot open autom4te.cache/requests: Permission non accordée
aclocal: error: echo failed with exit status: 1
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.
autom4te: cannot open autom4te.cache/requests: Permission non accordée
autoheader: '/usr/bin/autom4te' failed with exit status: 1
Running automake --gnu  ...
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autom4te: cannot open autom4te.cache/requests: Permission denied
automake: error: autoconf failed with exit status: 1
Running autoconf ...
autom4te: cannot open autom4te.cache/requests: Permission denied
Running ./configure ...
./configure: line 2201: config.log: Permission denied
./configure: line 2211: config.log: Permission denied
/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70
for dir in driver backend pstocapt pstocapt2 pstocapt3 statusui ppd cngplp; do\
	echo Making modules $dir ...;\
	(cd $dir; make) || exit 1;\
done
Making modules driver ...
make[1]: Entering directory '/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/driver'
make  all-am
make[2]: Entering directory '/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/driver'
make[2]: Leaving directory '/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/driver'
make[1]: Leaving directory '/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/driver'
Making modules backend ...
make[1]: Entering directory '/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/backend'
make  all-am
make[2]: Entering directory '/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/backend'
gcc -DHAVE_CONFIG_H -I.    -O2 -Wall -fPIC -g -O2 -MT ccp.o -MD -MP -MF .deps/ccp.Tpo -c -o ccp.o ccp.c
ccp.c:70:21: fatal error: buftool.h: Aucun fichier ou dossier de ce type
 #include "buftool.h"
                     ^
compilation terminated.
^[[1;2BMakefile:377: recipe for target 'ccp.o' failed
make[2]: *** [ccp.o] Error 1
make[2]: Leaving directory '/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/backend'
Makefile:268: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-capt-2.70/backend'
Makefile:27: recipe for target 'all' failed
make: *** [all] Error 1
[email protected]:~/Linux


et pour le deuxème (cndrvcups-common-3.20) dossier j'ai ça :

[== Indéfini ==]
[email protected]:/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-common-3.20# 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 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 /usr/share/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  ...
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Running autoheader...
Running automake --gnu  ...
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:4: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
src/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
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 make supports nested variables... 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 whether gcc understands -c and -o together... yes
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 whether gcc understands -c and -o together... (cached) yes
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 whether gcc understands -c and -o together... (cached) yes
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... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-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
checking that generated files are newer than configure... done
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: config.h is unchanged
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/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-common-3.20/cngplp'
make  all-recursive
make[2]: Entering directory '/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-common-3.20/cngplp'
Making all in po
make[3]: Entering directory '/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-common-3.20/cngplp/po'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-common-3.20/cngplp/po'
Making all in src
make[3]: Entering directory '/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-common-3.20/cngplp/src'
/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 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype  -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lxml2   -lcups 
libtool: link: gcc -O2 -Wall -g -O2 -o cngplp main.o mainwnd.o printerinfo.o load.o  -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig /usr/lib/arm-linux-gnueabihf/libfreetype.so -lxml2 -lcups -Wl,-rpath -Wl,/usr/local/lib
/usr/bin/ld: load.o: undefined reference to symbol 'g_module_close'
//usr/lib/arm-linux-gnueabihf/libgmodule-2.0.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:434: recipe for target 'cngplp' failed
make[3]: *** [cngplp] Error 1
make[3]: Leaving directory '/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-common-3.20/cngplp/src'
Makefile:410: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-common-3.20/cngplp'
Makefile:341: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/pi/Linux_CAPT_PrinterDriver_V270_uk_EN/Src/cndrvcups-common-3.20/cngplp'
Makefile:24: recipe for target 'gen' failed
make: *** [gen] Error 1

je sèche complètement maintenant.. pouvez vous m'aider à compiler ce driver pour le raspberry pi sous raspbian???
merci d'avance!

Dernière modification par smokeh (07-12-2016 19:50:33)

Hors ligne

#2 08-12-2016 10:54:45

CrazyCat
Chat
Inscription : 14-01-2016
Messages : 420

Re : configuration imprimante LBP6020 problème de compilation

Après un passage de smokeh sur le canal IRC, on a un peu avancé.
J'ai trouvé une petite explication à https://www.raspberrypi.org/forums/view … =50&t=9362 (4ème post de la discussion):

Apparently this guy has managed to compile version 1.6 on an ARM architecture. (in 2008.....)
http://forums.debian.net/viewtopic.php?p=139584

I'm trying to build the 220 version now.
This is as far as I've come:

1. setup cups http://www.penguintutor.com/linux/printing-cups
2. download the drivers from http://software.canon-europe.com/products/0000524.asp
3. Extract the source for cndrvcups-common-2.20 and cndrvcups-capt-2.20 found in Src folder
4. install dependencies

sudo apt-get install autoconf libtool automake gtk+-2.0 ibgtk2.0-dev libglade2-dev cups libcups2-dev

5. compiled and installed cndrvcups-common-2.20

J'essaye de faire des tests avec le driver actuel, mais il y a encore et toujours des erreurs... A suivre smile

Hors ligne

Pied de page des forums