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

Henning Meier-Geinitz henning@meier-geinitz.de
Sun, 25 Apr 2004 13:41:07 +0200


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

xsane comes with .gmo files bu they are older then the .po files so
the Makefile rebuilds them.