Geoffrey Young wrote: >>I nuked everything I had that smelled like mod_perl and mod_perl fails >>at the make test: > > >>/usr/src/mod_perl-1.99_16/t/conf/httpd.conf: >>Cannot load /usr/src/mod_perl-1.99_16/src/modules/perl/mod_perl.so into >>server: /usr/src/mod_perl-1.99_16/src/modules/perl/mod_perl.so: >>undefined symbol: Perl_sv_2pv_flags > > > that's the wrong mod_perl.so - your httpd.conf should be picking it up from > your mod_perl build directory.
gak, I don't know what I was thinking saying that. it's obviously time for the weekend :) anyway, I tried with perl-5.8.5 and it works fine for me. the only thing I can suggest at this point is to look at lib/Apache/BuildConfig.pm and see what options it is picking up. Perl_sv_2pv_flags is defined in embed.h, which on my 5.8.5 is in /perl/perl-5.8.5/lib/5.8.5/i686-linux-thread-multi/CORE/embed.h so I grep for that base directory and find .../CORE in MODPERL_CCOPTS, MODPERL_LDOPTS, and MODPERL_LIBPERL. so, see what you find. Tom might be right, you might be picking up remnants from an old perl install or something. HTH --Geoff