Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Error compiling perl module.

From: G.J. Souverein <gjszss(at)not-real.gmail.com>
Date: Sat Sep 22 2007 - 04:20:48 GMT
2007/9/22, Bill Moseley <moseley@hank.org>:
>
> On Sat, Sep 22, 2007 at 01:13:26AM +0200, G.J. Souverein wrote:
> > I compiled the (2.4.5) swish-e binary succesfully on my Linux From
> Scratch
> > system. The problem is that I cannot build the perl module with Perl
> 5.8.8.
> > The error I get is:
> >  ** ERROR: Can't call method "isa" without a package or object reference
> at
> > /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm line 125.
> > I checked the MakeMaker.pm, but the code in there is black magic to me.
> > The only thing I can say is that the error is in sub WriteMakefile(
> > %make_maker_opts, %config ) before that everything works ok.
> > Does anybody knows what could be the problem ? I already build a lot of
> > modules without a problem.
>
> Oh, it's the nasty $SIG{__DIE__} handler.  Not sure why that's there
> or if it was really needed for something.
>
> Just remove it.
> moseley@bumby:~/swish-e/perl$ svn diff
> Index: Makefile.PL
> ===================================================================
> --- Makefile.PL (revision 1936)
> +++ Makefile.PL (working copy)
> @@ -80,11 +80,6 @@
>
> EOF
>
> -$SIG{__DIE__} = sub {
> -    print STDERR "\n  ** ERROR: ", @_;
> -    print STDERR "  Run perl Makefile.PL SWISHHELP for options\n\n";
> -    exit 1;
> -};
>
>
> #----------------------------------------------------------------------------------
>
>
> Ok thanks, now it builds !
>


_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Sat Sep 22 00:20:46 2007