看板FreeBSD
标 题Re: PHP4.3.1 make 失败:~
发信站明德电疯站 (Mon Jul 12 17:57:48 2004)
转信站ptt!ctu-reader!ctu-peer!Spring!news.nctu!news.nsysu!news.isu!mdhs
make -DWITH_APACHE2
不过你有更新 ports 吗?
照理说,Makefile 里有一段:
if !defined(WITHOUT_APACHE)
if exists(${LOCALBASE}/include/apache2/httpd.h)
WITH_APACHE2= yes
APACHE_MPM!= ${APXS} -q MPM_NAME
endif
if defined(WITH_APACHE2)
........
.........
应该是不用特别指定才是..
还是你有另外指定 apache2 的 path 或者不是用 port 装 apache2 的?..
※ 引述《[email protected] (Zax)》之铭言:
> 我用ports打make安装後,却执行到这里就失败了
> Configuring SAPI modules
> checking for AOLserver support... no
> checking for Apache 1.x module support via DSO through APXS... configure: error: You have enabled Apache 1.3 support while your server is Apache 2. Please use the appropiate switch --with-apxs2
> ===> Script "configure" failed unexpectedly.
> Please report the problem to [email protected] [maintainer] and attach
> the "/usr/ports/www/mod_php4/work/php-4.3.1/config.log" including the
> output of the failure of your make command. Also, it might be a good
> idea to provide an overview of all packages installed on your system
> (e.g. an `ls /var/db/pkg`).
> *** Error code 1
> Stop in /usr/ports/www/mod_php4.
> *** Error code 1
> Stop in /usr/ports/www/mod_php4.
> 翻了很多google的文章都找不到解决的方法,请问我该怎样做才能make成功?
--
风儿你要轻轻的吹
不要吹落了我的梦想偎~ §telnet://mdhs.twbbsw.org §
--
╔═══╮╔═══╮ + ▲ + ─────────────────
║ ║║ ║ ◢◣ ☆ 台 北 县 立 明 德 高 中 校 友 BBS
║ ║║ ╭╮║ ◢█◣ Θ Ω → telnet://mdhs.twbbs.org ←
║ ║║║║ ╰╯║ ◢██◣〔〕《》from:211-74-210-145.adsl.dynamic.seed.net.tw
╚═╝╝╝╚═══╯▇▆ ▃▁Π Π ─────────────────