perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Bertrang <ja...@errornet.de>
Subject Re: [mp2] compilation errors with mod_perl-2.0.4 on OpenBSD
Date Thu, 01 May 2008 20:20:39 GMT
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.

Rgeards,
Simon

Mime
View raw message