bug report

70 views
Skip to first unread message

Michael Williamson

unread,
Apr 27, 2012, 6:32:38 PM4/27/12
to comed...@googlegroups.com
Hi,

I installed comedilib on openSUSE 11.4, with the procedure:

git clone...autogen.sh...configure...make

It appears to have compiled the shared library file OK,
but the install script terminated abnormally for 'make'
and 'make install' for some reason having to do with creating
the documentation PDF file, I think.
The error messages follow, if anyone is interested.

...
(/usr/share/texmf/tex/latex/latexconfig/hyperref.cfg)
Implicit mode ON; LaTeX internals redefined
(/usr/share/texmf/tex/generic/oberdiek/bitset.sty
(/usr/share/texmf/tex/generic/oberdiek/bigintcalc.sty))
(/usr/share/texmf/tex/generic/oberdiek/atbegshi.sty))
* hyperref using default driver hpdftex *
(/usr/share/texmf/tex/latex/hyperref/hpdftex.def
(/usr/share/texmf/tex/latex/oberdiek/atveryend.sty)
(/usr/share/texmf/tex/latex/oberdiek/rerunfilecheck.sty
(/usr/share/texmf/tex/generic/oberdiek/uniquecounter.sty))))
No file tmp.aux.
(/usr/share/texmf/tex/latex/tipa/t3ptm.fd)
(/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd)
(/usr/share/texmf/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
(/usr/share/texmf/tex/latex/oberdiek/epstopdf-base.sty
(/usr/share/texmf/tex/latex/oberdiek/grfext.sty)
! Undefined control sequence.
<recently read> \AppendGraphicsExtensions

l.435 \fi

?
! Emergency stop.
<recently read> \AppendGraphicsExtensions

l.435 \fi

! ==> Fatal error occurred, no output PDF file produced!
Transcript written on tmp.log.
make[3]: *** [pdf/comedilib.pdf] Error 1
make[3]: Leaving directory `/usr/local/src/comedilib/doc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/comedilib/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/comedilib'
make: *** [all] Error 2

-Mike

Bernd Porr

unread,
Apr 27, 2012, 6:59:32 PM4/27/12
to comed...@googlegroups.com
Hi,

interesting. I works for me on my ubuntu box (the old lts just now). Ian
has added a couple of configure options:

Add --with-pdf-backend=[yes|no|dblatex|fop|default] option which
defaults to "yes". This controls the option passed to 'xmlto' to
generate PDFs.

If set to "yes" (the default) it looks for 'dblatex' and uses it as the
backend for 'xmlto' if found, otherwise 'xmlto' will use the default
backend.

If set to "no" (same as --without-pdf-backend), PDF generation is
disabled.

If set to "dblatex" it looks for 'dblatex' and uses it as the backend
for 'xmlto' if found, otherwise PDF generation is disabled.

If set to "fop" it looks for 'fop' and uses it as the backend
for 'xmlto' if found, otherwise PDF generation is disabled.

If set to "default", 'xmlto' will use the default backend.

Can you try them out and report back what works best?

/Bernd
--
www: http://www.berndporr.me.uk/
http://www.linux-usb-daq.co.uk/
http://www.imdb.com/name/nm3293421/
Mobile: +44 (0)7840 340069
Work: +44 (0)141 330 5237
University of Glasgow
School of Engineering
72 Oakfield Avenue (Rankine Building for deliveries)
Glasgow, G12 8LT

Bernd Porr

unread,
Apr 27, 2012, 7:20:10 PM4/27/12
to comed...@googlegroups.com

Bernd Porr

unread,
Apr 27, 2012, 7:22:37 PM4/27/12
to comed...@googlegroups.com
I should also add that in my case only dblatex works. Anything else
causes trouble. Check that it's installed.

/Bernd

Ian Abbott

unread,
May 1, 2012, 1:21:14 PM5/1/12
to comed...@googlegroups.com
On 2012-04-27 23:59, Bernd Porr wrote:
> Hi,
>
> interesting. I works for me on my ubuntu box (the old lts just now). Ian
> has added a couple of configure options:
>
> Add --with-pdf-backend=[yes|no|dblatex|fop|default] option which
> defaults to "yes". This controls the option passed to 'xmlto' to
> generate PDFs.
>
> If set to "yes" (the default) it looks for 'dblatex' and uses it as the
> backend for 'xmlto' if found, otherwise 'xmlto' will use the default
> backend.

I've changed the handling of --with-pdf-backend=yes so it doesn't use
the default backend any more, but will disable PDF generation if
'dblatex' isn't found. So this now behaves like
--with-pdf-backend=dblatex except that the warnings from the configure
script are different:

checking for xmlto... /usr/bin/xmlto
checking for dblatex... no
configure: WARNING: Default PDF backend is broken, disabling PDF generation
configure: WARNING: (dblatex is recommended for PDF generation)


You can still use --with-pdf-backend=default if you really want xmlto to
use its default PDF backend, but it will probably fail at
\AppendGraphicsExtensions.

--
-=( Ian Abbott @ MEV Ltd. E-mail: <abb...@mev.co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
Reply all
Reply to author
Forward
0 new messages