[tei-council] Re: tcw06.xml

Christian Wittern wittern at kanji.zinbun.kyoto-u.ac.jp
Fri Sep 9 19:18:47 EDT 2005


James Cummings <James.Cummings at computing-services.oxford.ac.uk> writes:

> I have added an example installation from scratch of Stylesheets, P5
> and Roma modules.  I tested the steps on my own machine (but doing it
> to /tmp/tei )
>
> See http://www.tei-c.org/Council/tcw06.xml

Thanks. Following your exact instructions, on the last leg I get this:
<code>

perl -p -i -e 's/\(\%schemapattern;\)\?/%schemapattern;/' DTD/tagdocs.dtd
perl -p -i -e 's/\)\*\(/\)\*,\(/' DTD/textstructure.dtd
(cd DTD; ln -s tei.dtd tei2.dtd)
roma "--localsource=Source-driver.xml" --nodtd --noxsd --xsl=/tmp/tei/share/xml/tei/stylesheet/ --teiserver=http://tei.oucs.ox.ac.uk/Query/ p5odds.odd .
WARNING: Unrecognized option '--localsource=Source-driver.xml' ignored
For usage syntax issue /Users/chris/bin/roma --help
========= 2005-09-10 08:06:26 Roma starts, info:
Test for software: xmllint, xsltproc, trang, and perl
/sw/bin/xmllint
/sw/bin/xsltproc
/Users/chris/bin/trang
/usr/bin/perl
TEI database server: http://tei.oucs.ox.ac.uk/Query/
TEI stylesheet tree: /tmp/tei/share/xml/tei/stylesheet/


ERROR: stylesheet location /tmp/tei/share/xml/tei/stylesheet/ is not accessible.
This was a fatal error. 2005-09-10 08:06:27.N
make: *** [oddschema] Error 1

</code>

This is a bit odd (pardon the pun), since the stuff sits there under
/tmp/tei and just waits to be used:

  /tmp/tei/share/xml/tei/stylesheet:
  total used in directory 60 available 2647112
  drwxr-xr-x   12 root     staff         408 Sep 10 08:02 .
  drwxr-xr-x    3 root     wheel         102 Sep 10 08:02 ..
  drwxr-xr-x    9 root     staff         306 Sep 10 08:02 common
  drwxr-xr-x   15 root     staff         510 Sep 10 08:02 fo
  drwxr-xr-x   14 root     staff         476 Sep 10 08:02 html
  -rw-r--r--    1 root     staff       29941 Sep 10 08:02 i18n.xml
  drwxr-xr-x   14 root     staff         476 Sep 10 08:02 latex
  drwxr-xr-x   17 root     staff         578 Sep 10 08:02 odds
  drwxr-xr-x    4 root     staff         136 Sep 10 08:02 slides
  -rw-r--r--    1 root     staff        8306 Sep 10 08:02 tei.css
  -rw-r--r--    1 root     staff       10167 Sep 10 08:02 teic.css
  -rw-r--r--    1 root     staff        3370 Sep 10 08:02 teislides.css


Well, I think Sebastian will need to look on this once more.  

But anyhow, except for this little glitch, I am now able to get a
working P5 on my Mac OS powerbook following these instructions. Heureka!

However, the non-obvious pre-requisites (Saxon, perl, trang, jing,
xmllint) are not mentioned in the doc -- it would be convenient to
point people to the relevant locations.  

And before we announce this to TEI-L, it would be good if some brave
soul could try this out on a Windows machine...

All the best,

Christian

-- 

 Christian Wittern 
 Institute for Research in Humanities, Kyoto University
 47 Higashiogura-cho, Kitashirakawa, Sakyo-ku, Kyoto 606-8265, JAPAN



More information about the tei-council mailing list