Scanner Access Now Easy ― Backends
 
 
 
 
 
 
Go to file
Petter Reinholdtsen cd0d896bfa New version is 1.0.2. 2000-03-05 13:27:31 +00:00
backend Changed description from v4l to Video For Linux. 2000-02-27 11:38:46 +00:00
doc fixed an ambiguity in doc/sane-scsi.man 2000-03-01 12:22:06 +00:00
frontend OS/2 send socket on param list. Patch from Yuri Dario. 2000-02-19 12:03:06 +00:00
include/sane Typedef u_int{8,16,32}_t. Defining them gave bogus code 2000-02-20 10:57:00 +00:00
sanei Removed some warnings. 2000-02-20 04:27:17 +00:00
tools In backend web page, packends not included in the distribution have 2000-02-24 02:13:15 +00:00
AUTHORS Marked active maintainers with '(*)'. 2000-02-20 08:09:10 +00:00
ChangeLog Use sanei_config_read in hp-backend 1994-07-20 19:00:10 +00:00
NEWS New version is 1.0.2. 2000-03-05 13:27:31 +00:00
README.unixware7 Added compile information for SCO UnixWare 7 from Jens Scheithauer. 2000-02-27 10:59:35 +00:00
acinclude.m4 Separate GTK_LIBS into LIBS and LDFLAGS to get the X programs to 1999-08-16 18:12:02 +00:00
aclocal.m4 Separate GTK_LIBS into LIBS and LDFLAGS to get the X programs to 1999-08-16 18:12:02 +00:00
config.guess Updated to latest versions from FSF. Better support for 1999-08-11 20:19:12 +00:00
config.sub UnixWare 2.x and UnixWare 7 port by Wolfgang Rapp. 2000-01-30 05:50:04 +00:00
configure New version is 1.0.2. 2000-03-05 13:27:31 +00:00
configure.in New version is 1.0.2. 2000-03-05 13:27:31 +00:00
configure.os2 Updated configure param list from Yuri Dario. 2000-02-19 11:14:28 +00:00
install-sh Updated from automake 1.4 and libtool 1.3.3. 1999-08-09 19:10:36 +00:00
ltconfig Upgraded to libtool 1.3.4. 2000-02-13 08:56:18 +00:00
ltmain.sh Added Oliver Rauch's soname patch. 2000-02-13 08:59:19 +00:00
mkinstalldirs Updated from automake 1.4 and libtool 1.3.3. 1999-08-09 19:10:36 +00:00

README.unixware7

SANE on UnixWare 7 
================== 

The easiest way to get SANE working on a UnixWare 7.1.X system (UW 7.0.0 
and 7.0.1 are not supported) is to download and install the SANE binary 
distribution from SCOs Skunkware web site. The URL is: 

        ftp://ftp.sco.com/skunkware/uw7/Packages 

Use the pkgadd command to install the files, e.g.: 

        # pkgadd -d `pwd`/sane-1.0.2.pkg 

A web page with further information specific to SANE on UnixWare 7 can be 
found here: 

        http://www.sco.com/skunkware/sane/index.html 

However, please note that the SANE package that is available from the 
Skunkware server will most likely contain the latest stable version of 
SANE. Since SANE is continously being worked on, you might want to download 
the latest source from the CVS repository and build the source yourself. 

To build SANE on a UnixWare 7.1.X system the following packages are required: 

        * make (GNU make) 
        * glibs (contains gtk, glib, libjpeg, libpnm, libtiff etc.) 

The packages can be downloaded from the Skunkware ftp server (see URL above). 
I've used the following versions to build sane-1.0.2: 

        * make-3.78.1.pkg 
        * glibs-2.0.3.pkg 

If you want to include support for The Gimp (this is optional), you need to 
install the gimp package, too. This is the version I've used: 

        * gimp-1.0.4.pkg 

GCC is not required. SANE compiles quite happily (and faster) with UnixWares 
native C compiler. 

You also need a utility called 'rev' which isn't part of UnixWare 7. This 
tool is used by the backend Makefile to give the SANE libraries in their 
target locations the proper names. You can find the rev source at the end 
of the README.unixware2 file. Save the code as rev.c, compile it and copy 
the binary to a location that is in your $PATH, e.g. /usr/local/bin: 

        (save code as rev.c) 
        # cc -o rev rev.c 
        # cp rev.c /usr/local/bin 

Set the LD_RUN_PATH variable to add /usr/local/lib to the list of directories 
to be searched by the dynamic linker: 

        $ LD_RUN_PATH=/usr/local/lib 
        $ export LD_RUN_PATH 

Run the configure script as following: 

        $ LIBS="-lsdi" ./configure 

(The sdi library contains the SCSI passthrough functions the UW7 port of SANE 
uses to access the scanner from user space.) 

Run gmake to build SANE: 

        $ gmake 

SCSI access from user space requires special privileges. If you want users 
without root perms to be able to use the scanner you can use the filepriv 
command to change the privileges that are associated with the SANE 
applications: 

        # /sbin/filepriv -f driver -f sysops /usr/local/bin/scanimage 
        # /sbin/filepriv -f driver -f sysops /usr/local/bin/xscanimage 
        # /sbin/filepriv -f sysops /usr/local/bin/xcam 

If you have built SANE with support for The Gimp you might want to create 
a symlink from the plug-in directory to the xscanimage and xcam binaries, 
e.g.: 

        # ln -s /usr/local/bin/xscanimage \ 
                /usr/local/lib/gimp/1.0/plug-ins/xscanimage 
        # ln -s /usr/local/bin/xcam /usr/local/lib/gimp/1.0/plug-ins/xcam 

Questions? Comments? Please send e-mail to jenss@sco.com or skunkware@sco.com!