public inbox for
 help / color / mirror / Atom feed
From: Andrew Haley <>
To: "" <>
Subject: Re: Compiling fop to native windows
Date: Wed, 04 May 2011 08:48:00 -0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <194BC8DA86084946B01DD44BC622D7BA@alpin.local>

On 04/05/11 09:35, Dominik Psenner wrote:
> Greetings,
> I'm trying to compile the java FOP (formatting objects processor) to run
> natively on windows. One may ask: WHY? The reason is that we have some
> computers on which we are not allowed to install a JRE but we would anyway
> love to use FOP for rendering docbook documents to PDF. Unfortunately I ran
> into some trouble compiling it, which is why I'm searching for help on this
> list.
> This is where it fails:
> --- QUOTE ---
> org/apache/fop/accessibility/ In class
> 'org.apache.fop.accessibility.AccessibilityPreprocessor':
> org/apache/fop/accessibility/ In constructor
> '(javax.xml.transform.sax.TransformerHandler,javax.xml.transform.Transformer
> ,org.apache.fop.apps.FOUserAgent,org.xml.sax.helpers.DefaultHandler)':
> In file included from
> org/apache/fop/accessibility/,
>                  from
> org/apache/fop/accessibility/,
>                  from
> org/apache/fop/accessibility/,
>                  from org/apache/fop/accessibility/,
>                  from org/apache/fop/,
>                  from org/apache/fop/,
>                  from org/apache/fop/,
>                  from org/apache/fop/,
>                  from <built-in>:3:
> org/apache/fop/accessibility/ error:
> cannot find file for class
> org/apache/fop/accessibility/ confused by
> earlier errors, bailing out
> make: *** [fop.exe] Error 1
> --- QUOTE ---
> What I've done so far is:
> * use maven to fetch all required dependencies
> * use cygwin for:
>   * make (3.81)
>   * gcj-4 (4.5.0)
> * use make as frontend to gcj
> I pasted the Makefile here:
> And the pom.xml here:
> What I do not get is, that there's definitely the .class file for
> ByteArrayOutputStream in commons-io-1.3.1.jar. Can someone explain me what I
> am doing wrong here?

I don't understand how this is supposed to work.  You have to compile
all the dependencies and link them together; all you seem to be doing
is putting the dependencies in the CLASSPATH.  I'd first try compiling
every jar with -findirect-dispatch and then linking them all.


           reply	other threads:[~2011-05-04  8:48 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <194BC8DA86084946B01DD44BC622D7BA@alpin.local>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).