Re: regenerating source for 2.0 fails

2002-08-15 Thread Stas Bekman

Alexy Khrabrov wrote:
> I've followed Doug's instructions for regenerating the source
> tables with perl 5.8.0 and Apache 2.0.40-dev, but it fails parsing:
> 
> alexy@angle:/src/apache/modperl-2.0 > perl build/source_scan.pl 
>/usr/local/apache2/bin/apxs 
> Expecting parenth after identifier in `apr_table_do_callback_fn_t *comp'
> after `apr_table_do_callback_fn_t ' at /usr/local/bleedperl/lib/site_perl/C/Scan.pm 
>line 851.
>  C::Scan::do_declaration1('apr_table_do_callback_fn_t 
>*comp','HASH(0x88bff48)','HASH(0x88bfd50)',0) called at 
>/usr/local/bleedperl/lib/site_perl/C/Scan.pm line 808
>  C::Scan::do_declaration('int   apr_table_do(apr_table_do_callback_fn_t *comp,\x{a}  
>  ...','HASH(0x88bff48)','HASH(0x88bfd50)') called at 
>/usr/local/bleedperl/lib/site_perl/C/Scan.pm line 738
>  C::Scan::do_declarations('ARRAY(0x88b37a4)','HASH(0x88bff48)','HASH(0x88bfd50)') 
>called at /usr/local/bleedperl/lib/site_perl/5.8.0/Data/Flow.pm line 69
>  Data::Flow::request('Apache::ParseSource::Scan=ARRAY(0x887a190)','parsed_fdecls') 
>called at /usr/local/bleedperl/lib/site_perl/5.8.0/Data/Flow.pm line 39
>  Data::Flow::get('Apache::ParseSource::Scan=ARRAY(0x887a190)','parsed_fdecls') 
>called at lib/Apache/ParseSource.pm line 49
>  
>Apache::ParseSource::Scan::get('Apache::ParseSource::Scan=ARRAY(0x887a190)','parsed_fdecls')
> called at lib/Apache/ParseSource.pm line 310
>  Apache::ParseSource::get_functions('Apache::ParseSource=HASH(0x888177c)') called at 
>lib/Apache/ParseSource.pm line 406
>  Apache::ParseSource::write_functions_pm('Apache::ParseSource=HASH(0x888177c)') 
>called at build/source_scan.pl line 18
> 
> Anybody else getting this?

Yup, the same here. Source scan is not stable yet :( If you are adding a 
function you can manipulate the xs/tables/current manually. That's what 
I did yesterday.


__
Stas BekmanJAm_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




regenerating source for 2.0 fails

2002-08-15 Thread Alexy Khrabrov


I've followed Doug's instructions for regenerating the source
tables with perl 5.8.0 and Apache 2.0.40-dev, but it fails parsing:

alexy@angle:/src/apache/modperl-2.0 > perl build/source_scan.pl 
/usr/local/apache2/bin/apxs 
Expecting parenth after identifier in `apr_table_do_callback_fn_t *comp'
after `apr_table_do_callback_fn_t ' at /usr/local/bleedperl/lib/site_perl/C/Scan.pm 
line 851.
 C::Scan::do_declaration1('apr_table_do_callback_fn_t 
*comp','HASH(0x88bff48)','HASH(0x88bfd50)',0) called at 
/usr/local/bleedperl/lib/site_perl/C/Scan.pm line 808
 C::Scan::do_declaration('int   apr_table_do(apr_table_do_callback_fn_t *comp,\x{a}
...','HASH(0x88bff48)','HASH(0x88bfd50)') called at 
/usr/local/bleedperl/lib/site_perl/C/Scan.pm line 738
 C::Scan::do_declarations('ARRAY(0x88b37a4)','HASH(0x88bff48)','HASH(0x88bfd50)') 
called at /usr/local/bleedperl/lib/site_perl/5.8.0/Data/Flow.pm line 69
 Data::Flow::request('Apache::ParseSource::Scan=ARRAY(0x887a190)','parsed_fdecls') 
called at /usr/local/bleedperl/lib/site_perl/5.8.0/Data/Flow.pm line 39
 Data::Flow::get('Apache::ParseSource::Scan=ARRAY(0x887a190)','parsed_fdecls') called 
at lib/Apache/ParseSource.pm line 49
 
Apache::ParseSource::Scan::get('Apache::ParseSource::Scan=ARRAY(0x887a190)','parsed_fdecls')
 called at lib/Apache/ParseSource.pm line 310
 Apache::ParseSource::get_functions('Apache::ParseSource=HASH(0x888177c)') called at 
lib/Apache/ParseSource.pm line 406
 Apache::ParseSource::write_functions_pm('Apache::ParseSource=HASH(0x888177c)') called 
at build/source_scan.pl line 18

Anybody else getting this?
Cheers,
Alexy