pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mod_perl build failure after perl 5.18.0 upgrade



On 2013-06-01, at 13:39, Sverre Froyen <sverre%viewmark.com@localhost> wrote:

> Hi,
> 
> With perl 5.18.0, mod_perl (www/ap2-perl) fails to build with the following 
> message:
> 
> gcc -I/usr/pkgsrc/www/ap2-perl/work.x86_64/mod_perl-2.0.7/src/modules/perl 
> -I/usr/pkgsrc/www/ap2-perl/work.x86_64/mod_perl-2.0.7/xs 
> -I/usr/pkg/include/apr-1 -I/usr/pkg/include/apr-1  -I/usr/pkg/include/httpd 
> -O2 -pthread -I/usr/include -fno-strict-aliasing -pipe -fstack-protector 
> -I/usr/pkg/include 
> -I/usr/pkg/lib/perl5/5.18.0/x86_64-netbsd-thread-multi/CORE -DMOD_PERL 
> -DMP_COMPAT_1X -DNETBSD -O2  -pthread  -I/usr/include -DPIC -fPIC  -c 
> modperl_perl.c && mv modperl_perl.o modperl_perl.lo
> modperl_perl.c: In function 'modperl_hash_seed_set':
> modperl_perl.c:272:9: error: 'PL_rehash_seed' undeclared (first use in this 
> function)
> modperl_perl.c:272:9: note: each undeclared identifier is reported only once 
> for each function it appears in
> modperl_perl.c:273:9: error: 'PL_rehash_seed_set' undeclared (first use in 
> this function)
> *** Error code 1

Looks like mod_perl 2.0.8 addresses this issue. It compiles, installs and runs 
with trivial changes to www/ap2-perl's Makefile and distinfo (attached).

See

http://blogs.perl.org/users/phred/2013/04/mod-perl-208-has-been-released.html

for distribution download URL release announcement.

Regards,
Sverre

Attachment: mod_perl.diff
Description: Binary data



Home | Main Index | Thread Index | Old Index