Can't get SANE to compile on SGI

Brent L. Bates (blbates@vigyan.com)
Fri, 24 Apr 1998 12:31:28 -0400

I've been trying to compile SANE (tried both versions 0.71 & 0.72) on a SGI
running IRIX 6.2 and the make file in the `backend' directory is screwed up and
will not let me finish. The error message I'm getting is:

making all in backend
"Makefile", line 179: Missing dependency operator
"Makefile", line 188: Need an operator
Fatal errors encountered -- cannot continue

Line 179 looks like this:

ifneq ($(DLL_PRELOAD),)

This doesn't look like a standard make command. I have tried using the
standard `make' command and SGI's `smake/pmake' command and neither work.
The `README' file says something about using GNU make, this is NOT an
option. I HAVE a STANDARD make command. I'm not going to waste disk space
with a non-standard make command. If you are going to make this software
available, then don't use proprietary software, use standard utitities and NO,
GNU make is NOT a standard utitity.

So far, I also found a bug in one include file, include/sane/sanei_pio.h
It should have something like the following:

#if defined (HAVE_IOPERM) && !defined (IO_SUPPORT_MISSING)
extern SANE_Status sanei_pio_open (const char * dev, int * fd);
#else /* !HAVE_IOPERM */
extern int sanei_pio_open (const char *dev, SANE_Status * status);
#endif /* !HAVE_IOPERM */

This is so the include file matches the logic in the file:
sanei/sanei_pio.c

I'd really like to use this software ASAP, but this screwed up makefile is
causing me head aches and I have yet figured out how to fix the makefile so
that it works correctly.
Thanks for any help.

-- 

Brent L. Bates (UNIX Sys. Admin.) Phone:(757) 865-1400 M.S. 912 FAX:(757) 865-8177 NASA Langley Research Center Hampton, Virginia 23681-0001 Email: B.L.BATES@larc.nasa.gov http://www.vigyan.com/~blbates/

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com