Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

djberg96 (2603)

djberg96
  (email not shown publicly)

Journal of djberg96 (2603)

Wednesday April 02, 2003
10:33 PM

Perl 5.005_03 failures

[ #11412 ]
Well, I received another email regarding Net::SCP::Expect, this one relaying a problem with using the glob operator. According to the email, running this script caused Perl 5.005_03 to dump core:

#!/usr/bin/perl -w
use strict;
use Net::SCP::Expect;

my $dir = '/home/testdata';
my @ok_files = glob "$dir/*.xml";

print join("\n",@ok_files);

I'm guessing this is an Expect.pm issue. I couldn't duplicate this with Perl 5.8, so I tried installing Perl 5.005_03. Unfortunately I get a bizarre make error after a (apparently) successful configure:

make: *** No rule to make target `<built-in>', needed by `miniperlmain.o'. Stop.

It seems that once upon a time, I used to know what caused this. If I did, I've forgotten now and Google yields precious little.

Any ideas?

Update: rafael pointed me to a patch that worked like a charm - thanks rafael!. So, Perl 5.005_03 is installed. On to the core dump part...

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I don't identify your particular failure, but the keywords would be makedepend and miniperlmain [google.com]. You're using gcc 3.x, don't you ?
  • Ask your user to just use Expect; and see if it still dumps core. And recognize that it is almost certainly platform specific.

    --
    J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
    • Tried that, but the author claims it only happens with Net::SCP::Expect, and not just Expect. It's on Linux, which is what I have at home. Could it be a libexpect issue? I dunno.

      Well, I'm about ready to give up testing with 5.005_03 anyway. See my next journal entry.

      • Well, I'm about ready to give up testing with 5.005_03 anyway.

        Hear, hear! I'm a little bit calloused, but I'm not interested in providing support for anything other than the latest version, anyway. I know some people are stuck with older versions. The software is free, let someone else make the necessary changes to make it work and submit them or maintain them himself.

        There's something to be said for the OpenSSH release model. The base OpenSSH works only with OpenBSD. The core OpenSSH developers

        --
        J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers