User Tools

Site Tools


en:release:3.08_release_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:release:3.08_release_notes [2018/02/27 05:29] anupamaen:release:3.08_release_notes [2018/11/23 08:29] – [Ubuntu/Linux perl errors about Bibtex/Latex/MediaWiki plugins] anupama
Line 192: Line 192:
 Many browsers have stopped supporting Java applets. Microsoft's Internet Explorer, and perhaps Microsoft Edge, still support it. So these next steps are for Windows machines using Internet Explorer. Many browsers have stopped supporting Java applets. Microsoft's Internet Explorer, and perhaps Microsoft Edge, still support it. So these next steps are for Windows machines using Internet Explorer.
  
-If your end users will be using the GLI applet, you also need to do the following steps //in addition to// [[http://wiki.greenstone.org/doku.php?id=en:release:3.08_release_notes#setting_up_a_remote_greenstone_3_server|Setting up your remote Greenstone 3 server]]. These next steps require the Java SDK -- if you don't already have this you can download it from [[http://java.sun.com/j2se/1.4.2/download.html|here]]; make sure that the Java SDK's bin directory is included in the PATH environment variable, which may not have been done automatically upon installation.+If your end users will be using the GLI applet, you also need to do the following steps //in addition to// [[http://wiki.greenstone.org/doku.php?id=en:release:3.08_release_notes#setting_up_a_remote_greenstone_3_server|Setting up your remote Greenstone 3 server]]. These next steps require the Java SDK -- if you don't already have this you can download it from [[http://java.sun.com/j2se/1.4.2/download.html|here]]; make sure that the Java SDK's bin directory is included in the PATH environment variable, which may or may not have been done automatically upon installing Java.
  
   * In the Greenstone "gli" directory, run   * In the Greenstone "gli" directory, run
Line 241: Line 241:
  
 ==== Troubleshooting ==== ==== Troubleshooting ====
 +=== Ubuntu/Linux perl errors about Bibtex/Latex/MediaWiki plugins or other perl files ===
 +This can happen when running GLI or the command line building scripts.
 +
 +The errors can look like:
 +<code>
 +Running the Greenstone Librarian Interface...
 +Version: 2.87
 +
 +User cache dir: /root/.gli/cache/
 +Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(/.*){ <-- HERE ,41}/ at /usr/local/Greenstone/perllib/plugins/DirectoryPlugin.pm line 199.
 +Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^(\s*)body(\s*){ <-- HERE (\s*)$/ at /usr/local/Greenstone/perllib/plugins/MediaWikiPlugin.pm line 280.
 +Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/_content_(\s*){ <-- HERE / at /usr/local/Greenstone/perllib/plugins/MediaWikiPlugin.pm line 506.
 +...
 +</code>
 +
 +They're caused by the newer version of perl (that comes installed with newer versions Ubuntu) no longer accepting some older perl syntax.
 +
 +If you would like to continue using GS3.08, we've patched the affected plugins. The instructions to use the patch are:
 +
 +1. Optional: Back up your  GS3.08's ''gs2build/perllib/plugins'' and ''gs2build/perllib/cpan/'' folders.
 +
 +2. Download [[http://trac.greenstone.org/export/32634/patches/GS308PluginsForNewerPerlUbuntu.tar.gz|the tarball]] containing the patch and extract its contents.
 +
 +3. Six files should have been extracted:
 +- Put the 4 plugin files into your GS3.08's ''gs2build/perllib/plugins'' folder.
 +- put Escape.pm into the ''gs2build/perllib/cpan/URI'' folder.
 +- put PP.pm into into the ''gs2build/perllib/cpan/JSON'' folder.
 +
 +4. Use a //new terminal// to launch GLI or any commands that previously failed with errors.
  
 === Mac Installer fails === === Mac Installer fails ===
en/release/3.08_release_notes.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1