[LON-CAPA-cvs] cvs: nsdl /doc/compile_notes xmlxalan.txt
harris41
lon-capa-cvs@mail.lon-capa.org
Thu, 09 May 2002 05:27:36 -0000
harris41 Thu May 9 01:27:36 2002 EDT
Added files:
/nsdl/doc/compile_notes xmlxalan.txt
Log:
initial notes; relates to BUG 416 (a working solution... but
no where near a solid fix
Index: nsdl/doc/compile_notes/xmlxalan.txt
+++ nsdl/doc/compile_notes/xmlxalan.txt
Scott Harrison
Spring 2002
I am using XML::Xalan (www.cpan.org) to support
rigorous and elegant XML (and thus metadata) conversion
via stylesheets (XSLT).
I am using Xalan C++ libraries 1.3 from
http://xml.apache.org/xalan-c/index.html.
(http://xml.apache.org/dist/xalan-c/Xalan-C_1_3-linux.tar.gz)
For the Perl module, I am using
http://www.cpan.org/authors/id/E/ED/EDPRATOMO/XML-Xalan-0.44.tar.gz
from CPAN.
Compilation was a bit tricky on RedHat 7.2 (due in part to
the glibc assumptions which are no longer supported).
Here are current instructions:
Download and inflate the Xalan-C++ tarball in /home/harris41/install, then
export XERCESCROOT=/home/harris41/install/xerces-c1_6_0-linux
export XALANCROOT=/home/harris41/install/xml-xalan/c
Download, inflate, and enter the XML-Xalan perl directory:
perl Makefile.PL
edit the Makefile and remove "-instance=static" from the CCFLAGS
make
make test
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
t/03error.t 0 11 3 2 66.67% 2-3
t/12sv.t 0 11 3 1 33.33% 3
7 subtests skipped.
Failed 2/19 test scripts, 89.47% okay. 3/80 subtests failed, 96.25% okay.
make: *** [test_dynamic] Error 29
bash-2.05$
(works okay...)
make install
CAVEAT (DO NOT ATTEMPT TO make TARGET="/somewhereotherthanroot" install)
Otherwise, not-so-good is produced:
Installing /usr/share/man/man3/tmptarget/share/man/man3/tmptarget/share/man/man3/tmptarget/share/man/man3/tmptarget/share/man/man3/tmptarget/share/man/man3/tmptarget/share/man/man3/tmptarget/share/man/man3/XML::Xalan::XObjectFactory.3pm