Hightman 论坛

完整版: 安装scws-1.1.2 时 php扩展出现问题。
您当前正在浏览的是一个简化版本. 要观看完整版本, 请点这儿.
1) 进入源码目录的 phpext/ 目录 ( cd ~/scws-1.1.1 )
2) 执行 phpize (在PHP安装目录的bin/目录下)
3) 执行 ./configure --with-scws=/usr/local/scws
执行第3步时出现

checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for scws support... yes, shared
checking for scws_new in -lscws... no
configure: error: wrong scws lib version or lib not found

环境: Freebsd 8.0
必须先安装scws主体啊,在安装phpext/之前。

cd scws-1.1.2/ ; ./configure --prefix=/usr/local/scws ; make ; make install

然后再做你的上述步骤!
我也需要这样的问题,我的是FreeBSD8.0 test.c都通不过,提示找不到scws.h
不知改如何解决啊。
Reference URL's