You are not logged in.

#1 2015-05-09 09:28:27

am2del
Member
Registered: 2015-05-09
Posts: 9

[SOLVED] Make failing for Canon MG6400-series scanner driver

EDIT: ~~ Solution ~~ << Click this

Hello,

Been trying to install my scanner, Canon MG6450 (PSC, all-in-one),  however no package in repository nor AUR so downloaded the tarball from Canon's website, ran the autogen.sh and make. The make keep failing, been scratching my head and searching for hours but so far no luck.

Running the autogen.sh seems flawless, then time for make... and errors. Full log of make:

$ make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/user/scangearmp-source-2.20-1/scangearmp/missing 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.
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory '/home/user/scangearmp-source-2.20-1/scangearmp'
Making all in po
make[2]: Entering directory '/home/user/scangearmp-source-2.20-1/scangearmp/po'
file=./`echo de | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -c -o $file de.po
de.po:6: warning: header field 'Language' missing in header
file=./`echo fr | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -c -o $file fr.po
fr.po:6: warning: header field 'Language' missing in header
file=./`echo ja | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -c -o $file ja.po
ja.po:6: warning: header field 'Language' missing in header
file=./`echo zh | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -c -o $file zh.po
zh.po:6: warning: header field 'Language' missing in header
make[2]: Leaving directory '/home/user/scangearmp-source-2.20-1/scangearmp/po'
Making all in backend
make[2]: Entering directory '/home/user/scangearmp-source-2.20-1/scangearmp/backend'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./include   -DV_MAJOR=2 -DV_MINOR=2 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT libsane_canon_mfp_la-canon_mfp.lo -MD -MP -MF .deps/libsane_canon_mfp_la-canon_mfp.Tpo -c -o libsane_canon_mfp_la-canon_mfp.lo `test -f 'canon_mfp.c' || echo './'`canon_mfp.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./include -DV_MAJOR=2 -DV_MINOR=2 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT libsane_canon_mfp_la-canon_mfp.lo -MD -MP -MF .deps/libsane_canon_mfp_la-canon_mfp.Tpo -c canon_mfp.c  -fPIC -DPIC -o .libs/libsane_canon_mfp_la-canon_mfp.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./include -DV_MAJOR=2 -DV_MINOR=2 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT libsane_canon_mfp_la-canon_mfp.lo -MD -MP -MF .deps/libsane_canon_mfp_la-canon_mfp.Tpo -c canon_mfp.c -o libsane_canon_mfp_la-canon_mfp.o >/dev/null 2>&1
mv -f .deps/libsane_canon_mfp_la-canon_mfp.Tpo .deps/libsane_canon_mfp_la-canon_mfp.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./include   -DV_MAJOR=2 -DV_MINOR=2 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT libsane_canon_mfp_la-canon_mfp_tools.lo -MD -MP -MF .deps/libsane_canon_mfp_la-canon_mfp_tools.Tpo -c -o libsane_canon_mfp_la-canon_mfp_tools.lo `test -f 'canon_mfp_tools.c' || echo './'`canon_mfp_tools.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./include -DV_MAJOR=2 -DV_MINOR=2 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT libsane_canon_mfp_la-canon_mfp_tools.lo -MD -MP -MF .deps/libsane_canon_mfp_la-canon_mfp_tools.Tpo -c canon_mfp_tools.c  -fPIC -DPIC -o .libs/libsane_canon_mfp_la-canon_mfp_tools.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./include -DV_MAJOR=2 -DV_MINOR=2 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT libsane_canon_mfp_la-canon_mfp_tools.lo -MD -MP -MF .deps/libsane_canon_mfp_la-canon_mfp_tools.Tpo -c canon_mfp_tools.c -o libsane_canon_mfp_la-canon_mfp_tools.o >/dev/null 2>&1
mv -f .deps/libsane_canon_mfp_la-canon_mfp_tools.Tpo .deps/libsane_canon_mfp_la-canon_mfp_tools.Plo
/bin/sh ../libtool  --tag=CC   --mode=link gcc -DV_MAJOR=2 -DV_MINOR=2 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -version-info 2:2:0  -o libsane-canon_mfp.la -rpath /usr/lib libsane_canon_mfp_la-canon_mfp.lo libsane_canon_mfp_la-canon_mfp_tools.lo  -lusb -ldl -lcncpnet -lpthread -lz -lusb 
libtool: link: gcc -shared  -fPIC -DPIC  .libs/libsane_canon_mfp_la-canon_mfp.o .libs/libsane_canon_mfp_la-canon_mfp_tools.o   -ldl -lcncpnet -lpthread -lz -lusb  -O2   -Wl,-soname -Wl,libsane-canon_mfp.so.2 -o .libs/libsane-canon_mfp.so.2.0.2
libtool: link: (cd ".libs" && rm -f "libsane-canon_mfp.so.2" && ln -s "libsane-canon_mfp.so.2.0.2" "libsane-canon_mfp.so.2")
libtool: link: (cd ".libs" && rm -f "libsane-canon_mfp.so" && ln -s "libsane-canon_mfp.so.2.0.2" "libsane-canon_mfp.so")
libtool: link: ar cru .libs/libsane-canon_mfp.a  libsane_canon_mfp_la-canon_mfp.o libsane_canon_mfp_la-canon_mfp_tools.o
libtool: link: ranlib .libs/libsane-canon_mfp.a
libtool: link: ( cd ".libs" && rm -f "libsane-canon_mfp.la" && ln -s "../libsane-canon_mfp.la" "libsane-canon_mfp.la" )
make[2]: Leaving directory '/home/user/scangearmp-source-2.20-1/scangearmp/backend'
Making all in src
make[2]: Entering directory '/home/user/scangearmp-source-2.20-1/scangearmp/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-main.o -MD -MP -MF .deps/scangearmp-main.Tpo -c -o scangearmp-main.o `test -f 'main.c' || echo './'`main.c
mv -f .deps/scangearmp-main.Tpo .deps/scangearmp-main.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-callbacks.o -MD -MP -MF .deps/scangearmp-callbacks.Tpo -c -o scangearmp-callbacks.o `test -f 'callbacks.c' || echo './'`callbacks.c
mv -f .deps/scangearmp-callbacks.Tpo .deps/scangearmp-callbacks.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-interface.o -MD -MP -MF .deps/scangearmp-interface.Tpo -c -o scangearmp-interface.o `test -f 'interface.c' || echo './'`interface.c
mv -f .deps/scangearmp-interface.Tpo .deps/scangearmp-interface.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-support.o -MD -MP -MF .deps/scangearmp-support.Tpo -c -o scangearmp-support.o `test -f 'support.c' || echo './'`support.c
mv -f .deps/scangearmp-support.Tpo .deps/scangearmp-support.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-coloradjust.o -MD -MP -MF .deps/scangearmp-coloradjust.Tpo -c -o scangearmp-coloradjust.o `test -f 'coloradjust.c' || echo './'`coloradjust.c
mv -f .deps/scangearmp-coloradjust.Tpo .deps/scangearmp-coloradjust.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-coloradjust_bc.o -MD -MP -MF .deps/scangearmp-coloradjust_bc.Tpo -c -o scangearmp-coloradjust_bc.o `test -f 'coloradjust_bc.c' || echo './'`coloradjust_bc.c
mv -f .deps/scangearmp-coloradjust_bc.Tpo .deps/scangearmp-coloradjust_bc.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-coloradjust_hg.o -MD -MP -MF .deps/scangearmp-coloradjust_hg.Tpo -c -o scangearmp-coloradjust_hg.o `test -f 'coloradjust_hg.c' || echo './'`coloradjust_hg.c
mv -f .deps/scangearmp-coloradjust_hg.Tpo .deps/scangearmp-coloradjust_hg.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-coloradjust_tc.o -MD -MP -MF .deps/scangearmp-coloradjust_tc.Tpo -c -o scangearmp-coloradjust_tc.o `test -f 'coloradjust_tc.c' || echo './'`coloradjust_tc.c
mv -f .deps/scangearmp-coloradjust_tc.Tpo .deps/scangearmp-coloradjust_tc.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-coloradjust_fr.o -MD -MP -MF .deps/scangearmp-coloradjust_fr.Tpo -c -o scangearmp-coloradjust_fr.o `test -f 'coloradjust_fr.c' || echo './'`coloradjust_fr.c
mv -f .deps/scangearmp-coloradjust_fr.Tpo .deps/scangearmp-coloradjust_fr.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-coloradjust_mc.o -MD -MP -MF .deps/scangearmp-coloradjust_mc.Tpo -c -o scangearmp-coloradjust_mc.o `test -f 'coloradjust_mc.c' || echo './'`coloradjust_mc.c
mv -f .deps/scangearmp-coloradjust_mc.Tpo .deps/scangearmp-coloradjust_mc.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-com_gtk.o -MD -MP -MF .deps/scangearmp-com_gtk.Tpo -c -o scangearmp-com_gtk.o `test -f 'com_gtk.c' || echo './'`com_gtk.c
mv -f .deps/scangearmp-com_gtk.Tpo .deps/scangearmp-com_gtk.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-cnmsstr.o -MD -MP -MF .deps/scangearmp-cnmsstr.Tpo -c -o scangearmp-cnmsstr.o `test -f 'cnmsstr.c' || echo './'`cnmsstr.c
mv -f .deps/scangearmp-cnmsstr.Tpo .deps/scangearmp-cnmsstr.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-w1_main.o -MD -MP -MF .deps/scangearmp-w1_main.Tpo -c -o scangearmp-w1_main.o `test -f 'w1_main.c' || echo './'`w1_main.c
mv -f .deps/scangearmp-w1_main.Tpo .deps/scangearmp-w1_main.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-w1_size.o -MD -MP -MF .deps/scangearmp-w1_size.Tpo -c -o scangearmp-w1_size.o `test -f 'w1_size.c' || echo './'`w1_size.c
mv -f .deps/scangearmp-w1_size.Tpo .deps/scangearmp-w1_size.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-w1_ui.o -MD -MP -MF .deps/scangearmp-w1_ui.Tpo -c -o scangearmp-w1_ui.o `test -f 'w1_ui.c' || echo './'`w1_ui.c
mv -f .deps/scangearmp-w1_ui.Tpo .deps/scangearmp-w1_ui.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-preference.o -MD -MP -MF .deps/scangearmp-preference.Tpo -c -o scangearmp-preference.o `test -f 'preference.c' || echo './'`preference.c
mv -f .deps/scangearmp-preference.Tpo .deps/scangearmp-preference.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-save_dialog.o -MD -MP -MF .deps/scangearmp-save_dialog.Tpo -c -o scangearmp-save_dialog.o `test -f 'save_dialog.c' || echo './'`save_dialog.c
mv -f .deps/scangearmp-save_dialog.Tpo .deps/scangearmp-save_dialog.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-prev_main.o -MD -MP -MF .deps/scangearmp-prev_main.Tpo -c -o scangearmp-prev_main.o `test -f 'prev_main.c' || echo './'`prev_main.c
mv -f .deps/scangearmp-prev_main.Tpo .deps/scangearmp-prev_main.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-prev_sub.o -MD -MP -MF .deps/scangearmp-prev_sub.Tpo -c -o scangearmp-prev_sub.o `test -f 'prev_sub.c' || echo './'`prev_sub.c
mv -f .deps/scangearmp-prev_sub.Tpo .deps/scangearmp-prev_sub.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I../include -I../backend -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16    -DV_MAJOR=1 -DV_MINOR=0 -O2 -D__GIMP_PLUGIN_ENABLE__ -D_FILE_OFFSET_BITS=64 -MT scangearmp-scanfile.o -MD -MP -MF .deps/scangearmp-scanfile.Tpo -c -o scangearmp-scanfile.o `test -f 'scanfile.c' || echo './'`scanfile.c
scanfile.c: In function ‘WritePnmHeader’:
scanfile.c:469:2: warning: incompatible implicit declaration of built-in function ‘strncpy’
  strncpy( buf, "\0", 1 ); /* Buff Init */
  ^
