Status on HgBook

FUJIWARA Katsunori fujiwara at ascade.co.jp
Mon Nov 8 03:36:36 UTC 2010


Hi, Martin.

At Fri, 05 Nov 2010 17:36:04 +0100,
Martin Geisler wrote:

> It's not just about being ugly, it's also about getting better output
> and a better tool-chain... I just tried to compile the book and I was
> able to get HTML output. For the PDF, I got funny errors about XSLT
> stylesheets not being found and I read something about setting a Java
> class path...

It is not good for fitting that Java class path setting is (was ?)
hard-coded in Makefile.

I uploaded the changeset which separates environment specific
cnfiguration from Makefile, and you can pull it from below as
5845d2ff0381:

    https://foozy@bitbucket.org/foozy/hgbook-ja

    https://bitbucket.org/foozy/hgbook-ja/changeset/5845d2ff0381


Addition to it, there were some problems to build HGBOOK in my linux
environment (Linux 2.6.26-1-686 debian lenny).


(1) fop(0.94) causes NullPointerException. 

    Some distributions provide fop 0.94 in their packaging system, and
    this version causes NullPointerException as known bug fixed on fop
    0.95.

    # https://issues.apache.org/bugzilla/show_bug.cgi?id=44965

(2) some packages other than described in README.BUILD had to be installed

    - libxml-commons-resolver1.1-java
    - xsltproc


This may be specific for my environment, but I'm glad if these help
you to solve your problems.

--------------------
[FUJIWARA Katsunori]      fujiwara at ascade.co.jp(foozy at lares.dti.ne.jp)



More information about the Mercurial mailing list