2000-11-11 21:34:39 +00:00
|
|
|
How to configure, build, and install SANE-FRONTENDS.
|
|
|
|
|
|
|
|
Quick install:
|
|
|
|
==============
|
|
|
|
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
|
2000-11-12 17:10:55 +00:00
|
|
|
|
2002-01-27 12:04:33 +00:00
|
|
|
Type `./configure --help' for a list of options.
|
2002-01-12 10:52:59 +00:00
|
|
|
|
|
|
|
Prerequisites:
|
|
|
|
|
2001-09-05 18:30:38 +00:00
|
|
|
- GNU make version 3.70 or later and an ANSI C-Compiler (e.g. gcc) is needed
|
|
|
|
for compilation. It may be necessary to specify the path to GNU make and the
|
|
|
|
compiler by setting the environment variables MAKE and CC before running
|
|
|
|
configure.
|
|
|
|
|
2000-11-11 21:34:39 +00:00
|
|
|
- You must install the sane-backends package before you can configure this
|
|
|
|
package. If you use pre-compiled binaries (e.g. from your distribution) you
|
|
|
|
will also have to install the SANE headers (maybe in a package called
|
2001-04-08 16:17:09 +00:00
|
|
|
sane-devel or similar).
|
2000-11-11 21:34:39 +00:00
|
|
|
|
|
|
|
- For xscanimage and xcam you need the X Window libraries and headers.
|
2001-04-08 16:17:09 +00:00
|
|
|
Further more GTK version 0.99.13 (or above) must be installed together with
|
2001-09-05 18:30:38 +00:00
|
|
|
its header files. GTK can be found at http://www.gtk.org/. For some
|
|
|
|
operating systems it's necessary to set the path to gtk-config explicitely.
|
|
|
|
This can be done by using the environment variable GTK_CONFIG. For FreeBSD
|
2001-10-26 18:55:15 +00:00
|
|
|
try `GTK_CONFIG=/usr/X11R6/bin/gtk12-config'.
|
2000-11-11 21:34:39 +00:00
|
|
|
|
|
|
|
- If you want to use xscanimage as a GIMP plug-in, the GIMP libraries and
|
2002-01-27 12:04:33 +00:00
|
|
|
headers are necessary. See http://www.gimp.org/. See also `man xscanimage'.
|
2000-11-11 21:34:39 +00:00
|
|
|
|
|
|
|
- If you get an error message that libsane-dll.so.1 or libsane-so.1 is not
|
|
|
|
found, you have to tell your system where the SANE-libraries are installed.
|
2002-01-27 12:04:33 +00:00
|
|
|
On some systems the library directory `/usr/local/lib' is not searched by
|
|
|
|
the system's dynamic library loader. If SANE is installed in `/usr/local/...'
|
2001-07-10 22:09:38 +00:00
|
|
|
you have to tell your system's dynamic library loader to search in
|
2002-01-27 12:04:33 +00:00
|
|
|
`/usr/local/lib'. For Linux: add the path `/usr/local/lib' to
|
|
|
|
/etc/ld.so.conf and call ldconfig (as root). Another approach is to set the
|
|
|
|
environment variable LD_LIBRARY_PATH (or the equivalent on other operating
|
|
|
|
systems) to `/usr/local/lib'.
|
2001-05-28 21:36:42 +00:00
|
|
|
|
|
|
|
Uninstall
|
|
|
|
=========
|
|
|
|
|
2002-01-12 10:52:59 +00:00
|
|
|
To uninstall the binaries and manual pages, type `make uninstall'.
|
2001-09-05 18:30:38 +00:00
|
|
|
|
2002-01-27 12:04:33 +00:00
|
|
|
|
|
|
|
See also the PROBLEMS and README files.
|
|
|
|
|