Noonan, Sean P. on Tue, 27 Mar 2001 22:09:30 +0200 (CEST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Solaris 2.6


Hello:

Please bear with me.  I use FreeBSD at home and installing apsfilter on that
was tooooo easy.

But now I'm at work and have to deal with a Solaris 2.6 SPARC box.

Will apsfilter work with Solaris 2.6?  Must I install LPRng first?

When I unzipped and tarred the latest 6.1.0 stuff, I cd'd to apsfilter
directory.  From that directory,
Tried running "./SETUP".  This is the result:

# ./SETUP
./SETUP: syntax error at line 409: `|' unexpected
#

I looked at the SETUP file around line 409 and found this:

else
            # get the driver specified by number
            PRINTER="`grep -v "^#" $PRINTER_LIST \
                      | awk -F "|" "{ if (FNR == $answer) print \\$2 }"`"
fi

I changed this to read:

else
            # get the driver specified by number
            PRINTER="`grep -v "^#" $PRINTER_LIST | awk -F "|" "{ if (FNR ==
$answer) print \\$2 }"`"
fi

and then reran ./SETUP.  This time I got this:

# ./SETUP
./SETUP: syntax error at line 1044: `TESTOUT=$' unexpected
#

I looked around line 1044 of SETUP and found this:

    TESTOUT=$(mktemp 2>/dev/null $TMPDIR/aps_testout.XXXXXX \
            || echo $TMPDIR/aps_testout.$$)

The problem is I don't know why it's giving me an error or how I should fix
this.

Am I doing something drastically wrong?  Maybe APSfilter just doesn't work
with solaris 2.6?

Any help is greatly appreciated!

Sean Noonan
noonans@spawar.navy.mil