scanfile.c:499:18: warning: incompatible implicit declaration of built-in function ‘strlen’
  if( (len_type = strlen( str_type )) == 0 )
                  ^
scanfile.c:501:2: warning: incompatible implicit declaration of built-in function ‘strncat’
  strncat( buf+ptr, str_type, len_type);
  ^
scanfile.c: In function ‘Change_RAW_to_PNG’:
scanfile.c:643:54: error: ‘Z_BEST_SPEED’ undeclared (first use in this function)
  plibpngapi->p_png_set_compression_level( write_ptr, Z_BEST_SPEED ); /* maximum speed */
                                                      ^
scanfile.c:643:54: note: each undeclared identifier is reported only once for each function it appears in
Makefile:799: recipe for target 'scangearmp-scanfile.o' failed
make[2]: *** [scangearmp-scanfile.o] Error 1
make[2]: Leaving directory '/home/user/scangearmp-source-2.20-1/scangearmp/src'
Makefile:423: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/user/scangearmp-source-2.20-1/scangearmp'
Makefile:355: recipe for target 'all' failed
make: *** [all] Error 2

Any suggestions on how to make progress it would be appriciated. Will keep on trying to find a solution.


Thanks in advance.


PS.
I'm fairly new to Arch, comming from a long history with Ubuntu.
Oh, and btw, it's just scanner drivers that fails - found printer ones at AUR. Scanner drivers up to MG6300-series are at the AUR.
DS.

