T2 SDE
SANE/Avision
   Devices
   Getting
   Compiling
   Easy use
   FAQ
   Feedback
ExactAudio
ExactImage
EmbeddedSTL
eScreen
MacOSD
minised
ExactBuild
Openbench
Vorbisinfo

A short introduction for newbies, how to patch the latest SANE release and recompile it. Do not forget to replace the example version used here with the latest ones ... ;-)

 

The (*) marked lines are only needed for additionally compiling the SANE/Frontends!

 

First get the SANE sourcecode:

 

Download the latest sane-backend package from ftp://ftp.sane-project.org/pub/sane/

 

Extract the sources:

 

tar xvfz sane-backends-1.0.8.tar.gz

 

Get the latest SANE/Avision backend:

 

Place the latest avision.h and avision.c from the SANE CVS/Git and place them in the backend directory of the sane-backend packages to overwrite the exiting, older backend.

 

Configure the source:

 

Here you must keep care, that you use the same configuration directory as your distribution does. Many use /etc/(sane.d) or whether you would like to replace your distribution's SANE version. If you want both use:

 

./configure --sysconfdir=/etc --prefix=/usr

 

If you want to keep your old versions use:

 

./configure --sysconfdir=/etc

 

The conifgure script will then use /usr/local as installation prefix. If you do not specify the sysconfdir, the configure script will use $prefix/etc/sane.d as configuration directory ...

 

Compile the source:

 

make

make install


ImpressumAGB