- 论坛徽章:
- 0
|
The package is "webapp-module-1.0-tc40".
This is the output of my attempted build.
# ./configure --with-apxs=/usr/local/apache/bin/apxs
loading cache ./config.cache
checking for test... /bin/test
checking for true... /bin/true
checking for echo... /bin/echo
checking for grep... /bin/grep
checking for cat... /bin/cat
checking for sed... /bin/sed
checking for ln... /bin/ln
checking for rm... /bin/rm
checking host system type... sparc-sun-solaris2.8
checking for sources directory... /data/software/websoft/webapp-module-1.0-tc40
checking for targets directory... /data/software/websoft/webapp-module-1.0-tc40
C-Language compilation tools
checking for ar... /usr/ccs/bin/ar
checking for ranlib... /usr/ccs/bin/ranlib
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc... /usr/local/bin/gcc
checking whether /usr/local/bin/gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... /usr/local/bin/gcc -E
checking for debug build... no
JAVA-Language compilation tools
checking for java support... no
API documentation generation
checking for C API documentation... no
checking for Java API documentation... no
Target web-server
checking for Apache apxs... yes
checking target module... apache-1.3
checking for full APR directory path... /data/software/websoft/webapp-module-1.0-tc40/apr
Building APR configure script
Invoking: "./buildconf" in "/data/software/websoft/webapp-module-1.0-tc40/apr"
APR buildconf: buildconf: checking installation...
APR buildconf: buildconf: autoconf version 2.57 (ok)
APR buildconf: buildconf: libtool version 1.4 (ok)
APR buildconf: Copying libtool helper files ...
./buildconf: autoheader: not found
APR buildconf: Creating include/arch/unix/apr_private.h.in ...
APR buildconf: Creating configure ...
/usr/local/bin/autoconf: /usr/local/bin/autom4te: not found
Execution of ./buildconf returned 0
Configuring APR
Invoking: "./configure --enable-static --disable-shared --disable-threads" in "/data/software/websoft/webapp-module-1.0-tc40/apr"
configure: error: cannot find or execute "./configure" in "/data/software/websoft/webapp-module-1.0-tc40/apr"
#
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:590: checking for test
configure:635: checking for true
configure:689: checking for echo
configure:743: checking for grep
configure:797: checking for cat
configure:851: checking for sed
configure:905: checking for ln
configure:959: checking for rm
configure:1017: checking host system type
configure:1060: checking for sources directory
configure:1079: checking for targets directory
configure:1114: checking for ar
configure:1168: checking for ranlib
configure:1215: checking for gcc
configure:1328: checking whether the C compiler (gcc ) works
configure:1344: gcc -o conftest conftest.c 1>;&5
configure:1370: checking whether the C compiler (gcc ) is a cross-compiler
configure:1375: checking whether we are using GNU C
configure:1384: gcc -E conftest.c
configure:1403: checking whether gcc accepts -g
configure:1447: checking for gcc
configure:1492: checking whether /usr/local/bin/gcc and cc understand -c and -o together
configure:1507: /usr/local/bin/gcc -c conftest.c -o conftest.o 1>;&5
configure:1508: /usr/local/bin/gcc -c conftest.c -o conftest.o 1>;&5
configure:1513: cc -c conftest.c 1>;&5
/usr/ucb/cc: language optional software package not installed
configure:1543: checking how to run the C preprocessor
configure:1564: /usr/local/bin/gcc -E conftest.c >;/dev/null 2>;conftest.out
configure:1628: checking for debug build
configure:1653: checking for java support
configure:2013: checking for C API documentation
configure:2126: checking for Java API documentation
configure:2195: checking for Apache apxs
configure:2304: checking target module
configure:2323: checking for full APR directory path
Here is the $PATH value
# echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/usr/ucb:/etc:/bin
I don't understand why I get the following error when
the $PATH includes "/usr/local/bin". The autoconf file
is located within the same "/usr/local/bin" directory
as the autom4te file.
APR buildconf: Creating configure ...
/usr/local/bin/autoconf: /usr/local/bin/autom4te: not
found
Execution of ./buildconf returned 0
$ ls /usr/local/bin/auto*
/usr/local/bin/autoconf /usr/local/bin/autom4te /usr/local/bin/automake-1.7 /usr/local/bin/autoscan
/usr/local/bin/autoheader /usr/local/bin/automake /usr/local/bin/autoreconf /usr/local/bin/autoupdate
------------------------------------------- |
|