File:  [LON-CAPA] / nsdl / doc / compile_notes / xmlxalan.txt
Revision 1.1: download - view: text, annotated - select for diffs
Thu May 9 05:27:36 2002 UTC (22 years, 4 months ago) by harris41
Branches: MAIN
CVS tags: HEAD
initial notes; relates to BUG 416 (a working solution... but
no where near a solid fix

    1: Scott Harrison
    2: Spring 2002
    3: 
    4: I am using XML::Xalan (www.cpan.org) to support 
    5: rigorous and elegant XML (and thus metadata) conversion
    6: via stylesheets (XSLT).
    7: 
    8: I am using Xalan C++ libraries 1.3 from
    9: http://xml.apache.org/xalan-c/index.html.
   10: (http://xml.apache.org/dist/xalan-c/Xalan-C_1_3-linux.tar.gz)
   11: 
   12: For the Perl module, I am using
   13: http://www.cpan.org/authors/id/E/ED/EDPRATOMO/XML-Xalan-0.44.tar.gz
   14: from CPAN.
   15: 
   16: Compilation was a bit tricky on RedHat 7.2 (due in part to
   17: the glibc assumptions which are no longer supported).
   18: 
   19: Here are current instructions:
   20: 
   21: Download and inflate the Xalan-C++ tarball in /home/harris41/install, then
   22:   export XERCESCROOT=/home/harris41/install/xerces-c1_6_0-linux
   23:   export XALANCROOT=/home/harris41/install/xml-xalan/c
   24: 
   25: Download, inflate, and enter the XML-Xalan perl directory:
   26: perl Makefile.PL
   27: edit the Makefile and remove "-instance=static" from the CCFLAGS
   28: make
   29: make test
   30: Failed Test  Status Wstat Total Fail  Failed  List of failed
   31: -------------------------------------------------------------------------------
   32: t/03error.t       0    11     3    2  66.67%  2-3
   33: t/12sv.t          0    11     3    1  33.33%  3
   34: 7 subtests skipped.
   35: Failed 2/19 test scripts, 89.47% okay. 3/80 subtests failed, 96.25% okay.
   36: make: *** [test_dynamic] Error 29
   37: bash-2.05$ 
   38: 
   39: (works okay...)
   40: 
   41: make install
   42: 
   43: CAVEAT (DO NOT ATTEMPT TO make TARGET="/somewhereotherthanroot" install)
   44: 
   45: Otherwise, not-so-good is produced:
   46: 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
   47: 
   48: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>