Re: [sane-devel] "No: command not found" when building sane-backends

2016-09-18 Thread Tristan Miller
Greetings.

On Sunday, September 18, 2016 9:47:32 PM CEST Olaf Meeuwissen wrote:
> I confused dhl with a well known mail carrier in configure.ac.  On top
> of that, I forgot to add the fig2dev check.  Fixes have been pushed and
> things should be all well on master.

Thanks!  I've verified that the build now succeeds even when fig2dev and dlh 
are not present.  (Presumably the part of the doc build that depends on them 
is just skipped.)

Regards,
Tristan

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Tristan Miller
Free Software developer, ferret herder, logologist
 https://logological.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


signature.asc
Description: This is a digitally signed message part.
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] "No: command not found" when building sane-backends

2016-09-18 Thread Olaf Meeuwissen
Hi Tristan, list,

Olaf Meeuwissen writes:

> Tristan Miller writes:
>
>> Greetings.
>>
>> On Saturday, September 17, 2016 3:37:26 PM CEST m. allan noah wrote:
>>> Hmm, sounds like fig2dev is missing on your machine, and we mistakenly
>>> tested for it and let the string 'no' sneak thru when it was not
>>> found. Looks like Olaf worked on this in cc8f99b9
>
> I don't think that that's what caused it.  I think it was introduced in
> 79c62362 in combination with changes in newer versions of the autotools.

I was wrong.

I confused dhl with a well known mail carrier in configure.ac.  On top
of that, I forgot to add the fig2dev check.  Fixes have been pushed and
things should be all well on master.

# Unless you `make html`.  That target is still potentially broken due
# to its sane-html and man-html dependencies.

The reason I didn't see these issues in my CI builds is because they
don't have any of the other needed utilities installed either.  The
absence of those other utilities prevented sane-html getting added to
the all target.

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join


-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] "No: command not found" when building sane-backends

2016-09-17 Thread Olaf Meeuwissen

Tristan Miller writes:

> Greetings.
>
> On Saturday, September 17, 2016 3:37:26 PM CEST m. allan noah wrote:
>> Hmm, sounds like fig2dev is missing on your machine, and we mistakenly
>> tested for it and let the string 'no' sneak thru when it was not
>> found. Looks like Olaf worked on this in cc8f99b9

I don't think that that's what caused it.  I think it was introduced in
79c62362 in combination with changes in newer versions of the autotools.

> Thanks for the tip.  I installed fig2dev (via my distribution's transfig 
> package) but the build still fails:
>
> Making all in doc
> make[1]: Entering directory '/home/psy/git/sane-backends/doc'
> Generating sane.pdf from sane.tex...
> TEXINPUTS=".:.:$TEXINPUTS" no ./sane.tex
> /bin/sh: no: command not found
> Makefile:992: recipe for target 'sane-html' failed
>
> Looks like this time the Makefile has ungracefully failed because dlh is 
> missing.  Installing dlh fixes this second problem.
>
> Should I file a bug report for these problems?

There is one already ;-)  Have a look at 315435[1]

 [1] 
https://alioth.debian.org/tracker/index.php?func=detail=315435_id=30186=410366

Did you by any chance run autoreconf?  If so, could you check whether
this is reproducible with a clean checkout?  Like so

  git stash
  ./configure [options]
  make

If you can reproduce with a clean checkout then either I messed up in
79c62362 or your distribution is playing tricks on me.

Hmm, just checked the links you mentioned in your first posts and now
get the feeling I just may have forgotten to consider the case where
HTML documentation is requested, whether explicitly or not, when the
tools are not available ...

Looks like 79c62362 needs a fix after all :-(

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join


-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


Re: [sane-devel] "No: command not found" when building sane-backends

2016-09-17 Thread Tristan Miller
Greetings.

On Saturday, September 17, 2016 3:37:26 PM CEST m. allan noah wrote:
> Hmm, sounds like fig2dev is missing on your machine, and we mistakenly
> tested for it and let the string 'no' sneak thru when it was not
> found. Looks like Olaf worked on this in cc8f99b9

Thanks for the tip.  I installed fig2dev (via my distribution's transfig 
package) but the build still fails:

Making all in doc
make[1]: Entering directory '/home/psy/git/sane-backends/doc'
Generating sane.pdf from sane.tex...
TEXINPUTS=".:.:$TEXINPUTS" no ./sane.tex
/bin/sh: no: command not found
Makefile:992: recipe for target 'sane-html' failed

Looks like this time the Makefile has ungracefully failed because dlh is 
missing.  Installing dlh fixes this second problem.

Should I file a bug report for these problems?

Regards,
Tristan

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Tristan Miller
Free Software developer, ferret herder, logologist
 https://logological.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


signature.asc
Description: This is a digitally signed message part.
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] "No: command not found" when building sane-backends

2016-09-17 Thread m. allan noah
Hmm, sounds like fig2dev is missing on your machine, and we mistakenly
tested for it and let the string 'no' sneak thru when it was not
found. Looks like Olaf worked on this in cc8f99b9

allan

On Sat, Sep 17, 2016 at 12:50 PM, Tristan Miller
 wrote:
> Greetings.
>
> I'm trying to build sane-backends cloned from the Git repository.  This
> inevitably fails with the following error:
>
> Making all in doc
> make[1]: Entering directory '/home/psy/git/sane-backends/doc'
> no -L eps figs/area.fig figs/area.eps
> make[1]: no: Command not found
> Makefile:972: recipe for target 'figs/area.eps' failed
> make[1]: *** [figs/area.eps] Error 127
> make[1]: Leaving directory '/home/psy/git/sane-backends/doc'
> Makefile:542: recipe for target 'all-recursive' failed
> make: *** [all-recursive] Error 1
>
> The Sane FAQ at  addresses this
> problem for the case of building Xsane, but not sane-backends.  The suggested
> solution (passing --disable-nls to the configure script) has no effect.
>
> It seems this problem has been reported elsewhere on the web (e.g.,  lists.debian.org/debian-user/2016/08/msg00484.html> and  questions/1101439/error-building-sane-backend-on-debian>) but no solutions
> have been posted.  Can anyone help?
>
> I am using openSUSE 42.1 on an x86-64 system.
>
> Regards,
> Tristan
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>   Tristan Miller
> Free Software developer, ferret herder, logologist
>  https://logological.org/
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> --
> sane-devel mailing list: sane-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>  to sane-devel-requ...@lists.alioth.debian.org



-- 
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org