From: Josh K. <sch...@gm...> - 2011-01-26 03:51:51
|
Hi everyone, I am trying to build a PDF of the PostgreSQL documentation on an Ubuntu 10.10 machine, but I've run into a long-standing[1] segfault in openjade for which I haven't found a workaround. I'm using the standard Ubuntu packages (Openjade 1.4devel1-19build1, OpenSP 1.5.2-8). To reproduce: git clone git://git.postgresql.org/git/postgresql.git cd postgresql/doc/src/sgml/ # you might have to hardcode the location of collateindex.pl in COLLATEINDEX # if you get a complaint from make about not being able to find this file make postgres-A4.pdf I get the following error when I try the last step: $ make postgres-A4.pdf openjade -D . -D . -c /usr/share/sgml/docbook/stylesheet/dsssl/modular/catalog -d ./stylesheet.dsl -t tex -V tex-backend -i output-print -i include-index -V texpdf-output -V '%paper-type%'=A4 -o postgres-A4.tex-pdf postgres.sgml openjade:./stylesheet.dsl:664:2:E: flow object not accepted by port; only display flow objects accepted make: *** [postgres-A4.tex-pdf] Segmentation fault make: *** Deleting file `postgres-A4.tex-pdf' Searching around for this error message, I can see plenty of people have gotten similar problems, but I haven't found anything that works for me. The Postgres docs[2] suggest increasing some memory limits for jadetex, but this didn't help me. There was also a recent thread suggesting some magic to be used in a jadetex.cfg file[3], but this didn't have any effect for me either :-( Any ideas? Thanks, Josh -- [1] http://archives.postgresql.org/pgsql-docs/2003-12/msg00026.php [2] http://www.postgresql.org/docs/current/static/docguide-build.html [3] http://archives.postgresql.org/pgsql-docs/2010-04/msg00022.php |