mharc-users

Re: Error installing mharc

2006-01-09 13:18:07
On January 9, 2006 at 12:49, "S. William Schulz" wrote:

I am trying to install mharc on a CentOS 3 system.  I downloaded and
installed namazu, and I have installed mhonarc via the RPMs provided on the
mhonarc website.  However, when I run install.pl from to actually install
mharc, I receive the following error:


      Copying files into "/home/archives/archives/cgi-bin"...
      Determine MHonArc library path from '/usr/bin/mhonarc'... 
      '/usr/lib/MHonArc'
      WARNING: Unable to load MHonArc: Can't locate osinit.pl in @INC 
      (@INC contains: ./lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi 
      /usr/lib/perl5/5.8.0 
      /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
      /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl 
      /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
      /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at 
      /usr/lib/MHonArc/mhamain.pl line 44.
      BEGIN failed--compilation aborted at /usr/lib/MHonArc/mhamain.pl 
      line 59.
      Compilation failed in require at install.pl line 246.

What version of perl are you running?

The install.pl script puts the require mhamain.pl in an eval block,
so install.pl should not abort if it cannot load mhonarc (hence
the "WARNING" instead of "ERROR").  However, perl is aborting
execution.

Doing a quick test on my system (running perl 5.8.6), the WARNING
is printed, but install.pl continues to do its job.

If running perl 5.8.0, I recommend upgrading it since 5.8.0 is
known to be buggy.

You can try the following to see if it gets around the problem
so you can complete the install:

  env PERL5LIB=/usr/lib/MHonArc perl install.pl

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS

<Prev in Thread] Current Thread [Next in Thread>