Noonan, Sean P. on Tue, 27 Mar 2001 23:25:44 +0200 (CEST)


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

RE: Solaris 2.6


Thanks,

That did it.  But I thought the first line of the SETUP shell script:

#! /bin/sh

was suppose to tell the script to use /bin/sh ?  Obviously not!

Thanks,

Sean Noonan
noonans@spawar.navy.mil


 -----Original Message-----
From: 	Andreas Klemm [mailto:andreas@apsfilter.org] 
Sent:	Tuesday, March 27, 2001 1:13 PM
To:	Noonan, Sean P.
Cc:	'apsfilter-help@apsfilter.org'
Subject:	Re: Solaris 2.6

 << File: ATT00008.dat >> use a Posix compatible shell, i.e.: bash.

On Tue, Mar 27, 2001 at 12:09:19PM -0800, Noonan, Sean P. wrote:
> 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

	Andreas ///

-- 
Andreas Klemm
Apsfilter Homepage                  http://www.apsfilter.org
Support over mailing-lists (only!)  http://www.apsfilter.org/support
Mailing-list archive                http://www.apsfilter.org/Lists-Archives