David Nebauer <davidnebauer@xxxxxxxxxxxx> was heard to say:
> I got quite a surprise when I attempted to build refdb from the latest
> stable cvs source.
>
... bleeding edge ...
>
> There are a number of things to glean from this transcript. The first
> is that the make process now requires 'trang', an xml schema converter.
> It appears to be used to convert the citestylex schema from DTD to Relax
> NG (compact) format.
>
> Not only that, but trang is a java application and requires a java
> runtime environment to execute. While I realise most people have a java
> runtime on their systems, not everyone does, and it's a pretty hefty
> requirement to do something so relatively trivial. If you want to
> install the Relax NG version of the schema in the installation, why not
> simply include the actual Relax NG schema in the sources? At the very
> least, surely the conversion could be made optional (? yet another
> configure option ?).
>
> If you do intend to keep this build dependency on trang and java,
> perhaps you should alter 'configure' to check for them. This would give
> a cleaner fail than the current, rather ugly, termination.
>
Things aren't as bad as they seem. Please have a look at dtd/Makefile.am. The
schemas will be distributed, and they will be cleaned only if you make
maintainer-clean. The end-user who installs RefDB from a source.tar.gz archive
will not have a dependency on trang, he will rather find both the DTD and the
Schema files ready to go. You ran into this problem because you build from CVS.
I don't know an easy way to work around this "maintainer dependency". I could
of course add a test to configure, but Java programs are notoriously hard to
check for. Maybe I'll add a configure option to specify the path to trang.jar.
This is probably as close as we can get to a simple solution for all.
> Finally, on another note, I see there's some configure feedback
> regarding 'missing' having an "unknown '--run' option". I imagine this
> is code cruft and could easily be removed.
>
I guess I'll just have to update the 'missing' script. The version in RefDB
appears to be four years old.
regards,
Markus
--
Markus Hoenicka
markus.hoenicka@xxxxxxx
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
|