This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
To: The Doctor <doctor@doctor.nl2k.ab.ca> From: Stas Bekman <stas@stason.org> Subject: Re: Modperl 2.0 error Date: Mon, 14 Jan 2002 12:31:42 +0800 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. ===