perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Kaluža <jkal...@redhat.com>
Subject Re: mod_perl and httpd-2.4
Date Wed, 25 Jul 2012 10:52:56 GMT
On 06/05/2012 03:19 PM, Kevin A. McGrail wrote:> On 6/5/2012 2:41 AM, 
Jan Kaluža wrote:
 >> The files you are editing below are generated automatically using
 >> following commands:
 >>
 >> make source_scan
 >> make xs_generate
 >>
 >> If you run those before compilation, it will regenerate the files
 >> you've edited manually according to current httpd-2.4 headers.
 > Thanks. I've never run those commands before but had a feeling something
 > like them existed when I was ready the auto-generated warnings.
 >
 > At the moment, make source_scan doesn't work for me though.  Errors 
below.

This should be fixed by patch 0027 at 
http://jkaluza.fedorapeople.org/mod_perl/ . If it chokes on another 
method from some file in /usr/include, you will have to do the same as I 
do in patch 0027 for expat and byteswap.

 > Are you able to run a make test with your build?
 >
 > make source_scan
 > /usr/bin/perl build/source_scan.pl
 > In file included from .apache_includes:91,
 >                   from <stdin>:1:
 > /usr/local/apache2/include/mod_cache.h:34:26: error: cache_common.h: No
 > such file or directory
 > In file included from .apache_includes:91,
 >                   from <stdin>:1:
 > /usr/local/apache2/include/mod_cache.h:34:26: error: cache_common.h: No
 > such file or directory
 > panic: multiple types without intervening comma in
 >          ' int(*ap_vhost_iterate_conn_cb)(void* baton, conn_rec* conn,
 > server_rec* s)'
 > whited-out as
 >          '
 > int(*ap_vhost_iterate_conn_cb)( 
     )'
 > panic: multiple types without intervening comma in
 >          ' const char PL_GYes_t[sizeof(" ")]'
 > whited-out as
 >          '            PL_GYes_t[sizeof(" ")]'
 > panic: multiple types without intervening comma in
 >          ' const char PL_GNo_t[sizeof("")]'
 > whited-out as
 >          '            PL_GNo_t[sizeof("")]'
 > panic: multiple types without intervening comma in
 >          ' const char
 > PL_Ghexdigit_t[sizeof("                                ")]'
 > whited-out as
 >          ' PL_Ghexdigit_t[sizeof("                                ")]'
 > panic: multiple types without intervening comma in
 >          ' const char
 > PL_Gpatleave_t[sizeof("                                           ")]'
 > whited-out as
 >          '
 > PL_Gpatleave_t[sizeof("                                           ")]'
 > Expecting parenth after identifier in `const XML_Memory_Handling_Suite
 > *memsuite'
 > after `const XML_Memory_Handling_Suite ' at lib/ModPerl/CScan.pm line 
893.
 >   at lib/ModPerl/CScan.pm line 893
 >          ModPerl::CScan::do_declaration1('const
 > XML_Memory_Handling_Suite *memsuite', 'HASH(0x1d587c8)',
 > 'HASH(0x1d67008)', 1) called at lib/ModPerl/CScan.pm line 844
 > ModPerl::CScan::do_declaration('XML_Parser\x{a}XML_ParserCreate_MM(const
 > XML_Char *encoding,\x{a}    ...', 'HASH(0x1d587c8)', 'HASH(0x1d67008)')
 > called at lib/ModPerl/CScan.pm line 762
 >          ModPerl::CScan::do_declarations('ARRAY(0x1db0090)',
 > 'HASH(0x1d587c8)', 'HASH(0x1d67008)') called at
 > /usr/local/share/perl5/Data/Flow.pm line 93
 > Data::Flow::request('Apache2::ParseSource::Scan=ARRAY(0x1d9c908)',
 > 'parsed_fdecls') called at /usr/local/share/perl5/Data/Flow.pm line 46
 >          Data::Flow::get('Apache2::ParseSource::Scan=ARRAY(0x1d9c908)',
 > 'parsed_fdecls') called at lib/Apache2/ParseSource.pm line 68
 > 
Apache2::ParseSource::Scan::get('Apache2::ParseSource::Scan=ARRAY(0x1d9c908)', 

 > 'parsed_fdecls') called at lib/Apache2/ParseSource.pm line 400
 > 
Apache2::ParseSource::get_functions('Apache2::ParseSource=HASH(0x1db6da8)')
 > called at lib/Apache2/ParseSource.pm line 496
 > 
Apache2::ParseSource::write_functions_pm('Apache2::ParseSource=HASH(0x1db6da8)') 

 > called at build/source_scan.pl line 18
 > make: *** [source_scan] Error 1
 >
 > Regards,
 > KAM
 >
 > ---------------------------------------------------------------------
 > To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
 > For additional commands, e-mail: dev-help@perl.apache.org
 >



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


Mime
View raw message