Octavian Rasnita wrote:
Hi,

I have tried to install it, using:

# perl Makefile.pl
# make

After this step, it gave the following error:

modperl_filter.c: In function `modperl_brigade_dump':
modperl_filter.c:1253: internal error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make[1]: *** [modperl_filter.lo] Error 1
make: *** [modperl_lib] Error 2

Hmm, Octavian, mind to send a proper report (t/REPORT)? what platform/build doesn't like fprintf?


In any case, this is a debug code, so the following should fix the problem.

Index: src/modules/perl/modperl_filter.c
===================================================================
--- src/modules/perl/modperl_filter.c   (revision 168093)
+++ src/modules/perl/modperl_filter.c   (working copy)
@@ -1241,6 +1241,7 @@
                (unsigned long)callback);
 }

+#if 0
 void modperl_brigade_dump(apr_bucket_brigade *bb, FILE *fp)
 {
     apr_bucket *bucket;
@@ -1268,3 +1269,5 @@
     }
 #endif
 }
+
+#endif

Index: src/modules/perl/modperl_filter.h
===================================================================
--- src/modules/perl/modperl_filter.h   (revision 168093)
+++ src/modules/perl/modperl_filter.h   (working copy)
@@ -83,7 +83,9 @@
                                                    const char *buf,
                                                    apr_size_t *len);

+#if 0
 void modperl_brigade_dump(apr_bucket_brigade *bb, FILE *fp);
+#endif

 /* input filters */
 apr_status_t modperl_input_filter_handler(ap_filter_t *f,


-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Reply via email to