Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Product Opener/Installation/Debian or Ubuntu
(view source)
Revision as of 14:39, 3 February 2015
604 bytes added
,
14:39, 3 February 2015
→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>
Stephane
Bureaucrats
,
Administrators
1,083
edits
Navigation menu
Personal tools
English
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Log in
Open Food Facts galaxy
📍Where am I?
🍊Open Food Facts website
Open Food Facts wiki
Main page
Recent changes
Random page
🧴 Open Beauty Facts wiki
Main page
Deep dive per topic
All topics
Whole wiki
Help about MediaWiki
Icons in the wiki
Tools
Special pages
Printable version
Admins
Edit sidebar
Styling
Replace text
Special Pages