求救:apache2安装不了
我把 apache2复制到 magic linux 的目录file:/usr/local/apache2下
执行安装时提示:
# ./configure --prefix=/usr/local/apache2 --enable-module=so
bash: ./configure: 没有那个文件或目录
是什么原因? ./configure的权限对么? # ./configure --prefix=/usr/local/apache2 --enable-module=so
应该在/usr/local/apache2路径下执行上面的命令吧 是的,就是楼上的了,我当时没有进入目录安装,不过,现在第一步安装了
./configure --prefix=/usr/local/apache2 --enable-module=so
./make
./make install
之后的第二步./make又怎么做呢,我在安装完第一步后直接输入./make说目录或文件不存在 make
make install
不用./ 谢谢楼上的同志,在make install安装过程中出现如下的错误提示,不知是什么原因?
cp: ‘include/mpm_common.h’及‘/usr/local/apache2/include/mpm_common.h’为同一文件
cp: ‘include/pcreposix.h’及‘/usr/local/apache2/include/pcreposix.h’为同一文件
cp: ‘include/rfc1413.h’及‘/usr/local/apache2/include/rfc1413.h’为同一文件
cp: ‘include/scoreboard.h’及‘/usr/local/apache2/include/scoreboard.h’为同一文件
cp: ‘include/util_cfgtree.h’及‘/usr/local/apache2/include/util_cfgtree.h’为同一文件
cp: ‘include/util_charset.h’及‘/usr/local/apache2/include/util_charset.h’为同一文件
cp: ‘include/util_ebcdic.h’及‘/usr/local/apache2/include/util_ebcdic.h’为同一文件
cp: ‘include/util_filter.h’及‘/usr/local/apache2/include/util_filter.h’为同一文件
cp: ‘include/util_ldap.h’及‘/usr/local/apache2/include/util_ldap.h’为同一文件
cp: ‘include/util_md5.h’及‘/usr/local/apache2/include/util_md5.h’为同一文件
cp: ‘include/util_script.h’及‘/usr/local/apache2/include/util_script.h’为同一文件
cp: ‘include/util_time.h’及‘/usr/local/apache2/include/util_time.h’为同一文件
cp: ‘include/util_xml.h’及‘/usr/local/apache2/include/util_xml.h’为同一文件
make: *** 错误 1
make: Leaving directory `/usr/local/apache2'
make: *** 错误 1
# You should read the official docs carefully. The Compiling and Installing section
tells you the whole story. I've just install it and there's no problem at all.
I've got some problem with my fcitx~~~~:cry: 老大,你先学习一下在 Linux 如何安装源代码方式的程序行么? configure文件需要有可执行权限,另外,你进入apache的源代码目录没有?怀疑你是在外面执行的,那当然不可能找到。
页:
[1]