perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Kobes <ra...@theoryx5.uwinnipeg.ca>
Subject Re: Trying to test current apreq2 CVS
Date Fri, 02 Jul 2004 18:51:08 GMT
On Fri, 2 Jul 2004, Markus Wichitill wrote:

> Hi,
>
> I tried to compile the latest apreq2 CVS on Linux to test $upload->fh/size.
>
> First I tried to compile it for mod_perl 1.99_14 (Apache
> 2.0.50 Worker, Perl 5.8.3), which failed since that
> version doesn't contain the required
> modperl_common_util.h. Maybe that's correct, but I thought
> I'll mention it since the docs still say that _09 is
> required.
>
> So I compiled the current mod_perl CVS first, which copied
> modperl_common_util.h into apache2/include. However only
> after I manually copied modperl_common_types.h into
> apache2/include did apreq's Perl glue compile and test ok.

The following patch to the mod_perl 2 cvs sources should
include modperl_common_types in the list of header files
to install in apache2/include:
========================================================
Index: lib/ModPerl/Code.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/ModPerl/Code.pm,v
retrieving revision 1.124
diff -u -r1.124 Code.pm
--- lib/ModPerl/Code.pm	28 Jun 2004 02:10:02 -0000	1.124
+++ lib/ModPerl/Code.pm	2 Jul 2004 18:44:28 -0000
@@ -655,7 +655,7 @@
                                         largefiles);
 my @h_names = (@c_names, map { "modperl_$_" } @h_src_names,
                qw(types time apache_includes perl_includes apr_includes
-                  common_includes));
+                  common_includes common_types));
 sub h_files { [map { "$_.h" } @h_names, @g_h_names] }

 sub clean_files {

==================================================================

-- 
best regards,
randy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message