[sane-devel] Xsane 0.92: make fails with /bin/sh: no: command not found

Laurent-jan Dullaart ljm@xs4all.nl
Sun, 25 Apr 2004 17:51:37 +0200

On Sunday 25 April 2004 13:41, Henning Meier-Geinitz wrote:
> Hi,
> On Sun, Apr 25, 2004 at 10:50:48AM +0200, Laurent-jan Dullaart wrote:
> > As a part of rejuvenating the FAQ, I went through rhe installation process 
> > again. My first dissapointment was the need to upgrade GIMP if I wanted to 
> > compile the sane-frontends as GIMP plug-in. Oh, well...
> Which version of gimp did you want to use? 


> I tested 1.2.0 and 2.0 and both
> worked. Older versions should also work but I didn't test them.

That surprises me a bit. Reading the config-log, I'd think 1.3.23 was the 
minimum version:

configure:8004: checking for GIMP - version >= 1.3.23
configure:8166: gcc -o conftest -g -O2 -Wall   -D_GNU_SOURCE  conftest.c -lm   
conftest.c:10:1: warning: "PACKAGE_VERSION" redefined
conftest.c:5:1: warning: this is the location of the previous definition
In file included from conftest.c:53:
<and some more compile/parse errors>

On the other hand, the SANE-API is sufficiently well designed to be able to 
use the older frontends(1.0.9)  with the new backends (1.0.13) without 
recompiling the oldones.

> > But more seriously: when compiling the xsane 0.92, I got the message:
> > 
> > file=./`echo cs | sed 's,.*/,,'`.gmo \
> >   && rm -f $file && PATH=../src:$PATH no -o $file cs.po
> > /bin/sh: no: command not found
> > make: *** [cs.gmo] Error 127
> > 
> > Browsing through the mailinglist, I found that  a 
> > ./configure --disable-nls
> > avoided this errormessage. So I got xsane compiled and running. But it is 
> > a nasty errormessage that should get fixed.
> Looks like a real bug in xsane: While the configure script tests for
> msgformat, it still tries to run that program if it's not present. It
> doesn't help to use the internal NLS in that case as it doesn't
> provide msgformat either. xsane should disable NLS in that case
> automatically.
> xsane comes with .gmo files bu they are older then the .po files so
> the Makefile rebuilds them.



and some mails on the 0.80-version I understand that the problem has been 
there before.

(c) ljm ( xs4all)    No part of this copyright message may be 
reproduced, read or seen, dead or alive or by any means, including
but not limited to telepathy  without the benevolence of the author.