MP and 2.4 Compilation Woes

"Kevin A. McGrail" <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Hi All,

So picking back up on the thread from the httpd list, I am interested in 
helping with mod_perl.  And I've written some patches for AuthenDBI and 
can work on those again as well.

However, at the moment I can't compile 2.4 and the make source_scan 
stuff is not something I even understand nor can I find much documented 
about it.

I've worked through Jan's patches downloaded 9/25 and the info on 
http://qteajs.org/howto/apache?_size=1920x1086 looked promising.

And even though I'm also using my own custom built perl 5.14 instead of 
the RH/CentOS builds I've tried so far, I've had no luck.

Following Jan's advice, I had to add this to ParseSource.pm

+     'APACHE_HTTP_VHOST_H', #c-scan chokes on http_host.h
+     'H_PERL', #""

That got me this far...

/usr/local/perl-5.14/bin/perl build/source_scan.pl
Expecting parenth after identifier in `const XML_Memory_Handling_Suite 
*memsuite'
after `const XML_Memory_Handling_Suite ' at lib/ModPerl/CScan.pm line 895.
  at lib/ModPerl/CScan.pm line 895
         ModPerl::CScan::do_declaration1('const 
XML_Memory_Handling_Suite *memsuite', 'HASH(0x1c321b8)', 
'HASH(0x1c0dcf0)', 1) called at lib/ModPerl/CScan.pm line 846
ModPerl::CScan::do_declaration('XML_Parser\x{a}XML_ParserCreate_MM(const 
XML_Char *encoding,\x{a}    ...', 'HASH(0x1c321b8)', 'HASH(0x1c0dcf0)') 
called at lib/ModPerl/CScan.pm line 764
         ModPerl::CScan::do_declarations('ARRAY(0x1c27780)', 
'HASH(0x1c321b8)', 'HASH(0x1c0dcf0)') called at 
/usr/local/perl-5.14/lib/site_perl/5.14.2/Data/Flow.pm line 93
Data::Flow::request('Apache2::ParseSource::Scan=ARRAY(0x1c46958)', 
'parsed_fdecls') called at 
/usr/local/perl-5.14/lib/site_perl/5.14.2/Data/Flow.pm line 46
Data::Flow::get('Apache2::ParseSource::Scan=ARRAY(0x1c46958)', 
'parsed_fdecls') called at lib/Apache2/ParseSource.pm line 68
Apache2::ParseSource::Scan::get('Apache2::ParseSource::Scan=ARRAY(0x1c46958)', 
'parsed_fdecls') called at lib/Apache2/ParseSource.pm line 410
Apache2::ParseSource::get_functions('Apache2::ParseSource=HASH(0x1bc6df0)') 
called at lib/Apache2/ParseSource.pm line 508
Apache2::ParseSource::write_functions_pm('Apache2::ParseSource=HASH(0x1bc6df0)') 
called at build/source_scan.pl line 18
make: *** [source_scan] Error 255

Overall, I think the concept that things should be forked to a new 2.4 
mod_perl is best because if it's backwards compatibility that's holding 
things back, I'd rather lose that.  I'm currently building on a devel 
box running on CentOS 6.2.

Regards,
KAM
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.