另外附上你的 perl -V 信息 2009/12/7 cnhack TNT <[email protected]>
> 请运行 : locate Embed.pm > 告诉我们结果 :-) > > 2009/12/7 程方圆 <[email protected]> > > 请教个问题: >> 我手动安装mod_perl时出错,使用CPAN安装也有同样的错误而make终止: >> 错误如下: >> ============================================================= >> modperl_xsinit.c: 在函数‘xs_init’中: >> modperl_xsinit.c:30: 错误:‘my_perl’未声明(在此函数内第一次使用) >> modperl_xsinit.c:30: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其 >> modperl_xsinit.c:30: 错误:所在的函数内也只报告一次。) >> modperl_xsinit.c:30: 警告:传递‘Perl_newXS’的第 3 个参数时在不兼容的指针类型间转换 >> /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/proto.h:1500: >> 附注:需要类型‘XSUBADDR_t’,但实参的类型为‘void (*)(struct CV *)’ >> make[1]: *** [modperl_xsinit.lo] 错误 1 >> make[1]: Leaving directory >> `/root/.cpan/build/mod_perl-2.0.4-mf94jz/src/modules/perl' >> make: *** [modperl_lib] 错误 2 >> GOZER/mod_perl-2.0.4.tar.gz >> /usr/bin/make -- NOT OK >> Running make test >> Can't test without successful make >> Running make install >> Make had returned bad status, install seems impossibl >> ===================================================== >> >> 我用“modperl_xsinit.c:30”作为关键词搜索google,发现有人提出同样的问题,但没有找到答案。 >> http://d.hatena.ne.jp/hirose31/20090302/1235967816这里好像有解决办法,但是我看不懂日文。 >> >> 希望哪位能指点一下,谢谢! >> >> >> 系统是fedora12 >> mod_perl version: mod_perl-2.0.4 >> httpd version: >> Server version: Apache/2.2.14 (Unix) >> Server built: Dec 7 2009 17:42:54 >> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ 您收到此信息是由于您订阅了 Google 论坛“PerlChina Mongers 讨论组”论坛。 要在此论坛发帖,请发电子邮件到 [email protected] 要退订此论坛,请发邮件至 [email protected] 更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛 -~----------~----~----~----~------~----~------~--~---
