Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
perlbrew [2014/05/27 14:31] popel |
perlbrew [2014/05/28 11:28] popel |
Also note that perlbrew (unlike ''setup_platform'') does not change your ''$PERL5LIB''. You probably add some local Perl modules to ''$PERL5LIB'' in your ''.bashrc'' (e.g. ''export PERL5LIB="/home/popel/tmt/treex/lib:$PERL5LIB"''). When you source ''.bashrc'' again, make sure you don't have duplicate paths in ''$PERL5LIB'' (e.g. ''"/home/popel/tmt/treex/lib:/home/popel/tmt/treex/lib"'') -- to prevent this add this line to the //beginning// of your ''.bashrc'': | Also note that perlbrew (unlike ''setup_platform'') does not change your ''$PERL5LIB''. You probably add some local Perl modules to ''$PERL5LIB'' in your ''.bashrc'' (e.g. ''export PERL5LIB="/home/popel/tmt/treex/lib:$PERL5LIB"''). When you source ''.bashrc'' again, make sure you don't have duplicate paths in ''$PERL5LIB'' (e.g. ''"/home/popel/tmt/treex/lib:/home/popel/tmt/treex/lib"'') -- to prevent this add this line to the //beginning// of your ''.bashrc'': |
| |
export PERL5LIB="" | export PERL5LIB="" |
| |
| |
cpanm -n UNIVERSAL::DOES PerlIO::Util # these modules have (reported) errors, but we need them as dependencies | cpanm -n UNIVERSAL::DOES PerlIO::Util # these modules have (reported) errors, but we need them as dependencies |
cpanm < list.txt | cpanm < list.txt |
| |
| ==== Tricky modules ==== |
| |
| === Algorithm::SVM === |
| In ''bindings.h'' after #include <assert.h> [[https://rt.cpan.org/Ticket/Display.html?id=43669|add these two lines]]: |
| |
| #include <cstdlib> |
| #include <string.h> |
| |
| === Algorithm::FuzzyCmeans === |
| [[https://rt.cpan.org/Ticket/Display.html?id=76248|Delete]] ''use_test_base;'' from ''Makefile.PL''. |
| |
| === ÚFAL modules unreleased on CPAN === |
| |
| * ''Treex::External::NADA'': cd $TMT_ROOT/install/tool_installation/NADA && perl Makefile.PL && make && make install |
| * ''Morce::English'': cd $TMT_ROOT/libs/packaged/Morce-English && perl Build.PL && ./Build && ./Build test && ./Build install |
| * ''Featurama::Perc'': cd $TMT_ROOT/libs/packaged/Featurama && ./install.sh |
| |