求助!Solaris 10 编译mod_perl 很多错误,帮忙看看!着急!
本帖最后由 laowang_2011 于 2011-11-24 14:47 编辑平台: Solaris 10SPARC
版本:mod_perl-2.0.5
在运行perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs 的时候,报以下警告信息:
Writing Makefile for ModPerl::Global
Writing Makefile for ModPerl::Util
Writing Makefile for ModPerl
Writing Makefile for ModPerl::WrapXS
Note (probably harmless): No library found for -lexpat ------------->这里没有找到 lexpat,但我之前就装有expat的了。
Writing Makefile for APR
Writing Makefile for APR::Const
Writing Makefile for APR::PerlIO
Writing Makefile for libaprext
Writing Makefile for APR_build
mod_perl dso library will be built as mod_perl.so
You'll need to add the following to httpd.conf:
LoadModule perl_module modules/mod_perl.so
depending on your build, mod_perl might not live in
the modules/ directory.
Check the results of
$ /usr/local/apache2/bin/apxs -q LIBEXECDIR
and adjust the LoadModule directive accordingly.
在运行“make ”的时候,出现报以下的错误,麻烦大家看看,帮忙解决一下,谢谢!
bash-3.00# make test
cd "src/modules/perl" && make
/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= APACHE_TEST_APXS= \
/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -bugreport -verbose=0
Apache cannot spawn child processes as root, therefore the test suite must be run as a non-privileged user.
make -k run_subtests
make -C ModPerl-Registry test
Usage : make [ -f makefile ][ -K statefile ]... [ -d ][ -dd ][ -D ][ -DD ]
[ -e ][ -i ][ -k ][ -n ][ -p ][ -P ][ -q ][ -r ][ -s ][ -S ][ -t ]
[ -u ][ -w ][ -V ][ target... ][ macro=value... ][ "macro +=value"... ]
make: Fatal error: Unknown option `-C'
*** Error code 1
make -C Apache-Reload test
Usage : make [ -f makefile ][ -K statefile ]... [ -d ][ -dd ][ -D ][ -DD ]
[ -e ][ -i ][ -k ][ -n ][ -p ][ -P ][ -q ][ -r ][ -s ][ -S ][ -t ]
[ -u ][ -w ][ -V ][ target... ][ macro=value... ][ "macro +=value"... ]
make: Fatal error: Unknown option `-C'
*** Error code 1
make -C Apache-SizeLimit test
Usage : make [ -f makefile ][ -K statefile ]... [ -d ][ -dd ][ -D ][ -DD ]
[ -e ][ -i ][ -k ][ -n ][ -p ][ -P ][ -q ][ -r ][ -s ][ -S ][ -t ]
[ -u ][ -w ][ -V ][ target... ][ macro=value... ][ "macro +=value"... ]
make: Fatal error: Unknown option `-C'
*** Error code 1
make: Warning: Target `run_subtests' not remade because of errors
Current working directory /bulk/source/mod_perl-2.0.5
*** Error code 1
make: Fatal error: Command failed for target `run_tests' 麻烦大家进来看看,谢谢! 我在Solaris查看了一下make 手册,发现没有“-C” 这个参数。而这个参数只有在Linux下才有。
mod_perl只能安装在Linux下,不会吧! 有没有哥们弄过这个,有的话麻烦帮忙看看!
谢谢! 找不到lib的话,可以使用crle加入你新的lib所在的路径。 找不到lib的话,可以使用crle加入你新的lib所在的路径。
非凡公子 发表于 2011-11-25 18:20 http://bbs.chinaunix.net/images/common/back.gif
我试了一下,还是报同样的错误。
请问,您是使用crle 来指定lib 路径的? 有兄弟可以进来帮忙一下吗
页:
[1]