DogTags Posted January 8, 2004 Report Share Posted January 8, 2004 Hi All The default MD 9.2 perl install is threaded, and the executable is located at /usr/bin. There are also about 733 perl modules that are recognized. We need to install a non-threaded version of perl, however. So, we installed perl 5.8.2 and the executable is under /usr/local/bin. When we counted the perl modules under this, we found only about 330 modules. The original perl install is working okay, and the 733 modules still show up all right. 1. Why does the /usr/local/bin perl not see all 733 modules? 2. How can we get the /usr/local/bin/perl install to use the same modules as /usr/bin/perl ? Thing is, we need the DBD::mysql that the /usr/bin/perl recoginizes to work with the /usr/local/bin/perl We tried installing DBD::mysql with a reference to /usr/local/bin/perl, but it returned an error. It couldn't find 'mysql_config' That's why we're thinking that if we can get /usr/loca/bin/perl to use all the same modules as /usr/bin/perl, we should probably be okay. Thanks very much :) Quote Link to comment Share on other sites More sharing options...
kde-head Posted February 5, 2004 Report Share Posted February 5, 2004 i noticed that you never used CPAN in order to add modules to your perl install. try this from Konsole: perl -MCPAN -e shell at the prompt do (for example): install Time::Parsedate This will install the Time::Parsedate module - it will be downloaded ,compiled and put into your perl library. Easy peasy. The CPAN network is awesome, in that , you've just downloaded some perl app, and it complains about a module not being loaded. just use CPAN and your problems are solved. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.