
pgollucci at p6m7g8
May 1, 2008, 6:44 PM
Post #4 of 8
(542 views)
Permalink
|
|
Re: [mp2] compilation errors with mod_perl-2.0.4 on OpenBSD
[In reply to]
|
|
Simon Bertrang wrote: > On Thu, May 01, 2008 at 09:42:52AM -0700, Fred Moyer wrote: >> Simon Bertrang wrote: >>> Hi, >>> i'm trying to update mp2 but it fails to finish compilation. >>> Specifically, it fails at Base64: >>> ... >>> cp Base64.pm ../../../blib/lib/APR/Base64.pm >>> /usr/bin/perl /usr/libdata/perl5/ExtUtils/xsubpp -typemap /usr/libdata/perl5/ExtUtils/typemap -typemap /usr/ports/www/ap2-mod_perl/w-ap2-mod_perl-2.0.4/mod_perl-2.0.4/xs/typemap Base64.xs > Base64.xsc && mv Base64.xsc Base64.c >>> cc -c -I/usr/ports/www/ap2-mod_perl/w-ap2-mod_perl-2.0.4/mod_perl-2.0.4/src/modules/perl -I/usr/ports/www/ap2-mod_perl/w-ap2-mod_perl-2.0.4/mod_perl-2.0.4/xs -I/usr/local/include/apr-1/ -I/usr/local/include/apr-1/ -I/usr/local/include/db4 -I/usr/local/include -I/usr/local/include/apache2 -fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -I/usr/local/include -DMOD_PERL -DMP_COMPAT_1X -D_POSIX_THREADS -O2 -DVERSION=\"0.009000\" -DXS_VERSION=\"0.009000\" -DPIC -fPIC "-I/usr/libdata/perl5/amd64-openbsd/5.8.8/CORE" -DMP_HAVE_APR_LIBS Base64.c >>> In file included from Base64.xs:24: >>> /usr/ports/www/ap2-mod_perl/w-ap2-mod_perl-2.0.4/mod_perl-2.0.4/xs/modperl_xs_typedefs.h:67: error: syntax error before '*' token >>> /usr/ports/www/ap2-mod_perl/w-ap2-mod_perl-2.0.4/mod_perl-2.0.4/xs/modperl_xs_typedefs.h:67: warning: data definition has no type or storage class >>> *** Error code 1 >>> >>> Stop in /usr/ports/www/ap2-mod_perl/w-ap2-mod_perl-2.0.4/mod_perl-2.0.4/WrapXS/APR/Base64 (line 92 of /usr/share/mk/sys.mk). >>> ... >>> >>> I did a lot of testing with mod_perl-2.0.3 yesterday, so i can at least >>> assure that a working environment hasn't changed in the meantime. >>> Unfortunately i haven't found a fix for this yet, hence this mail. >>> >>> Has someone of you an idea where i need to look to get it solved? >> Pgollucci found a similar issue with FreeBSD, Gozer posted a patch that may >> fix it. Suggest trying out the patch: >> >> http://www.gossamer-threads.com/lists/modperl/dev/97018?search_string=Base64.xsc;#97018 >> > > Looked promising but unfortunately didn't help; same as before. > And i'm obviously also using the non-threaded version of apr. > > But thanks for the pointer anyway. I haven't gotten to looking at this again yet, but I may give it a spin tonight/tomorrow. -- ------------------------------------------------------------------------ Philip M. Gollucci (pgollucci[at]p6m7g8.com) 703.336.9354 Consultant / http://p6m7g8.net/Resume/resume.shtml 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.
|