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

Henning Meier-Geinitz henning at meier-geinitz.de
Sun Apr 25 12:41:07 BST 2004


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.

> 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.

Bye,
  Henning




More information about the sane-devel mailing list