I just installed the apsfilter-7.2.8 ( Jun 10 09:47) snapshot package
on the latest i386 snapshot:

OpenBSD 4.1-current (GENERIC) #298: Sun Jun 17 14:22:17 MDT 2007
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 268 MHz

First error I encountered is at the beginning of running the SETUP.
'chown' complains about invalid user 'lp'
-----------------------------------------------------
# /etc/apsfilter/basedir/SETUP
chown: user is invalid: lp
     _/_/                         _/_/ _/ _/   _/
  _/    _/ _/_/_/     _/_/_/   _/        _/ _/_/_/_/   _/_/   _/  _/_/
 _/_/_/_/ _/    _/ _/_/     _/_/_/_/ _/ _/   _/     _/_/_/_/ _/_/
_/    _/ _/    _/     _/_/   _/     _/ _/   _/     _/       _/
_/    _/ _/_/_/   _/_/_/     _/     _/ _/     _/_/   _/_/_/ _/
       _/
      _/
--------------------------------------------------

Second glitch is that '/usr/local/bin/gawk' cannot be found:

     ================================================================
         A P S F I L T E R   S E T U P               -- PROGRAM INFO --
       ================================================================

       This SETUP script supports the user/administrator by

               - configuring serial/parallel/remote printers
               - creating printer spool directories as needed
               - auto-creation of printcap config-file
                 for apsfilter (add / overwrite printer)
               - setting up apsfilter (which gs driver to use,
                 paper size, print resolutions and color depth)
               - printing a test page (settings may be modified
                 until successfull ouput of a testpage)
               - saves some SETUP settings in apsfilterrc config file

       it does not:

               - complete printer management in printcap
                 (delete/modify printer)
       ----------------------------------------------------------------

                       [ press <RETURN> to continue ]

Checking permissions of /usr/local/share/apsfilter
/etc/apsfilter/basedir/SETUP[1943]: /usr/local/bin/gawk: not found
/etc/apsfilter/basedir/SETUP[1943]: /usr/local/bin/gawk: not found
found dir owner=, not ok!
setting dir owner=bin!
found dir group=bin, not ok!
setting dir group=bin!
changing permissions of /usr/local/share/apsfilter... done.

[snip]
--------------------------------------------------
I needed to print something urgently so I worked around this by
creating a symbolic link:

#   ln -s $(which awk) /usr/local/bin/gawk

After that the SETUP went well and I could print successfully on my HP
Deskjet 3820.

=Adriaan=

Reply via email to