Re: Problem with MHonArc

1999-07-06 16:02:26
On July 6, 1999 at 21:41, Gunnar Hjalmarsson wrote:

What does the following command output:

    perl -e 'print $^O, "\n";'

Since I do not have shell access to my server, I run the following
commands in a perl script instead:

      $output = system (perl -e 'print $^O, "\n";');
      print $output;

and it outputs:


You are actually printing the return value of system().  However,
the perl -V below gives me what I need to know.

    perl -V

A lot. Here it is:

Summary of my perl5 (5.0 patchlevel 4 subversion 1) configuration:
    osname=bsdos, osvers=2.1, archname=i386-bsdos

Delete line 67 of your copy of  It should contain the

              ($^O =~ /dos/i) ||

This expression is part of the windows/msdos check.

It is probably best to make the modification from where you extracted
the tar.gz file, and then do a re-install.

FYI, here is a context diff:

***       Tue Jul  6 13:24:40 1999
---   Tue Jul  6 13:24:52 1999
*** 64,70 ****
      } elsif (($^O !~ /cygwin/i) &&
             (($^O =~ /win/i) ||
-             ($^O =~ /dos/i) ||
              (($tmp = $ENV{'COMSPEC'}) &&
               ($tmp =~ /^[a-zA-Z]:\\/) &&
               (-e $tmp))) ) {
--- 64,69 ----

This should fix your problem until I improve the platform detection


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