From: Mike B. <ko...@mi...> - 2001-06-15 19:48:39
|
Attempting to install Slash 2.0.0 via RPM 1) Downloaded slash rpm 2) Got MySQL running; created virtual user slash@localhost 3) Got Apache/mod_perl running (I think) 4) Ran CPAN and installed Bundle::Slash and DBIx::Password Actually, also had to CPAN install mysql before DBIx::Password. And even more to the point, I did a bad thing by installing CPAN::Perl before I did any of this (and told it my architecture was i586...). I now have Perl 5.6.0 installed in /usr/lib/perl5/ and Perl 5.6.1 installed in /usr/local/lib/perl5 (arch i586...). Uh oh. So the install Bundle::Slash and install DBIx::Password went into the 5.6.1 libraries in /usr/local/lib/perl5. /usr/local/slash/bin> ./install-slashsite slash@localhost gives following errors: Can't locate DBIx/Password.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Slash/DB.pm line 9. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Slash/DB.pm line 9. Compilation failed in require at ./install-slashsite line 18. BEGIN failed--compilation aborted at ./install-slashsite line 18. Ah, so brilliant guy that I am, I change the first line of install-slashsite to: #!/usr/local/bin/perl -w Ooops, all the Perl modules for Slashcode were installed by the RPM into 5.6.0. Tried to erase the package and reinstall, goes back into the 5.6.0 directories (even though "which perl" shows /usr/local/bin/perl so @INC should have pointed to the 5.6.1 libraries, right? Is there any way to get out of this short of formatting the system and reinstalling RH7.0 (short of rebuilding the slash rpm)??? If so, how? Mike Boatright BBC Technology, Digital Media Solutions |