mharc-users

Re: Install Help

2002-10-13 14:37:13
Earl Hood wrote:

On October 13, 2002 at 09:07, Robert Steinmetz wrote:

You are using MHonArc v2.5.12
Applying configuration (this may take awhile)...
Not a subroutine reference at /usr/lib/perl5/5.00502/File/Find.pm line 197.
system bin/apply-config failed: 512

This is the same error message I got when I added the path.

Here is the relevant portion of Find.pm

193)}
194)
195)sub wrap_wanted {
196)  my $wanted = shift;
197)  defined &$wanted ? {wanted => $wanted} : $wanted;
198)}

apply-config uses a newer calling convention to the find() function
in newer versions of the File::Find module.

I could not identify a newer version of CPAN, so I upgraded to perl5.00503, which uses the newer convention.

Possible solutions:

 * Install latest version of File::Find.
 * Grab recently checked-in apply-config from CVS that should
   be compatible with older versions of File::Find.

Since I upgraded perl to 5.00503 and the old version installed cleanly. I'm not sure that I can test a new CVS version.

BTW, I currently run mharc under Perl 5.6.1 (my development system)
and 5.8.0 (mhonarc.org system) built for linux.  Hence, I may
unintentionally include code that may not work in older versions.
Hopefully, we can get things running for you for Perl 5.005 (aka 5.5).

See my response to you other message, It seems to work on 5.00503, that appears to be when the File::Find convention changed. My original 5.00502 version did not include the File::Find changes nor did the 5.005 version I downloaded from CPAN. After Installing Pod parser and File::Spec.09 on 5.00502, I was still getting errors. The upgrade to 5.00503 solved all of the install errors.

--ewh

--
Robert Steinmetz AIA
Principal
Steinmetz & Associates



---------------------------------------------------------------------
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>