summaryrefslogtreecommitdiff
path: root/xsane.INSTALL
blob: 3bee8dc52b373aad81dad1948a66743c47aa841f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
REQUIREMENTS:
-------------
- You need sane-1.0 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
- 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!!!
- 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!


COMPILATION AND INSTALLATION:
-----------------------------
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:
- 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
  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. 

If something does not work like expected read file xsane.PROBLEMS