|
From: Chris W. <ch...@cw...> - 2002-03-12 03:48:50
|
On Tue, 2002-03-12 at 10:13, Matt Olson wrote: > I've spent a frustrating couple of days trying to properly > install and configure OpenInteract, but at least I've been > making incremental progress. My current issue is this > error, during install_sql: > > OpenInteract::Startup::require_module (354) >> --require error: OpenInteract::SPOPS::DBI > (from base_user): Can't locate loadable object for module HTML::Parser > in @INC (@INC contains: ... > BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/OpenInteract/SPOPS.pm line 8. > BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/OpenInteract/SPOPS/DBI.pm line 6. > > OpenInteract::Startup::main_initialize (82) >> Some classes were not required! Sorry for your installation troubles. Since your Perl seems to have some issues with HTML::Parser and/or HTML::Entities, this will happen with any class that uses OpenInteract::SPOPS as a parent, which is all of the SPOPS objects in the system. Ironically, HTML::Entities isn't even needed in that particular module anymore, since the functions were moved to the Template Toolkit plugin (OpenInteract::Template::Plugin). But you'd run into the error there anyway, so it's worth solving. > What's bugging me is that, as far as I can tell, HTML::Parser > is properly installed. Weird. One question: how do you know it's installed? What happens when you do: $ perl -MHTML::Parser -e 'print HTML::Parser->VERSION, "\n"' $ perl -MHTML::Entities -e 'print HTML::Entities->VERSION, "\n"' (I get 3.23 and 1.22, respectively) or even: $ perldoc -l HTML::Parser $ perldoc -l HTML::Entities > I'm running Perl 5.005_03 on an x86 FreeBSD 4.5 box. I know OI runs ok on FreeBSD and Perl 5.5.3, so those shouldn't be an issue. > (Irritatingly, some of the dependencies for Bundle::SPOPS and > Bundle::OpenInteract want to install 5.6.1... so far, I've > told them not to.) Older versions of CPAN used to do this when a module became part of the core. If you install a new version of CPAN the shell won't automatically do this. (It caused me a ton of pain as well.) Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |