D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Installing Canon MP640 MFP on Mint 15

 

Make sure you have the gimp-devel package installed. This is different from just having GIMP installed. This package contains all the files you need to compile software that makes use of the a given package.


On 21 October 2013 14:22, Julian Hall <linux@xxxxxxxxxxxx> wrote:
On 21/10/13 14:18, Julian Hall wrote:
Hi All,

I've been messing with Linux on and off for a few years, mostly off though to be honest. ÂI installed Mint 15 a couple of days ago and I love it, so I'm persevering setting everything up, however - as expected - the printer/scanner is being something of a nuisance. ÂSo far I have:

1. Downloaded the Linux install packages for the printer and scanner from here: http://www.canon.co.uk/Support/Consumer_Products/products/Fax__Multifunctionals/InkJet/PIXMA_MP_series/PIXMA_MP640.aspx

2. Tried following the instructions from here:

http://www.howtoforge.com/how-to-install-a-canon-printer-on-debian-and-debian-like-systems
and
http://community.linuxmint.com/tutorial/view/192

However, having modified the install.sh as recommended as it's a 64 bit system I then get stopped cold by the ./autogen.sh with a variety of dependencies, glib, gtk+ etc which I seem to have got past, but the latest of which is in the below listing from trying to install the scanner - when I get fed up trying to install the printer and went for a change of pace:

julian@Cerce ~ $ su root
Password:
Cerce scangearmp # ./autogen.sh
**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 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 Â...
backend/Makefile.am:11: Libtool library used but `LIBTOOL' is undefined
backend/Makefile.am:11: Â The usual way to define `LIBTOOL' is to add `LT_INIT'
backend/Makefile.am:11: Â to `configure.in' and run `aclocal' and `autoconf' again.
backend/Makefile.am:11: Â If `LT_INIT' is in `configure.in', make sure
backend/Makefile.am:11: Â its definition is in aclocal's search path.
src/Makefile.am:13: compiling `main.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.in'
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... gawk
checking whether make sets $(MAKE)... yes
./configure: line 2706: AC_PROG_LIBTOOL: command not found
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 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... /bin/grep
checking for egrep... /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 PACKAGE... yes
checking for GIMP... no
configure: error: Package requirements (gimp-2.0 >= 2.0.0) were not met:

No package 'gimp-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GIMP_CFLAGS
and GIMP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Cerce scangearmp #

I have GIMP 2.8 installed.. any suggestions please for getting past this gimp-2.0 error. ÂI don't know where/how to set the environment variables it mentions, or what to set them to.

Kind regards,

Julian

I should also mention it's a networked printer on WiFi attached to my VM Superhub router which works fine on Windows 7 (it's a triple boot system, Windows XP for older games, Windows 7 for productivity - until I'm happy I can do everything in Mint :) and Mint 15).


Kind regards,

Julian


--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq