pkgsrc-Users archive

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

mod_perl build failure after perl 5.18.0 upgrade



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

I notice that PL_rehash_seed and PL_rehash_seed_set are no longer defined in 
/usr/pkg/lib/perl5/5.18.0/x86_64-netbsd-thread-multi/CORE/embedvar.h (they were 
defined in this file for perl 5.16.3). I notice too that there is some ifdef 
magic with PL_rehash_seed etc. and perl versions in 
./mod_perl-2.0.7/src/modules/perl/modperl_perl.c so presumably there is some 
way to fix it. There is thread in a mod_perl mailing list that may be relevant.

http://www.gossamer-threads.com/lists/modperl/modperl/105273

I'll try to look at that later.

Regards,
Sverre


Home | Main Index | Thread Index | Old Index