[sane-devel] Problem building sane-backends-1.0.7 under Solaris 8, gcc 2.95.2

Henning Meier-Geinitz henning at meier-geinitz.de
Thu Apr 4 18:41:17 BST 2002


Hi,

On Fri, Apr 05, 2002 at 01:29:51AM +1000, Craig Dewick wrote:
> Recently I have obtained a used Microtek Scanmaker-III SCSI scanner and
> I'm in the process of building and installing all the software needed to
> do useful work with it. 8-)

You forgot the most important part: GNU make :-)
See README.

> make: Fatal error in reader: Makefile, line 340: Unexpected end of line seen
> Current working directory /azwan/sane-backends-1.0.7/backend
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'

This doesn't look like GNU make...

> ifneq ($(DLL_PRELOAD),)
 
> I am guessing this is a simple Makefile syntax issue, but it could mean
> that the configure script has a problem that's resulting in the Makefile
> being created as shown, which is causing the error message shown above.
> 
> What needs to be done to fix up the Makefile? Is the 'ifneq' statement
> actually valid in a makefile? What's wrong with it? I'm guessing the
> comma might be spurious, but I could be wrong.

The line is ok but some non-GNU make programs don't seem to like it.
If you habe gmake, try "make=gmake ./configure" and "gmake".

Bye,
  Henning



More information about the sane-devel mailing list