[sane-devel] make fails on debian unstable

Chris Bagwell chris at cnpbagwell.com
Sat Jan 17 00:11:54 UTC 2009


norv wrote:
> Hi and thanks for sane,
> I am trying to compile from cvs on debian sid and make fails with following
> lines
>
> .......>
> epkowa.desc: Warning: Backend `epkowa': 8 USB devices without :usbid
> brother.desc: Warning: Backend `brother': 1 USB devices without :usbid
> brother2.desc: Warning: Backend `brother2': 9 USB devices without :usbid
> make[1]: Leaving directory `/home/norv/sane-backends/tools'
> making all in doc
> make[1]: Entering directory `/home/norv/sane-backends/doc'
> Generating index for sane.ps...
> make[1]: *** [sane.ind] Error 1
> make[1]: Leaving directory `/home/norv/sane-backends/doc'
> make: *** [all-recursive] Error 1
> norv at sid5600:~/sane-backends$ 
>
> I have libusb-dev installed and my configure argument is
>
> ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
> BACKENDS=pixma
>
>
> I get the same error with and without the BACKENDS=pixma entry.
>
> What could I do?
> Norv 
>   
Is it possible to tell me what time you took a snapshot of CVS?  I 
committed some updates to Makefile.in's  at roughly the timestamp of 
your email. 

I didn't touch anything related to your failure but I'll try to help out 
to be sure its not my changes.  I've just done a cvs update and mine 
compiles OK there:

Generating index for sane.ps...
Generating sane.ps...

Some things follow to help debug this.  Try running make in debug mode 
to get better reason for failure (warning: volume of info is huge).

cd doc
make -d

also, the Makefile.in is hiding the output that may explain the failure 
better.  Use an editor that will preserve *tabs* and modify the lines in 
doc/Makefile.in file:

sane.ind: sane.tex net.tex
        @echo Generating index for sane.ps...
        @touch sane.ind
        @$(LATEX) $(srcdir)/sane </dev/null >/dev/null && \
         $(MAKEINDEX) sane.idx 2>/dev/null

to be (remove "@"'s and ">/dev/null"'s):

sane.ind: sane.tex net.tex
        @echo Generating index for sane.ps...
        touch sane.ind
        $(LATEX) $(srcdir)/sane && \
         $(MAKEINDEX) sane.idx

You can email complete output directly to me if it doesn't seem to make 
sense.

Chris
p.s. it never hurts to run "cvs update" and "autoreconf" afterwards just 
to see if it helps.




More information about the sane-devel mailing list