summaryrefslogtreecommitdiff
path: root/xsane.PROBLEMS
blob: 65e56e7bde993bef53e40009d275704d6d88b08a (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
READ THIS FILE IF YOU EXPERIENCE ANY PROBLEM

 - If you get segmentation faults or unexpected problems:
   - make sure there is only one sane version installed before
     you compile xsane
     (try as root: $find / -name "*sane*" | less)
   - If you compiled xsane/gtk/glib with the egcs compiler try
     recompiling all with the "normal" gcc compiler (test with gcc -v)!

 - 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 A ROOT!
    If you use a SuSE linux, edit /etc/ld.so.conf.in instead and call
    SuSEconfig instead of ldconfig.

 - The online-help-viewer is now selectable.
   If you use kde you can enter kdehelp in setup/display.
   Preselected is netscape with usage of remote commands.

    On some SuSE systems there only is "Netscape" and no "netscape" in the path,
    in this case you have to set a symbolic link:

      ln -s /usr/bin/Netscape /usr/bin/netscape

 - If you call ./configure a second time, it may be good to call
     make distclean
   before that, if that does not work, remove config.cache:
     rm -f config.cache

 - If the compilation aborts with
      /usr/lib/libgimp.so: undefined reference to `g_debug'
      /usr/lib/libgimp.so: undefined reference to `g_message'
      /usr/lib/libgimp.so: undefined reference to `g_warning'
      /usr/lib/libgimp.so: undefined reference to `g_error'
    update to gimp-1.0.4 or newer!  

 - If the compilation aborts with
      sanei_wire.c:49: sane/sane.h: No such file or directory
   you did not install sane-devel.rpm!  Get sane-devel.rpm from
   the site you got sane.rpm and install it!

 - If make aborts with missing library "-lintl" try
     make distclean
     ./configure --with-included-gettext

 - If configure does not find libsane, try
     ./configure --enable-intl-patch

 - If gtk+ is compiled with NLS/gettext, you have to use the same
   gettext version. So if gtk+ is compiled with gettext in libc
   do NOT compile xsane with included gettext!
   Otherwise gtk will crash when gtk texts shall be translated.

 - If you are running BSD and gtk-config is not in your path or is
   named-gtk?.?-config, make sure environment variable GTK_CONFIG
   is set with full path to the config file that shall be used

 - If you get a segmentation fault when opening the preview (or histogram)
   window and your system is IRIX, make sure the default visual is 24-bit
   (edit /usr/lib/X11/xdm/Xservers)