summaryrefslogtreecommitdiff
path: root/xsane.INSTALL
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:01 +0000
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:01 +0000
commite7e90b72fd3161c5d55fed49e100781dfa3e9408 (patch)
tree67cfcfae6b9a9e15701a332dfacbe0ca6440f16c /xsane.INSTALL
parent2d113e8792747151bf5d830f1a1485f2f951f940 (diff)
Imported Upstream version 0.84upstream/0.84
Diffstat (limited to 'xsane.INSTALL')
-rw-r--r--xsane.INSTALL50
1 files changed, 28 insertions, 22 deletions
diff --git a/xsane.INSTALL b/xsane.INSTALL
index 3bee8dc..c5e7446 100644
--- a/xsane.INSTALL
+++ b/xsane.INSTALL
@@ -1,18 +1,20 @@
REQUIREMENTS:
-------------
-- You need sane-1.0 or newer installed!
+- You need sane-1.0 or newer (since sane-1.0.4: sane-backends-1.0.4 or newer) installed!
If you installed sane from an rpm binary, you also have to install sane-devel.rpm !!!
Pay attention the sane-rpm and sane-devel-rpm are of the same version.
Sane-0.xx is NOT SUPPORTED!
-- You need gtk+-1.2.x and suitable glib-1.2.x
+- You need gtk+-1.2.x and suitable glib-1.2.x (I suggest to use gtk+-1.2.5 or newer).
+ If you install it as rpm you also may need the suitable *-devel Packages.
- For png support you need libz and libpng installed!
- For jpeg support you need jpeglib installed!
- For tiff support you need libtiff installed!
-- gcc (tested with gcc-v2.7.2.3), don`t use g++/c++ compilers,
- the egcs compiler sometimes makes problems!!!
+- gcc (tested with gcc-v2.7.2.3 and 2.95.2), don`t use g++/c++ compilers,
+ - the egcs compiler sometimes makes problems!!!
+ - the redhat gcc 2.96 is not an offical gcc version, it is known to make problems
+ with sane & xsane.
- To run xsane as gimp plugin: gimp has to be installed before configuring and
- compiling xsane. Use gimp-1.0.4 or above. Take care that gimp-1.1.x are
- development versions, gimp-1.1.3 does work, gimp-1.1.4 does not work!
+ compiling xsane. If you install it as rpm you also may need a gimp-devel package.
COMPILATION AND INSTALLATION:
@@ -21,28 +23,32 @@ DO THE FOLLOWING AS NORMAL USER, NOT AS ROOT:
- Unpack the xsane archiv in a directory of your choice.
- Enter xsane-0.xx directory.
- To compile call ./configure and make.
- - If you use kwm (KDE window manager), call configure with environment
- variable CPPFLAGS set to
- "-DXSANE_BUGGY_WINDOWMANAGER_WINDOW_POSITION".
- - When you already called ./configure it may be good to do a
- make distclean
- before you call ./configure again.
- If that does not work, remove config.cache:
- rm -f config.cache
-
-DO THE FOLLOWING AS ROOT:
+- When you already called ./configure it may be good to do a
+ make distclean
+ before you call ./configure again.
+ If that does not work, remove config.cache:
+ rm -f config.cache
+
+THE FOLLOWING POSSIBLY HAS TO BE DONE AS ROOT:
- Call make install
DO THE FOLLOWING AS NORMAL USER:
- Call xsane.
-- If you get an error message that libsane-dll.so.1 is not found, you have to
+- 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.
- For linux: edit /etc/ld.so.conf and add a line with the path to the
- libraries (normally /usr/local/lib/sane), then call ldconfig.
- THIS MUST BE DONE AS ROOT!
- If you use a SuSE linux, you may have to edit /etc/ld.so.conf.in instead and call
- SuSEconfig instead of ldconfig.
+ - 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/..."
+ you have to tell your systems dynamic library loader to search in "/usr/local/lib".
+ For linux: add the path "/usr/local/lib" to /etc/ld.so.conf and call ldconfig (as root).
+ In this case also make sure that /usr/local/bin is in your path!
+ - For sane-1.0.1 you have to add a line with the path to the SANE libraries
+ (normally /usr/local/lib/sane) to /etc/ld.so.conf and call ldconfig (as root).
+ For sane-1.0.2 (and later versions) the path to the SANE libs (normally /usr/local/lib/sane)
+ MUST NOT be listed in /etc/ld.so.conf (don`t mix it with the path /usr/local/lib that
+ has to be listed in /etc/ld.so.conf)
If something does not work like expected read file xsane.PROBLEMS
+DO NOT RUN XSANE AS ROOT!
+