[sane-devel] Support for CanoScan 9000F and others: splitting pixma_mp150.c into two drivers

Olaf Zevenboom olaf_7 at yahoo.com
Thu Dec 15 16:25:27 UTC 2011

I have the same problem on the Debian Stable 64 bit. The problem is likely within the script:
/bin/bash ../mkinstalldirs -m 775 -g uucp /usr/local/var/lock/sane
Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
Both the help info (./mkinstalldit --help) and looking inside the script does not make clear that "-g uucp" is allowed as a parameter. Besides -m only directories are.

--- On Thu, 12/15/11, Gernot Hassenpflug <aikishugyo at gmail.com> wrote:

From: Gernot Hassenpflug <aikishugyo at gmail.com>
Subject: Re: [sane-devel] Support for CanoScan 9000F and others: splitting pixma_mp150.c into two drivers
To: sane-devel at lists.alioth.debian.org
Date: Thursday, December 15, 2011, 5:11 PM

I am having trouble compiling the development version of SANE now,
unfortunately, straight from the repository.

32-bit Debian unstable
installed version of SANE: 1.0.2

I do the following as root:

cd ~/src
git clone git://git.debian.org/sane/sane-backends.git
cd sane-backends
BACKENDS="pixma epson2" ./configure
make install

Everything up to and including "make" seems to end perfectly.
Unfortunately, make install fails. Here is the last part of the

make  install-data-hook
make[4]: Entering directory `/home/gernot/src/sane-CVS/sane-backends/backend'
rm -f /usr/local/lib/sane/libsane.*
test -z "/usr/local/etc/sane.d" || /bin/mkdir -p "/usr/local/etc/sane.d"
test -z "/usr/local/etc/sane.d/dll.d" || /bin/mkdir -p
NOT overwriting pixma.conf in /usr/local/etc/sane.d...
NOT overwriting epson2.conf in /usr/local/etc/sane.d...
NOT overwriting saned.conf in /usr/local/etc/sane.d...
NOT overwriting dll.conf in /usr/local/etc/sane.d...
for dir in artec_eplus48u gt68xx snapscan epjitsu ; do \
      /bin/bash ../mkinstalldirs /usr/local/share/sane/${dir} ; \
/bin/bash ../mkinstalldirs -m 775 -g uucp /usr/local/var/lock/sane
Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...

Create each directory DIR (with mode MODE, if specified), including all
leading file name components.

Report bugs to <bug-automake at gnu.org>.
make[4]: *** [install-lockpath] Error 1
make[4]: Leaving directory `/home/gernot/src/sane-CVS/sane-backends/backend'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/home/gernot/src/sane-CVS/sane-backends/backend'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/gernot/src/sane-CVS/sane-backends/backend'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/gernot/src/sane-CVS/sane-backends/backend'
make: *** [install-recursive] Error 1

I don't see an explicit reason given (such as permissions missing).
Searching for comments regarding the actual error line yields no
recent results (an error like this apparently existed in 1.0.20 in
2009 for some gentoo users, according to search results).

Any pointers much appreciated.
Gernot Hassenpflug

I wonder if there is

sane-devel mailing list: sane-devel at lists.alioth.debian.org
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-request at lists.alioth.debian.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20111215/6124a8df/attachment.html>

More information about the sane-devel mailing list