Skip to main content.
home | support | download

Back to List Archive

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

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Sat Sep 22 2007 - 04:13:17 GMT
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;
-};
 
 #----------------------------------------------------------------------------------


-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs

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