[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: FOP - I'm missing something I think.

From: Files <files_at_poetryunlimited.com>
Date: 2003-09-23 16:02:57 CEST

The README says, "If you want images, you need to add JIMI". Since I didn't care
about the images, I didn't install that.

Would that cause an out and out failure? Is this a MUST install. I didn't get that
from the README.

Installation details follow:

libxslt1-1.0.27-1mdk and libxslt-proc-1.0.27-1mdk installed to provide xslt
processing and xsltproc for commandline usage.

docbook-style-xsl-1.60.1-2mdk - unpacks in
/usr/share/sgml/docbook/xsl-stylesheets-1.60.1-2 and creates a
/usr/share/docbook/sgml/xsl-stylesheets symlink

jd2sdk1.4.2 installed at /usr/java/j2sdk1.4.2 and symlinked to /usr/bin/java which
then sets JAVA_HOME prior to execution (Sun JDK)

(README says I can do this)
fop-0.20.5.tar.gz unpacked to doc/book/tools and symlinked to doc/book/tools/fop

In the Makefile (README says I can do this)
XSL_DIR := /usr/share/sgml/docbook/xsl-stylesheets

Command to make documents from w/in doc/book
(run_fop.sh looks for JAVACMD - if it exists, before looking for JAVA_HOME).
JAVACMD="/usr/bin/java" make

Executes fine - creates book.html, book.fo, etc until the first fop is called.

Java reports startup correctly.
It makes a few pages (book.pdf has 20k in it). And then continuously reports:

[INFO] area contents overflows area in line

When I finally hit ctrl-c after almost 12h of running, I get an error 130.

Shamim Islam
BA BS

Ben Collins-Sussman (sussman@collab.net) wrote:
>
>"Files" <files@poetryunlimited.com> writes:
>
>> Ok. Someone please tell me eveyrthing I have to have installed in
>> order to get fop to work right?
>>
>> I did what the README said. Used the XSL_DIR directive. Etc. etc.
>
>* So you unpacked the docbook-xsl tarball into doc/book/tools/xsl/ ?
>
>* You installed libxslt, so the 'xsltproc' binary is in $PATH ?
>
>* You unpacked the fop-0.20.4 binary tarball into doc/book/tools/fop/ ?
>
>* You've copied the proper JIMI .jar file into doc/book/tools/fop/lib/ ?
>
>* You have a 1.4 JVM installed, and have set $JAVA_HOME to point to it ?
>
>>
>> All I get when it finally gets to fop, is that it runs and spits out
>> that error constantly.
>
>Assuming the above is all true, show us the -exact output- of what
>happens when you 'cd doc/book; make book-pdf'. Here's what I see:
>
>
>$ export JAVA_HOME=/usr/java/j2sdk1.4.2
>$ make book-pdf
>xsltproc \
> --output ./book/book.fo ./tools/fo-stylesheet.xsl ./book/book.xml
>Making portrait pages on USletter paper (8.5inx11in)
>./tools/bin/run-fop.sh . -fo ./book/book.fo -pdf ./book/book.pdf
>(Using './tools/fop/fop.sh' for FOP)
>[INFO] FOP 0.20.4
>[INFO] building formatting object tree
>[INFO] [1]
>[INFO] [2]
>[INFO] [3]
>[INFO] [4]
>[...]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 23 16:03:49 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.