- 论坛徽章:
- 0
|
本帖最后由 laowang_2011 于 2011-11-24 14:47 编辑
平台: Solaris 10 SPARC
版本: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: erlIO
Writing Makefile for libaprext
Writing Makefile for APR_build
[warning] mod_perl dso library will be built as mod_perl.so
[warning] You'll need to add the following to httpd.conf:
[warning]
[warning] LoadModule perl_module modules/mod_perl.so
[warning]
[warning] depending on your build, mod_perl might not live in
[warning] the modules/ directory.
[warning] Check the results of
[warning]
[warning] $ /usr/local/apache2/bin/apxs -q LIBEXECDIR
[warning]
[warning] 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
[ error] 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' |
|