Last edited by am2del (2015-05-09 14:59:46)

Offline

#2 2015-05-09 11:02:16

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,718
Website

Re: [SOLVED] Make failing for Canon MG6400-series scanner driver

Welcome to Arch.

scanfile.c:643:54: error: ‘Z_BEST_SPEED’ undeclared (first use in this function)
  plibpngapi->p_png_set_compression_level( write_ptr, Z_BEST_SPEED ); /* maximum speed */

This is where the build is failing, seems like scanfile.c is missing an include statement. Try adding

#include <zlib.h>

at the top of that file (with the other include statements), then try make again.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2015-05-09 12:36:03

am2del
Member
Registered: 2015-05-09
Posts: 9

Re: [SOLVED] Make failing for Canon MG6400-series scanner driver

Thank you, that got me one step closer.

Had my lunch now so resumed trying to make this work out.

Now different error, isolated the file but need to look for a tool to check contet of the file (or if something generates the file check that, about to see to it).

/usr/bin/ld: scangearmp-cnmsfunc.o: undefined reference to symbol 'floor@@GLIBC_2.2.5'
/usr/lib/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:469: recipe for target 'scangearmp' failed
make[2]: *** [scangearmp] Error 1
make[2]: Leaving directory '/home/user/scangearmp-source-2.20-1/scangearmp/src'
Makefile:423: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/user/scangearmp-source-2.20-1/scangearmp'
Makefile:355: recipe for target 'all' failed
make: *** [all] Error 2

