I made a bit of a fool of myself on automake list.. I wonder if any of you
have perl 5.8.0rc1 installed, and our recent autoconf to try out:

% cat file.pl
BEGIN
{ 
  my $datadir = ($ENV{'autom4te_perllibdir'} || '/usr/local/share/autoconf');
  unshift @INC, "$datadir";
}
use Autom4te::General;
use Autom4te::Struct;
use Autom4te::XFile;
use Carp;
use strict;

my $output=$ARGV[0];
my $mode="0666";

my $out = new Autom4te::XFile;
$out->open($output, O_CREAT | O_WRONLY | O_TRUNC, oct ($mode));
% perl file.pl that
% perl file.pl /dev/null
Segmentation fault (core dumped)

with perl v5.8.0rc1. 5.6.0 works in both cases. If you have it working, then
I can see if it's an OS thing rather than a perl thing..

Cheers,

Patrick

Reply via email to