- 论坛徽章:
- 0
|
这是编译mod_dav的结果
[root@server mod_dav-1.0.3-1.3.6]# ./configure --with-apxs=/usr/local/apache2/bin/apxs
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for static Apache module support... no
checking for dynamic Apache module support (via APXS)... found at /usr/local/apache2/bin/apxs
configure: error: Your APXS installation is broken and cannot be used.
Please see http://www.webdav.org/mod_dav/install.html#apxs for
more information.
下边是不管mod_dav中的说明直接运行expat中 Makefile的结果
[root@server expat]# Makefile
-bash: Makefile: command not found
[root@server expat]# ./Makefile
./Makefile: line 8: -O2: command not found
./Makefile: line 13: xmltok/xmlrole.o: No such file or directory
./Makefile: line 1: FILEMAP_OBJ: command not found
./Makefile: line 17: xmlwf/xmlfile.o: No such file or directory
./Makefile: line 1: EXE: command not found
./Makefile: line 1: XMLWF: command not found
./Makefile: line 25: all:: command not found
./Makefile: line 1: XMLWF: command not found
./Makefile: line 1: OBJS: command not found
./Makefile: line 1: LIB: command not found
./Makefile: line 1: CC: command not found
./Makefile: line 1: CFLAGS: command not found
./Makefile: line 1: OBJS: command not found
./Makefile: line 1: LIB: command not found
./Makefile: line 28: -o: command not found
./Makefile: line 1: LIB: command not found
./Makefile: line 1: LIBOBJS: command not found
./Makefile: line 1: AR: command not found
./Makefile: line 1: LIB: command not found
./Makefile: line 1: LIBOBJS: command not found
./Makefile: line 31: rc: command not found
./Makefile: line 33: clean:: command not found
./Makefile: line 1: OBJS: command not found
./Makefile: line 1: LIBOBJS: command not found
./Makefile: line 1: LIB: command not found
./Makefile: line 1: XMLWF: command not found
./Makefile: line 1: EXE: command not found
./Makefile: line 36: xmltok/nametab.h:: No such file or directory
./Makefile: line 1: EXE: command not found
./Makefile: line 38: $@: ambiguous redirect
./Makefile: line 1: EXE: command not found
./Makefile: line 40: gennmtab/gennmtab:: No such file or directory
./Makefile: line 1: CC: command not found
./Makefile: line 1: CFLAGS: command not found
./Makefile: line 41: -o: command not found
./Makefile: line 43: xmltok/xmltok.o:: No such file or directory
./Makefile: line 45: .c.o:: command not found
./Makefile: line 46: syntax error near unexpected token `newline'
./Makefile: line 46: ` $(CC) $(CFLAGS) -c -o $@ $<'
下边是mod_dav中install的部分关于expat的说明
Note: sometimes, the APXS installation may be broken. If the
configure process reports this, then please refer to a [10]FAQ
entry written by the PHP folks. It explains the problem quite well.
The configuration process will do its stuff. One of its tasks
is to locate the Expat library (an XML parsing library). This
library is included with Apache 1.3.9 and will automatically be
found. If you have a previous version of Apache 1.3 (it must be
at least Apache 1.3.4), then you will need a copy on your
system. configure will look for it in /usr/{include,lib} and in
/usr/local/{include,lib}. If it can't find it, then you will
need to tell configure where it is on your system using the
--with-expat=<dir> command line option. For example:
./configure --with-apxs=/usr/local/apache/bin/apxs
--with-expat=/home/gstein/expat |
|