You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by The Doctor <do...@doctor.nl2k.ab.ca> on 2002/01/12 10:43:32 UTC

Modperl 2.0 error

Why in this beta am I getting:


Script started on Sat Jan 12 02:42:20 2002
doctor.nl2k.ab.ca//usr/source/modperl-2.0$ make
cd "src/modules/perl" && make
cc -c -I/usr/source/modperl-2.0/src/modules/perl -I/usr/source/modperl-2.0/xs -I/var/www/include -fno-strict-aliasing -I/usr/local/include -DMOD_PERL -O2    -DVERSION=\"0.01\"  -DXS_VERSION=\"0.01\" -fPIC -I/usr/libdata/perl5/i386-bsdos/CORE  Lock.c
In file included from Lock.xs:26:
/usr/source/modperl-2.0/xs/APR/Lock/APR__Lock.h:6: syntax error before `apr_lockmech_e'
/usr/source/modperl-2.0/xs/APR/Lock/APR__Lock.h: In function `mpxs_apr_lock_create':
/usr/source/modperl-2.0/xs/APR/Lock/APR__Lock.h:11: `type' undeclared (first use in this function)
/usr/source/modperl-2.0/xs/APR/Lock/APR__Lock.h:11: (Each undeclared identifier is reported only once
/usr/source/modperl-2.0/xs/APR/Lock/APR__Lock.h:11: for each function it appears in.)
/usr/source/modperl-2.0/xs/APR/Lock/APR__Lock.h:11: `mech' undeclared (first use in this function)
/usr/source/modperl-2.0/xs/APR/Lock/APR__Lock.h:11: `fname' undeclared (first use in this function)
/usr/source/modperl-2.0/xs/APR/Lock/APR__Lock.h:11: `p' undeclared (first use in this function)
/usr/source/modperl-2.0/xs/APR/Lock/APR__Lock.h:11: warning: passing arg 4 of `apr_lock_create' from incompatible pointer type
/usr/source/modperl-2.0/xs/APR/Lock/APR__Lock.h:11: too many arguments to function `apr_lock_create'
Lock.c: In function `XS_APR__Lock_new':
Lock.c:94: syntax error before `mech'
Lock.xs:56: `mech' undeclared (first use in this function)
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
doctor.nl2k.ab.ca//usr/source/modperl-2.0$ exit
exit

Script done on Sat Jan 12 02:42:30 2002
-- 
Member - Liberal International	On 11 Sept 2001 the WORLD was violated.
This is doctor@nl2k.ab.ca	Ici doctor@nl2k.ab.ca
Society MUST be saved! Extremists must dissolve.  
Birthdate 29 Jan 1969 Born Redhill Surrey England UK

Re: Modperl 2.0 error

Posted by Stas Bekman <st...@stason.org>.
The Doctor wrote:

> On Sat, Jan 12, 2002 at 10:00:04AM -0600, Randy Kobes wrote:
> 
>>On Sat, 12 Jan 2002, The Doctor wrote:
>>
>>
>>>Why in this beta am I getting:
>>>
>>>
>>>Script started on Sat Jan 12 02:42:20 2002
>>>doctor.nl2k.ab.ca//usr/source/modperl-2.0$ make cd
>>>"src/modules/perl" && make cc -c
>>>-I/usr/source/modperl-2.0/src/modules/perl
>>>-I/usr/source/modperl-2.0/xs -I/var/www/include
>>>-fno-strict-aliasing -I/usr/local/include
>>>-DMOD_PERL -O2 -DVERSION=\"0.01\"  -DXS_VERSION=\"0.01\" -fPIC
>>>-I/usr/libdata/perl5/i386-bsdos/CORE Lock.c In file
>>>included from Lock.xs:26:
>>>/usr/source/modperl-2.0/xs/APR/Lock/APR__Lock.h:6:
>>>syntax error before `apr_lockmech_e'
>>>
>>Hi,
>>    Are you using the latest Apache-2 and modperl-2 cvs
>>sources?

> Yes.

For modperl 2.0 you *always* need to get the latest cvs version of 
httpd-2.0. If you use perl 5.7.2 you also *always* need to get the 
latest bleadperl.

What you saw is the change in httpd 2.0's API, which was adjusted in 
mod_perl 2.0. in some cases you need to run:

% make source_scan

If the maps weren't updated yet in cvs. and then run perl Makefile.PL again.

_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


Re: Modperl 2.0 error

Posted by The Doctor <do...@doctor.nl2k.ab.ca>.
On Sat, Jan 12, 2002 at 10:00:04AM -0600, Randy Kobes wrote:
> On Sat, 12 Jan 2002, The Doctor wrote:
> 
> > Why in this beta am I getting:
> >
> >
> > Script started on Sat Jan 12 02:42:20 2002
> > doctor.nl2k.ab.ca//usr/source/modperl-2.0$ make cd
> > "src/modules/perl" && make cc -c
> > -I/usr/source/modperl-2.0/src/modules/perl
> > -I/usr/source/modperl-2.0/xs -I/var/www/include
> > -fno-strict-aliasing -I/usr/local/include
> > -DMOD_PERL -O2 -DVERSION=\"0.01\"  -DXS_VERSION=\"0.01\" -fPIC
> > -I/usr/libdata/perl5/i386-bsdos/CORE Lock.c In file
> > included from Lock.xs:26:
> > /usr/source/modperl-2.0/xs/APR/Lock/APR__Lock.h:6:
> > syntax error before `apr_lockmech_e'
> 
> Hi,
>     Are you using the latest Apache-2 and modperl-2 cvs
> sources?
> 
> best regards,
> randy kobes
> 
>

Yes.
 
> 
> 

-- 
Member - Liberal International	On 11 Sept 2001 the WORLD was violated.
This is doctor@nl2k.ab.ca	Ici doctor@nl2k.ab.ca
Society MUST be saved! Extremists must dissolve.  
Birthdate 29 Jan 1969 Born Redhill Surrey England UK

Re: Modperl 2.0 error

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Sat, 12 Jan 2002, The Doctor wrote:

> Why in this beta am I getting:
>
>
> Script started on Sat Jan 12 02:42:20 2002
> doctor.nl2k.ab.ca//usr/source/modperl-2.0$ make cd
> "src/modules/perl" && make cc -c
> -I/usr/source/modperl-2.0/src/modules/perl
> -I/usr/source/modperl-2.0/xs -I/var/www/include
> -fno-strict-aliasing -I/usr/local/include
> -DMOD_PERL -O2 -DVERSION=\"0.01\"  -DXS_VERSION=\"0.01\" -fPIC
> -I/usr/libdata/perl5/i386-bsdos/CORE Lock.c In file
> included from Lock.xs:26:
> /usr/source/modperl-2.0/xs/APR/Lock/APR__Lock.h:6:
> syntax error before `apr_lockmech_e'

Hi,
    Are you using the latest Apache-2 and modperl-2 cvs
sources?

best regards,
randy kobes