[sane-devel] Changes required to build on Solaris 8 x86

Henning Meier-Geinitz henning@meier-geinitz.de
Thu, 27 Jun 2002 18:15:44 +0200


On Thu, Jun 27, 2002 at 04:26:19PM +0100, Ed Randall wrote:
> Here is a summary of the changes I needed to make to get a 
> clean working build on Solaris 8 x86:
> 1) Due to a "sed" barf, add a newline at the ends of:
> sane-backends-1.0.8/doc/sane-fujitsu.man
> sane-backends-1.0.8/doc/sane-tamarack.man
> sane-backends-1.0.8/doc/sane-test.man

Fixed in CVS.

> 2) Reduce SCSI buffer size to 64k

I have also changed this. 

It would be even better if it was possible to set the buffer size
at runtime using SANE_SG_BUFFERSIZE. This is only implemented for
Linux currently as far as I know.

Did anyone else have problems with the 128 KB buffers on Solaris?

> 3) Fixes to sane-config script

If we don't use "-e", we can't use the escape sequences like "\n" for
newline. So we can't just remove the -e. I guess we can output the
usage message with separatede echo commands instead but is there no
easier solution? Nobody else ever complained and the code is there for
2 and a half years :-)

Thanks for you corrections!