- 主题:请教:安装kbs时的问题,是不是有什么还没有准备齐全?
准备工作:
我在linux fc2 下 /home/里建了一个目录,然后把
apache_1.3.33.tar.gz
php-5.0.4.tar.gz
mysql 的client server rpm文件
分别tar rpm
都成功了,但是在php-5.0.4里面
./configure --with-apxs=/usr/local/www/bin/apxs --disable-debug \
--enable-pic --disable-rpath --enable-inline-optimization \
--with-dom --with-gd --with-freetype-dir=/usr/lib \
--with-png-dir --with-iconv --with-jpeg-dir --with-zlib \
--enable-track-vars
最后说apxs perl没有成功
apache mysql都运行是好的
问题:
1,进入kbs源代码目录后:
contrib/build-RH9.sh
编译一会,最后提示:
configure:error:ERROR!Unknown site fb2k-v2.see site/
make:***没有找到目标且找不到makefile.停止
但是我在对应的目录里是有php-5.0.4的文件的啊?
2,进入kbs源代码目录后:
./configure --prefix=/usr/local/bbs --enable-site=devel \
--with-www=/usr/local/www --with-php=/usr/local/include/php \
--with-mysql --enable-ssh --enable-ssl
也是编译了一会,然后提示:
configure:error:"can't find php source in usr/local/include/php"
--
FROM 219.238.245.*
先不说kbs本身了,
光php没有安装成功,
终端说:
configure:error:Aborting;
make
make install也不成功. (-_____-~b)
php在linux下怎么老安装不成功啊?
【 在 atppp (Big Mouse) 的大作中提到: 】
: google "apxs perl" configure。这个好像是个bug。我记得php manual FAQ里有
: site/下没有fb2k-v2.h fb2k-v2.c,你可以
: 1. cvs 下载这两个文件
: ...................
--
修改:liangls FROM 219.238.245.*
FROM 219.238.245.*
错误提示如下:
Sorry,I was not able to successfully run APX,Posible reason:
1,perl is not install
2,Apache was not in your path,Try to use --with-apxs=/path/to/apxs
configure:error:Aborting
(==,还没全,我去从新记一下)
【 在 atppp (Big Mouse) 的大作中提到: 】
: 错误信息贴完整,这一行上面肯定还有错误信息
--
FROM 219.238.245.*
从新记了一边:
打开终端:
进入/home/(一个文件夹)/php5.0.4/
然后
1,如果执行以下命令(google出来的,mysql+php+perl安装的说明):
./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/lib --enable-track-vars --with-xml --with-mysql
终端提示:
check for AOLserver support.. no
chech for Apache 1.x modulesupport via DSO through APXS
Sorry,I was not able to successfully run APXS,Possible reasons:
1,Perl is not install
2,Apache was not in your path,Try to use --with-apxs=/path/to/apxs
3,"apxs"is not in your path,try to use --with-apsx=/path/to/apxs
2,如果执行以下命令(kbs的安装说明):
./configure --with-apxs=/usr/local/www/bin/apxs --disable-debug \
--enable-pic --disable-rpath --enable-inline-optimization \
--with-dom --with-gd --with-freetype-dir=/usr/lib \
--with-png-dir --with-iconv --with-jpeg-dir --with-zlib \
--enable-track-vars
终端提示:
1,Perl is not install
2,Apache was not compiled with DSO support(--enable-module=so)
3"apxs"is not in your path try to use --with-apsx=/path/to/apxs
The output /apxs follows:
./configure:line 3351:/apsx:NO such file or directory
configure:error:Aborting
问题:
1,php一定要装perl吗?
2,DSO support是什么东西?
3,上面的2次操作都不能安装成功php,并且不能
make
make install
问题出在那里了?怎么解决??
谢谢了~~!
【 在 liangls (精灵射手) 的大作中提到: 】
: 错误提示如下:
: Sorry,I was not able to successfully run APX,Posible reason:
: 1,perl is not install
: ...................
--
FROM 219.238.245.*
我是照着kbs的安装手册操作的啊:
如下:
2.4 安装 apache 和 php
首先切换目录到 $(SRCDIR),进入 apache 的源代码目录。为了节省篇幅,下面
直接以命令表示。
cd apache_1.3.X
./configure --prefix=/usr/local/www --enable-module=so
make
make install
到这里是好的
cd ../php-4.3.X
./configure --with-apxs=/usr/local/www/bin/apxs --disable-debug \
--enable-pic --disable-rpath --enable-inline-optimization \
--with-dom --with-gd --with-freetype-dir=/usr/lib \
--with-png-dir --with-iconv --with-jpeg-dir --with-zlib \
--enable-track-vars
make
make install
不能make make install
【 在 MrWrong (雨中的猪头) 的大作中提到: 】
: 你的apache安的可正确?
--
FROM 219.238.245.*
又从新操作了一遍,
严格按照kbs的安装手册操作的,apache make make install都没有问题
???郁闷死我了-_____-~~b,折腾这个kbs都有半个月,居然还没安装上
【 在 liangls (精灵射手) 的大作中提到: 】
: 我是照着kbs的安装手册操作的啊:
: 如下:
: 2.4 安装 apache 和 php
: ...................
--
FROM 219.238.245.*
make
终端说:
没有指明目标并且找不到makefile.停止
make install也是
【 在 cnbird (阿七) 的大作中提到: 】
: 不能make
: make install就把错误信息帖出来啊
: 他们虽然牛也不是神仙,什么都不知道还能帮你回答问题
--
FROM 219.238.245.*
那怎么处理啊?
./configure?我是按照kbs的安装手册操作的啊?
【 在 JulyClyde (七月) 的大作中提到: 】
: ./configure有错就不会生成Makefile
--
FROM 219.238.245.*
是原来在
dev.kcn.cn上下载的kbsbbs-2.0dev
今天好象打不开开发组的主页.
【 在 etnlegend (etn|淡入淡出|answer) 的大作中提到: 】
: 你用的是cvs的源代码?
--
FROM 219.238.245.*
没有安装perl
谢谢指导,我去试试
【 在 atppp (Big Mouse) 的大作中提到: 】
: 检查是否已经安装perl:
: rpm -q perl
: 如果已经安装,看php手册FAQ第69章问题13
--
FROM 168.160.18.*