logo       

Re: New build dependencies: msg#00003

Subject: Re: New build dependencies
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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
web.pylons.gene...    hurd.l4/2002-10...    kernel.commits....    user-groups.lin...    yellowdog.gener...    java.drools.use...    security.openva...    package-managem...    linux.debian.us...    qnx.openqnx.dev...    genealogy.gramp...    file-systems.if...    voip.wengophone...    tex.context/200...    ietf.smime/2003...    audio.csound.de...    culture.region....    xfree86.devel/2...    mobile.kannel.u...    distributed.con...    education.engli...    org.user-groups...    bug-tracking.gn...    recreation.bicy...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe