Ignore:
Timestamp:
2004-03-08T13:25:40+13:00 (20 years ago)
Author:
nzdl
Message:

added in an faq entry for expat perl XML::Parser errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/greenorg/macros/english.dm

    r6793 r6958  
    853853
    854854_tfaqbuild11title_ {I've added a new type of classification to my collection. How do I create and add the navigation bar images?}
     855
     856_tfaqbuildexpattitle_ {How do I fix XML::Parser errors during import.pl?}
    855857
    856858_headingplugins_ {More About Plugins}
     
    12741276}
    12751277
     1278_tfaqbuildexpatbody_ {
     1279Our prebuilt Linux and Mac OS X Greenstone distributions are built on machines using Perl 5.6, and these distributions contain a few binary perl modules. These cause problems if you are using a recent version of perl like 5.8 or 5.8.1 (you can type "perl -v" from the command line to see the version).
     1280<p>
     1281On the Mac, our distribution contains modules for both perl 5.6 and 5.8 and the correct one should (hopefully) be installed.
     1282<p>
     1283A typical error message during import.pl would be:
     1284<p>
     1285Uncaught exception from user code: Can't load '/home/httpd/gsdl/perllib/cpan/auto/XML/Parser/Expat/Expat.so' for module XML::Parser::Expat: /home/httpd/gsdl/perllib/cpan/auto/XML/Parser/Expat/Expat.so: undefined symbol: PL_sv_undef at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at /home/httpd/gsdl/perllib/cpan/XML/Parser.pm line 14
     1286<p>
     1287To remedy this, you need to remove the "gsdl/perllib/cpan/XML" and "gsdl/perllib/cpan/auto" directories. Then you need to install the perl XML::Parser natively for your system, and get Greenstone to use this instead.
     1288<p>
     1289On redhat or mandrake, install the .rpm named "perl-XML-Parser", on debian, install the "libxml-parser-perl" package. For other Linuxes, use your distribution's package, or you can get it from <a href="http://search.cpan.org/~msergeant/XML-Parser-2.34/">http://search.cpan.org/~msergeant/XML-Parser-2.34/</a>.
     1290<p>
     1291You may also need to get Expat, available from <a href="http://sourceforge.net/projects/expat/">http://sourceforge.net/projects/expat/</a>.
     1292
     1293}
    12761294#######################################################################
    12771295
Note: See TracChangeset for help on using the changeset viewer.