Canon DR-F120 scanner driver source code

New to Debian (Or Linux in general)? Ask your questions here!

Canon DR-F120 scanner driver source code

Postby Deblib » 2018-06-05 01:00

Hi, I'm trying to install the Canon DR-F120 scanner driver from the source code, following the instructions of the file you linked to:
http://support-th.canon-asia.com/index.jsp?fuseaction=support&prod_type=document_scanner&page=download&lang=TH#DR
[*]This file gives a brief description on how to build and install Scanner driver
modules.

Introduction:
=============
This package is the scanner driver modules for Canon Electronicns scanners.
These modules are used with SANE (SANE - Scanner Access Now Easy).

This package consists of five modules:

*1 libsane-canondr module
This is a SANE backend module.

*2 canondr_backend scanner name module
This is a SANE backend common module.

*3 canondr_com_usb module
This is a USB connection module.

*4 canondr.conf file
This is a setting file for SANE.
This package supports the scanners;
(see README-scanner name-x.xx.txt file)

*5 Configuration files
This is a setting file for a scanner device.


Licensing:
==========
This package consists of five modules as described above.
No.3, 4 are subject to GNU General Public License (GPL) (see COPYING file).
No.1, 2, 5 are subject to Canon Electronics Inc's License (see
LICENSE-scanner name-x.xx.txt file).

Note that licensing term may vary from file to file. Please consult
each files for the exact licensing conditions.


Requirments:
============

* libusb-devel (0.1.8 or above)
* automake (1.9.2 or above)
* libtool (1.5.6 or above)
* sane backend source code (1.0.22)


Install:
==============
To build and install Scanner driver modules, run make at the top-level
directory of this pakage source trees as follows:
Please put sane-backends-1.0.22.tar.gz in the place same as top-level directory.
$ tar -xzvf sane-backends-1.0.22.tar.gz
$ cd sane-backends-1.0.22
$ ./configure --prefix=/usr --sysconfdir=/etc
$ make
Change the top-level directory of this pakage source trees.
$ make
$ su
# make install
[*]
However, as of
Code: Select all
~/cndrvsane-drf120-1.00-2$ ./configure --prefix=/usr --sysconfdir=/etc
bash: ./configure: No existe el fichero o el directorio

I can't move forward.
Deblib
 
Posts: 98
Joined: 2016-05-14 14:41

Re: Canon DR-F120 scanner driver source code

Postby sunrat » 2018-06-05 12:34

You need to follow the install instructions.

Code: Select all
Please put sane-backends-1.0.22.tar.gz in the place same as top-level directory.
$ tar -xzvf sane-backends-1.0.22.tar.gz
$ cd sane-backends-1.0.22


Not the same as what you did.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2325
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Canon DR-F120 scanner driver source code

Postby stevepusser » 2018-06-05 17:30

I didn't see any instructions to install a compiler toolchain, either, which Debian does not install by default. You can do this by installing "build-essential".

I can't see how a printer driver would be a kernel module, but they do call them that in the instructions. If you do need a kernel module build toolchain, install "module-assistant", then run as sysadmin:
Code: Select all
m-a prepare


This will also install build-essential, among other things.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.2, Pale Moon 27.9.3, wine-staging 3.10, QuiteRSS 0.18.11, Linux kernel 4.17, Krita 4.0.4
User avatar
stevepusser
 
Posts: 9645
Joined: 2009-10-06 05:53

Re: Canon DR-F120 scanner driver source code

Postby Deblib » 2018-06-09 18:53

I installed build-essential and module-assistant and continued the installation process where I left off:
Code: Select all
~/cndrvsane-drf120-1.00-2$ ./configure --prefix=/usr --sysconfdir=/etc
bash: ./configure: No existe el fichero o el directorio
Deblib
 
Posts: 98
Joined: 2016-05-14 14:41


Return to Beginners Questions

Who is online

Users browsing this forum: sparky25 and 2 guests

fashionable