G'day all,

        I've been having similar problems to Michael Wright, building 
mod_perl-1.21 on Linux 2.0.36 (Debian slink) with apache 1.3.9 and
perl 5.005_61.

        I've been trying a static build ... in the final link of
httpd, two symbols (perl_eval_sv, perl_eval_pv) are used by mod_perl
code but can't be found.

        These symbols are #define'd in perl header files, so I'm not
sure why they don't make it through. I found that #defining them
solves the problem (well, it builds, anyway).

        This is the same solution as Doug MacEachern posted in the
thread "HTML::Embperl and 'undefined symbol: perl_eval_sv'". I've
copied his answer so anyone suffering from this problem won't have
to madly look up that thread. Just add the following lines to the
end of your existing mod_perl.h:

#ifdef eval_pv
#   ifndef perl_eval_pv
#      define perl_eval_pv eval_pv
#   endif
#endif
#ifdef eval_sv
#   ifndef perl_eval_sv
#      define perl_eval_sv eval_sv
#   endif
#endif

        Hope that helps ...

-----Nick 'Sharkey' Moore, [EMAIL PROTECTED]

Reply via email to