On Mon, 25 Jun 2001, Doug MacEachern wrote:

> On Sun, 24 Jun 2001, Stas Bekman wrote:
>
> >
> > Running a stand-alone:
> >
> > $ make xs_generate
>
> yeah, that isn't meant be used at the moment.

ok

> > unfortunately 'make source_scan' shocks with:
> > Expecting parenth after identifier in `apr_sms_t **sms'
> > after `apr_sms_t ' at /home/stas/perl-bleed/lib/5.7.1/C/Scan.pm line 851.
> >
> > with the Scan.pm from your site Doug. But you've mentioned this already.
>
> it works fine for me with the current sources.  there is one difference in
> my local copy (patch from gerald), however source_scan.pl runs fine either
> way for me.
>
> --- /home/dougm/tar/Scan.pm     Mon Jun 25 16:38:02 2001
> +++ /home/dougm/perl/C-Scan-0.75/Scan.pm        Wed May  2 20:57:45 2001
> @@ -914,7 +914,7 @@
>    }
>    my $stream = $class->new(@_);
>    my $oh = select $stream;
> -  $/ = undef;
> +  local $/ = undef;
>    select $oh;
>    <$stream>;
>  }

it still doesn't work, even with this patch. What's is the difference in
your dev environment? I have all cvs versions perl/apache/mod_perl on
linux.  Scan.pm from your site with this patch. The only thing I had to
install was Data::Flow, and my version is:

$ perl-bleed/bin/perl -MData::Flow -le 'print $Data::Flow::VERSION'
0.05

is it possible that Scan.pm online is not the same as you use? I'm talking
about the one at apache.org/~dougm/Scan.pm.

here is the error I get:
$ make source_scan
/home/stas/perl-bleed/bin/perl util/source_scan.pl
Expecting parenth after identifier in `apr_sms_t **sms'
after `apr_sms_t ' at /home/stas/perl-bleed/lib/5.7.1/C/Scan.pm line 851.
        C::Scan::do_declaration1('apr_sms_t
**sms','HASH(0x84b1a08)','HASH(0x853b67c)',0) called at
/home/stas/perl-bleed/lib/5.7.1/C/Scan.pm line 808
        C::Scan::do_declaration('apr_status_t
apr_sms_blocks_create(apr_sms_t **sms,\x{a}
apr_sms_t *pms,\x{a}
apr_size_t block_size);','HASH(0x84b1a08)','HASH(0x853b67c)') called at
/home/stas/perl-bleed/lib/5.7.1/C/Scan.pm line 738

C::Scan::do_declarations('ARRAY(0x84923b4)','HASH(0x84b1a08)','HASH(0x853b67c)')
called at /home/stas/perl-bleed/lib/site_perl/5.7.1/Data/Flow.pm line 69

Data::Flow::request('Apache::ParseSource::Scan=ARRAY(0x853c3cc)','parsed_fdecls')
called at /home/stas/perl-bleed/lib/site_perl/5.7.1/Data/Flow.pm line 39

Data::Flow::get('Apache::ParseSource::Scan=ARRAY(0x853c3cc)','parsed_fdecls')
called at lib/Apache/ParseSource.pm line 49

Apache::ParseSource::Scan::get('Apache::ParseSource::Scan=ARRAY(0x853c3cc)','parsed_fdecls')
called at lib/Apache/ParseSource.pm line 289

Apache::ParseSource::get_functions('Apache::ParseSource=HASH(0x848c390)')
called at lib/Apache/ParseSource.pm line 367

Apache::ParseSource::write_functions_pm('Apache::ParseSource=HASH(0x848c390)')
called at util/source_scan.pl line 17
make: *** [source_scan] Error 255

Thanks!

_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to