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
|
|
|
|
|
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
|
2000-11-12 17:10:55 +00:00
|
|
|
|
headers are necessary. See http://www.gimp.org/.
|
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.
|
2001-09-05 18:30:38 +00:00
|
|
|
|
On some systems the library directory "/usr/local/lib" is not searched by
|
2001-04-08 16:17:09 +00:00
|
|
|
|
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
|
2001-04-08 16:17:09 +00:00
|
|
|
|
"/usr/local/lib". For Linux: add the path "/usr/local/lib" to
|
2000-11-11 21:34:39 +00:00
|
|
|
|
/etc/ld.so.conf and call ldconfig (as root).
|
|
|
|
|
|
|
|
|
|
See also the PROBLEMS file.
|
2001-05-28 21:36:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Uninstall
|
|
|
|
|
=========
|
|
|
|
|
|
2001-09-05 18:30:38 +00:00
|
|
|
|
To uninstall the binaries and manual pages, type `make uninstall<6C>.
|
|
|
|
|
|