Hopefully I can make it work given some time, then figure out how to put it at the AUR to save others some trouble.

Offline

#4 2015-05-09 14:24:14

am2del
Member
Registered: 2015-05-09
Posts: 9

Re: [SOLVED] Make failing for Canon MG6400-series scanner driver

I got it working~! Though didn't use make at all in the end.

Gonna make a step-list and post + referenses.

Never made a package for AUR... honestly not a clue where to start.
Gonna try find info on that afterwards. Or if someone would be kind enough to give some tips I'd appriciate it.


Thanks a lot for the help so far.

Offline

#5 2015-05-09 14:56:47

am2del
Member
Registered: 2015-05-09
Posts: 9

Re: [SOLVED] Make failing for Canon MG6400-series scanner driver

~~ Solution ~~ (version numbers are current availible)

[As root]: Install the printer over network
Driver: Availible at AUR, cnijfilter-mg6400series 4.00-1

yaourt cnijfilter-mg6400series

Device url: (replace XX-XX-XX-XX-XX-XX with Printer MAC)

cnijbe://Canon/?port=net&serial=XX-XX-XX-XX-XX-XX

Make & model:

Canon MG6400 series Ver.4.00

[Download]: MG6400 series ScanGear MP driver RPM from Canon

[As root]: Install rpmextract

$ pacman -S rpmextract

[As user]: Extract RPM

$ rpmextract.sh scangearmp-common 2.20-1.rpm
$ rpmextract.sh scangearmp-mg6400series-2.20-1.x86_64.rpm

[As root]: Copy to folders

$ cp -r ~/etc/* /etc/
$ cp -r ~/usr/lib64/* /usr/lib64/
$ cp -r ~/usr/local/* /usr/local/
$ cp -r ~/usr/share/* /usr/share/

[As root]: Make symbolic links for lib64 files

$ ls -s /usr/lib64/libcn*

[As root]: Install GIMP & XSane

$ pacman -S gimp xsane-gimp

[As user]: Open GIMP

File > Create > XSane: Device dialog... [Scanning for devices...]

Ready to scan~ (and ofcourse over network, honestly never tried USB for this printer...)


Gonna see if I can figure out how to add this finished to AUR for automatic install... Might be beyond me still, but gonna try.


This reference << Helped a lot.

Last edited by am2del (2015-05-09 15:01:00)

Offline

Board footer

Powered by FluxBB