----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
I answered my own question.
apache 1.3.9 supported DSO but it was a bindist pulled off the net.
apache 1.3.12 was a pkg pulled off a freeware site that allegedly supported DSO but
did not in reality.
By downloading the apache 1.3.12 sources and building from scratch, everything worked
fine.
Moral of the story: do your own builds.
Mark
> -----Original Message-----
> From: Mark Hatasaka
> Sent: Wednesday, August 30, 2000 4:23 PM
> To: '[EMAIL PROTECTED]'
> Subject: could not find apxs error
>
> I'm trying to install JServ 1.1.2 on a Sparc Solaris 2.8 platform.
>
> I get to the point where I run:
>
> ./configure --with-apxs=/usr/local/apache/bin/apxs
>
> but keep getting the following output:
>
> could not find apxs
> configure: error: If you do not specify a valid --with-apache-src directory
> then you must specify a valid --with-apxs path
>
> I've tried this with both apache 1.3.9 and 1.3.12 with equal results. perl version
>is 5.005_03
>
> Does anyone see what I'm doing wrong? The full output from configure is shown below.
>
> Thanks in advance,
>
> Mark
>
> # ./configure --with-apxs=/usr/local/apache/bin/apxs
> loading cache ./config.cache
> Configuring ApacheJServ/1.1.2
> checking for a BSD compatible install... src/scripts/build/unix/install-sh -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... (cached) yes
> checking for working aclocal... missing
> checking for working autoconf... missing
> checking for working automake... missing
> checking for working autoheader... missing
> checking for working makeinfo... missing
> checking host system type... sparc-sun-solaris2.8
> checking build system type... sparc-sun-solaris2.8
> checking for ranlib... (cached) :
> checking for gcc... (cached) 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... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for ld used by GCC... (cached) /usr/ccs/bin/ld
> checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no
> checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
> checking whether ln -s works... (cached) yes
> loading cache ./config.cache within ltconfig
> checking for object suffix... o
> checking for executable suffix... (cached) no
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.lo... yes
> checking if gcc supports -fno-rtti -fno-exceptions ... yes
> checking if gcc static flag -static works... -static
> checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
> checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes
> checking command to parse /usr/ccs/bin/nm -p output... ok
> checking how to hardcode library paths into programs... immediate
> checking for /usr/ccs/bin/ld option to reload object files... -r
> checking dynamic linker characteristics... solaris2.8 ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> checking for objdir... .libs
> creating libtool
> loading cache ./config.cache
> checking whether make sets ${MAKE}... (cached) yes
> checking for a BSD compatible install... src/scripts/build/unix/install-sh -c
> checking whether ln -s works... (cached) yes
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc -g -O2 ) works... yes
> checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for echo... /usr/bin/echo
> checking for find... /usr/bin/find
> checking for sed... /usr/bin/sed>
> checking for test... /usr/bin/test
> checking for rm... /usr/bin/rm
> checking for head... /usr/bin/head
> checking for tr... /usr/bin/tr
> checking for grep... /usr/bin/grep
> checking for cut... /usr/bin/cut
> checking for touch... /usr/bin/touch
> checking for cat... /usr/bin/cat
> checking for cp... /usr/bin/cp
> checking for make... /usr/local/bin/make
> checking for chmod... /usr/bin/chmod
> checking for GNU make... GNU Make version 3.79, by Richard Stallman and Roland
>McGrath.
> /usr/local/bin/make
> checking for working const... yes
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for mode_t... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking for ANSI C header files... (cached) yes
> checking for gettimeofday... yes
> WARNING: --with-apache-src is undefined: assuming shared object build
> checking for apxs... need to check for Perl first, apxs depends on it...
> checking for perl... /usr/bin/perl
> could not find apxs
> configure: error: If you do not specify a valid --with-apache-src directory
> then you must specify a valid --with-apxs path
> # ls -l /usr/local/apache/bin
> total 1612
> -rwxr-xr-x 1 bin bin 30384 May 21 23:30 ab
> -rwxr-xr-x 1 bin bin 7065 May 21 23:30 apachectl
> -rwxr-xr-x 1 bin bin 20449 May 21 23:30 apxs
> -rwxr-xr-x 1 bin bin 6456 May 21 23:30 dbmmanage
> -rwxr-xr-x 1 bin bin 18816 May 21 23:30 htdigest
> -rwxr-xr-x 1 bin bin 50648 May 21 23:30 htpasswd
> -rwxr-xr-x 1 bin bin 660108 May 21 23:30 httpd
> -rwxr-xr-x 1 bin bin 9556 May 21 23:30 logresolve
> -rwxr-xr-x 1 bin bin 6416 May 21 23:30 rotatelogs
> # pwd
> /usr/local/jserv
> # ls *.log
> config.log
> # cat config.log
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:784: checking for a BSD compatible install
> configure:837: checking whether build environment is sane
> configure:894: checking whether make sets ${MAKE}
> configure:940: checking for working aclocal
> configure:953: checking for working autoconf
> configure:966: checking for working automake
> configure:979: checking for working autoheader
> configure:992: checking for working makeinfo
> configure:1083: checking host system type
> configure:1104: checking build system type
> configure:1124: checking for ranlib
> configure:1154: checking for gcc
> configure:1267: checking whether the C compiler (gcc ) works
> configure:1283: gcc -o conftest conftest.c 1>&5
> configure:1309: checking whether the C compiler (gcc ) is a cross-compiler
> configure:1314: checking whether we are using GNU C
> configure:1342: checking whether gcc accepts -g
> configure:1385: checking for ld used by GCC
> configure:1448: checking if the linker (/usr/ccs/bin/ld) is GNU ld
> configure:1464: checking for BSD-compatible nm
> configure:1501: checking whether ln -s works
> ltconfig:603: checking for object suffix
> ltconfig:604: gcc -c -g -O2 conftest.c 1>&5
> ltconfig:776: checking if gcc PIC flag -fPIC works
> ltconfig:777: gcc -c -g -O2 -fPIC -DPIC conftest.c 1>&5
> ltconfig:829: checking if gcc supports -c -o file.o
> ltconfig:830: gcc -c -g -O2 -o out/conftest2.o conftest.c 1>&5
> ltconfig:862: checking if gcc supports -c -o file.lo
> ltconfig:863: gcc -c -g -O2 -c -o conftest.lo conftest.c 1>&5
> ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
> ltconfig:915: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5
> ltconfig:958: checking if gcc static flag -static works
> ltconfig:959: gcc -o conftest -g -O2 -static conftest.c 1>&5
> ltconfig:1592: checking if global_symbol_pipe works>
> ltconfig:1593: gcc -c -g -O2 conftest.c 1>&5
> ltconfig:1596: eval "/usr/ccs/bin/nm -p > conftest.o | sed -n -e 's/^.*[
>]\([BDT]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
> ltconfig:1648: gcc -o conftest -g -O2 -fno-builtin -fno-rtti -fno-exceptions
>conftest.c conftstm.o 1>&5
> configure:1685: checking whether make sets ${MAKE}
> configure:1724: checking for a BSD compatible install
> configure:1777: checking whether ln -s works
> configure:1800: checking for gcc
> configure:1913: checking whether the C compiler (gcc -g -O2 ) works
> configure:1929: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:1955: checking whether the C compiler (gcc -g -O2 ) is a cross-compiler
> configure:1960: checking whether we are using GNU C
> configure:1988: checking whether gcc accepts -g
> configure:2026: checking for echo
> configure:2061: checking for find
> configure:2096: checking for sed
> configure:2131: checking for test
> configure:2166: checking for rm
> configure:2201: checking for head
> configure:2236: checking for tr
> configure:2271: checking for grep
> configure:2306: checking for cut
> configure:2341: checking for touch
> configure:2376: checking for cat
> configure:2411: checking for cp
> configure:2446: checking for make
> configure:2481: checking for chmod
> configure:2517: checking for GNU make
> configure:2547: checking for working const
> configure:2601: gcc -c -g -O2 conftest.c 1>&5
> configure:2622: checking how to run the C preprocessor
> configure:2643: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:2702: checking for ANSI C header files
> configure:2715: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:2782: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:2806: checking for mode_t
> configure:2839: checking whether time.h and sys/time.h may both be included
> configure:2853: gcc -c -g -O2 conftest.c 1>&5
> configure:2874: checking whether struct tm is in sys/time.h or time.h
> configure:2887: gcc -c -g -O2 conftest.c 1>&5
> configure:2910: checking for ANSI C header files
> configure:3016: checking for gettimeofday
> configure:3044: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:3251: checking for apxs
> configure:3285: checking for perl
> #
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]