1SANE on UnixWare 7
2==================
3
4The easiest way to get SANE working on a UnixWare 7.1.X system (UW 7.0.0
5and 7.0.1 are not supported) is to download and install the SANE binary
6distribution from SCOs Skunkware web site. The URL is:
7
8        ftp://ftp.sco.com/skunkware/uw7/Packages
9
10Use the pkgadd command to install the files, e.g.:
11
12        # pkgadd -d `pwd`/sane-1.0.2.pkg
13
14A web page with further information specific to SANE on UnixWare 7 can be
15found here:
16
17        http://www.sco.com/skunkware/sane/index.html
18
19However, please note that the SANE package that is available from the
20Skunkware server will most likely contain the latest stable version of
21SANE. Since SANE is continuously being worked on, you might want to download
22the latest source from the Git repository and build the source yourself.
23
24To build SANE on a UnixWare 7.1.X system the following packages are required:
25
26        * make (GNU make)
27        * glibs (contains gtk, glib, libjpeg, libpnm, libtiff etc.; only
28          necessary for frontends xscanimage, xcam, and xsane which are
29          distributed separately)
30
31The packages can be downloaded from the Skunkware ftp server (see URL above).
32I've used the following versions to build sane-1.0.2:
33
34        * make-3.78.1.pkg
35        * glibs-2.0.3.pkg
36
37If you want to include support for The Gimp (this is optional), you need to
38install the gimp package, too. This is the version I've used:
39
40        * gimp-1.0.4.pkg
41
42GCC is not required. SANE compiles quite happily (and faster) with UnixWares
43native C compiler.
44
45Set the LD_RUN_PATH variable to add /usr/local/lib to the list of directories
46to be searched by the dynamic linker:
47
48        $ LD_RUN_PATH=/usr/local/lib
49        $ export LD_RUN_PATH
50
51Run the configure script as following:
52
53        $ LIBS="-lsdi" ./configure
54
55(The sdi library contains the SCSI passthrough functions the UW7 port of SANE
56uses to access the scanner from user space.)
57
58Run gmake to build SANE:
59
60        $ gmake
61
62SCSI access from user space requires special privileges. If you want users
63without root perms to be able to use the scanner you can use the filepriv
64command to change the privileges that are associated with the SANE
65applications:
66
67        # /sbin/filepriv -f driver -f sysops /usr/local/bin/scanimage
68        # /sbin/filepriv -f driver -f sysops /usr/local/bin/xscanimage
69        # /sbin/filepriv -f sysops /usr/local/bin/xcam
70
71If you have built SANE with support for The Gimp you might want to create
72a symlink from the plug-in directory to the xscanimage and xcam binaries,
73e.g.:
74
75        # ln -s /usr/local/bin/xscanimage \
76                /usr/local/lib/gimp/1.0/plug-ins/xscanimage
77        # ln -s /usr/local/bin/xcam /usr/local/lib/gimp/1.0/plug-ins/xcam
78
79Questions? Comments? Please send e-mail to jenss@sco.com or skunkware@sco.com!
80