|
本帖最后由 magic535 于 2009-10-27 00:16 编辑
现在给远方的一台centos5.3安个famp不成功.
主要是之前安过apache+php+mysql rpm 包,很多东东都装了!
现在卸载过,安famp 在libxml就出错跳出!
请问有解决方案吗?
(远方机房不能叫人安系统,能不能删除点东西让它恢复到最小安装的状态?)
问题1,安到libxml出错代码是:- cd . && /bin/sh /root/famp5.1.0/soft/libxml/missing --run aclocal-1.9
- aclocal:configure.in:51: warning: macro `AM_PROG_LIBTOOL' not found in library
- cd . && /bin/sh /root/famp5.1.0/soft/libxml/missing --run automake-1.9 --gnu
- python/Makefile.am:36: Libtool library used but `LIBTOOL' is undefined
- python/Makefile.am:36:
- python/Makefile.am:36: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
- python/Makefile.am:36: to `configure.in' and run `aclocal' and `autoconf' again.
- Makefile.am:17: Libtool library used but `LIBTOOL' is undefined
- Makefile.am:17:
- Makefile.am:17: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
- Makefile.am:17: to `configure.in' and run `aclocal' and `autoconf' again.
- make: *** [Makefile.in] 閿欒? 1
- cd . && /bin/sh /root/famp5.1.0/soft/libxml/missing --run automake-1.9 --gnu
- python/Makefile.am:36: Libtool library used but `LIBTOOL' is undefined
- python/Makefile.am:36:
- python/Makefile.am:36: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
- python/Makefile.am:36: to `configure.in' and run `aclocal' and `autoconf' again.
- Makefile.am:17: Libtool library used but `LIBTOOL' is undefined
- Makefile.am:17:
- Makefile.am:17: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
- Makefile.am:17: to `configure.in' and run `aclocal' and `autoconf' again.
- make: *** [Makefile.in] 閿欒? 1
- Libxml 安装不成功!取消后面的安装
- Libxml is not installed! Stop to install FAMP.
复制代码
yum install libtool ,成功安libxml!
问题2,到PHP出错
- Configuring SAPI modules
- checking for AOLserver support... no
- checking for Apache 1.x module support via DSO through APXS... no
- checking for Apache 1.x module support... no
- checking whether to enable Apache charset compatibility option... no
- checking for Apache 2.0 filter-module support via DSO through APXS... no
- checking for Apache 2.0 handler-module support via DSO through APXS...
- Sorry, I cannot run apxs. Possible reasons follow:
- 1. Perl is not installed
- 2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
- 3. Apache was not built using --enable-so (the apxs usage page is displayed)
- The output of /usr/local/apache/bin/apxs follows:
- /usr/local/apache/bin/httpd: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
- apxs:Error: Sorry, no shared object support for Apache.
- apxs:Error: available under your platform. Make sure.
- apxs:Error: the Apache module mod_so is compiled into.
- apxs:Error: your server binary `/usr/local/apache/bin/httpd'..
- configure: error: Aborting
- make: *** 没有指明目标并且找不到 makefile。 停止。
- make: *** 没有规则可以创建目标“install”。 停止。
- cp: 无法创建一般文件“/usr/local/php/lib/php.ini”: 没有那个文件或目录
- chown: 无法访问 “/usr/local/php/lib/php.ini”: 没有那个文件或目录
复制代码 |
|