searchdaimon / enterprise-search

An open source search engine for corporate data and websites.
http://www.searchdaimon.com/
GNU General Public License v2.0
107 stars 43 forks source link

Problem installing cpan modules with boithoTools/bin/perl #16

Closed runarbu closed 10 years ago

runarbu commented 10 years ago

The embedded version of Perl the ES is using is 32 bit. But /usr/bin/perl is 64 bit.

Because of this one has to run /home/boitho/boithoTools/bin/perl -MCPAN -e shell to get the correct 32 bit cpan shell.

Unfortunately so does this fail when uncompressing. As a quick fix so can one run the normal cpan program (simply "cpan"). If that fails with an error mentioning lib64 one can then run /home/boitho/boithoTools/bin/perl to install the same module . This works because the capn program unpack the cpan module and caches it. /home/boitho/boithoTools/bin/perl ten uses this cache, and don't have to uncompress it again.

boitho commented 10 years ago

Unable to replicate this on any other installations. Must have been a temporary glitch.