Build fails with perl5.00405 on RH 5.2

Jan-Erik Eriksson jee at alcom.aland.fi
Mon Aug 30 10:16:23 UTC 1999


Hi,

Using the --with-perl on inn-2.2.1 (RedHat 5.2, perl5.00405) will cause
make to fail. It seems the perl header files or the definitions of the
perl macros in the inn source have changed.

Extremely simple patch attached.

Regards,

-- Janne
------------- ÅLCOM ------------- Network Operations Center ---------
Jan-Erik Eriksson		mailto: jee at alcom.aland.fi
ÅLCOM				phone: +358 18 23500
PB 233, Torggatan 10		fax: +358 18 14643
FIN-22100 Mariehamn		URL: http://www.alcom.aland.fi


-- Attached file included as plaintext by Listar --
-- File: patch-inn-2.2.1-perl5.00405

--- lib/perl.c.org	Mon Aug 30 12:57:39 1999
+++ lib/perl.c	Mon Aug 30 12:58:04 1999
@@ -38,6 +38,8 @@
 /* Perl 5.004 didn't define ERRSV and PL_na was called na. */
 #ifndef ERRSV
 # define ERRSV GvSV(errgv)
+#endif
+#ifndef PL_na
 # define PL_na na
 #endif
 
--- innd/cc.c.org	Mon Aug 30 13:02:28 1999
+++ innd/cc.c	Mon Aug 30 13:02:33 1999
@@ -636,6 +636,8 @@
 /* Perl 5.004 didn't define ERRSV and PL_na was called na. */
 #ifndef ERRSV
 # define ERRSV GvSV(errgv)
+#endif
+#ifndef PL_na
 # define PL_na na
 #endif
 
--- innd/perl.c.org	Mon Aug 30 13:03:17 1999
+++ innd/perl.c	Mon Aug 30 13:03:34 1999
@@ -36,6 +36,8 @@
 /* Perl 5.004 didn't define ERRSV and PL_na was called na. */
 #ifndef ERRSV
 # define ERRSV GvSV(errgv)
+#endif
+#ifndef PL_na
 # define PL_na na
 #endif
 
--- nnrpd/perl.c.org	Mon Aug 30 13:05:00 1999
+++ nnrpd/perl.c	Mon Aug 30 13:06:08 1999
@@ -41,7 +41,11 @@
 /* Perl 5.004 didn't define ERRSV and PL_na was called na. */
 #ifndef ERRSV
 # define ERRSV GvSV(errgv)
+#endif
+#ifndef PL_sv_undef
 # define PL_sv_undef sv_undef
+#endif
+#ifndef PL_na
 # define PL_na na
 #endif
 



More information about the inn-workers mailing list