Changes

Jump to navigation Jump to search
→‎Install Perl modules: MongoDB perl module HAS to be installed with cpan
Line 284: Line 284:  
install URI::Escape::XS
 
install URI::Escape::XS
 
install Image::OCR::Tesseract # needs imagemagick installed first
 
install Image::OCR::Tesseract # needs imagemagick installed first
 +
</pre>
 +
 +
Modules that HAVE to be installed using cpan:
 +
 +
As of Feb 3rd 2015, the MongoDB perl module installed through "apt-get install libmongodb-perl" is too old (0.45):
 +
 +
<pre>
 +
perl -MMongoDB -e 'print $MongoDB::VERSION . "\n"'
 +
0.45
 +
</pre>
 +
 +
This causes an error when trying to access a list of "tags" such as categories:
 +
 +
<pre>
 +
Software error:
 +
Not an ARRAY reference at /home/stephane/product-opener/cgi/Blogs/Display.pm line 797.
 +
</pre>
 +
 +
A newer MongoDB perl module needs to be installed with cpan.
 +
 +
<pre>
 +
cpan
 +
install MongoDB
 +
</pre>
 +
 +
<pre>
 +
perl -MMongoDB -e 'print $MongoDB::VERSION . "\n"'
 +
v0.708.0.0
 
</pre>
 
</pre>
  

Navigation menu