You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Paul Rubenis <pa...@tc.umn.edu> on 2002/09/09 22:43:08 UTC
mod_webapp connector / apr compatibility
I have had an issue were if I download the tomcat 4.0.4 connector source,
follow directions for also getting the apr source from the cvs
repository, the configure script will fail on configuring apr...
Connector source from:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/jakarta-tomcat-connectors-4.0.4-src.tar.gz
APR source from:
cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic \
checkout apr
or
http://www.apache.org/dist/apr/apr-0.9.0.tar.gz
Using the <connector source>/webapp/support/buildconf.sh appears to run
successfully. The configure script fails with the following error. My
question would be is there a matrix of what tagged verions of the
connector work with what tagged versions of apr? Or am I just missing
some step...
I am able to compile the mod_webapp connector IF I use the current cvs
images for BOTH jakarta-tomcat-connectors and apr. Of course, I prefer
to build against an actual tagged release for both modules.
[user@hostname webapp]# ./configure --with-apxs
Configuring WebApp Module
+ checking build system type... i686-pc-linux-gnu
+ checking host system type... i686-pc-linux-gnu
+ checking for sources directory path...
/home/user/jakarta-tomcat-connectors-4.0.4-src/webapp
+ checking for build directory path...
/home/user/jakarta-tomcat-connectors-4.0.4-src/webapp
Checking Apache APXS
+ checking for apxs name... apxs
+ checking for apxs... /usr/sbin/apxs
+ checking for apxs availability... /usr/sbin/apxs
+ checking for apxs version... /usr/sbin/apxs (1.3)
+ checking for apxs sanity... ok
Apache 1.3 module compilation (APR checks)
+ checking for apr sources... ./apr
+ checking for apr sources directory path...
/home/user/jakarta-tomcat-connectors-4.0.4-src/webapp/apr
invoking "./configure --enable-static --disable-shared
--disable-threads
--libdir=/home/user/jakarta-tomcat-connectors-4.0.4-src/webapp/objects"
in directory "/home/user/jakarta-tomcat-connectors-4.0.4-src/webapp/apr"
apr: loading cache ./config.cache
apr: checking host system type... i686-pc-linux-gnu
apr: checking target system type... i686-pc-linux-gnu
apr: checking build system type... i686-pc-linux-gnu
apr: Configuring APR library
apr: Platform: i686-pc-linux-gnu
apr: checking for working mkdir -p... (cached) yes
apr: APR Version: 0.9.0
apr: checking for chosen layout... apr
apr: checking for gcc... (cached) gcc
apr: checking whether the C compiler (gcc ) works... yes
apr: checking whether the C compiler (gcc ) is a cross-compiler... no
apr: checking whether we are using GNU C... (cached) yes
apr: checking whether gcc accepts -g... (cached) yes
apr: Applying APR hints file rules for i686-pc-linux-gnu
apr: setting CPPFLAGS to "-DLINUX=2"
apr: adding "-D_REENTRANT" to CPPFLAGS
apr: (Default will be unix)
apr: checking whether make sets ${MAKE}... (cached) yes
apr: checking how to run the C preprocessor... (cached) gcc -E
apr: checking for gawk... (cached) gawk
apr: checking whether ln -s works... (cached) yes
apr: checking for ranlib... (cached) ranlib
apr: checking for a BSD compatible install... (cached)
/usr/bin/install -c
apr: checking for rm... (cached) rm
apr: checking for as... (cached) as
apr: checking for cpp... (cached) cpp
apr: checking for ar... (cached) ar
apr: checking for AIX... no
apr: checking for POSIXized ISC... no
apr: checking for minix/config.h... (cached) no
apr: checking whether system uses EBCDIC... (cached) no
apr: performing libtool configuration...
apr: checking for Cygwin environment... (cached) no
apr: checking for mingw32 environment... (cached) no
apr: checking for ld used by GCC... (cached) /usr/bin/ld
apr: checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
apr: checking for /usr/bin/ld option to reload object files...
(cached) -r
apr: checking for BSD-compatible nm... (cached) /usr/bin/nm -B
apr: checking how to recognise dependant libraries... (cached) pass_all
apr: checking for object suffix... (cached) o
apr: checking for executable suffix... (cached) no
apr: checking command to parse /usr/bin/nm -B output... (cached) ok
apr: checking for dlfcn.h... (cached) yes
apr: checking for ranlib... (cached) ranlib
apr: checking for strip... (cached) strip
apr: checking for objdir... .libs
apr: checking for gcc option to produce PIC... (cached) -fPIC
apr: checking if gcc PIC flag -fPIC works... (cached) yes
apr: checking if gcc static flag -static works... (cached) yes
apr: checking if gcc supports -c -o file.o... (cached) yes
apr: checking if gcc supports -c -o file.lo... (cached) yes
apr: checking if gcc supports -fno-rtti -fno-exceptions... yes
apr: checking whether the linker (/usr/bin/ld) supports shared
libraries... yes
apr: checking how to hardcode library paths into programs... immediate
apr: checking whether stripping libraries is possible... yes
apr: checking dynamic linker characteristics... GNU/Linux ld.so
apr: checking if libtool supports shared libraries... yes
apr: checking whether to build shared libraries... no
apr: checking whether to build static libraries... yes
apr: creating libtool
apr: Check for compiler flags...
apr: checking for res_init in -lresolv... (cached) no
apr: checking for gethostbyname in -lnsl... (cached) yes
apr: checking for library containing gethostname... (cached) none
required
apr: checking for socket in -lsocket... (cached) no
apr: checking for library containing crypt... (cached) -lcrypt
apr: checking for main in -ltruerand... (cached) no
apr: checking for modf in -lm... (cached) yes
apr: Checking for Threads...
apr: APR will be non-threaded
apr: checking for sigsuspend... (cached) yes
apr: checking for sigwait... (cached) yes
apr: checking for poll... (cached) yes
apr: checking for getpwnam_r... (cached) yes
apr: checking for getpwuid_r... (cached) yes
apr: checking for getgrnam_r... (cached) yes
apr: checking for getgrgid_r... (cached) yes
apr: Checking for Shared Memory Support...
apr: checking for sys/mman.h... (cached) yes
apr: checking for MAP_ANON in sys/mman.h... (cached) yes
apr: checking for mmap... (cached) yes
apr: checking for munmap... (cached) yes
apr: checking for shm_open... (cached) no
apr: checking for shm_unlink... (cached) no
apr: checking for /dev/zero... (cached) yes
apr: checking for sys/ipc.h... (cached) yes
apr: checking for sys/shm.h... (cached) yes
apr: checking for sys/file.h... (cached) yes
apr: checking for shmget... (cached) yes
apr: checking for shmat... (cached) yes
apr: checking for shmdt... (cached) yes
apr: checking for shmctl... (cached) yes
apr: checking for kernel/OS.h... (cached) no
apr: checking for create_area... (cached) no
apr: checking for os2.h... (cached) no
apr: checking for mmap that can map /dev/zero... yes
apr: decision on anonymous shared memory allocation method...
4.4BSD-style mmap() via MAP_ANON
apr: decision on namebased memory allocation method... SysV IPC
shmget()
apr: checking for alloca... (cached) no
apr: checking for calloc... (cached) yes
apr: checking for strcasecmp... (cached) yes
apr: checking for stricmp... (cached) no
apr: checking for setsid... (cached) yes
apr: checking for isinf... (cached) yes
apr: checking for isnan... (cached) yes
apr: checking for setrlimit... (cached) yes
apr: checking for getrlimit... (cached) yes
apr: checking for writev... (cached) yes
apr: checking for sendfilev in -lsendfile... (cached) no
apr: checking for sendfile... (cached) yes
apr: checking for send_file... (cached) no
apr: checking for sendfilev... (cached) no
apr: checking for sigaction... (cached) yes
apr: checking for sys_siglist declaration in signal.h or
unistd.h... (cached) yes
apr: checking for fork... (cached) yes
apr: checking for getpass... (cached) yes
apr: checking for inet_addr... (cached) yes
apr: checking for inet_network... (cached) yes
apr: checking for _getch... (cached) no
apr: checking for gmtime_r... (cached) yes
apr: checking for localtime_r... (cached) yes
apr: checking for strerror_r... (cached) yes
apr: checking for type of return code from strerror_r... pointer
apr: checking for crypt_r... (cached) yes
apr: checking style of crypt_r... (cached) struct_crypt_data_gnu_source
apr: adding "-D_GNU_SOURCE" to CPPFLAGS
apr: checking for mmap... (cached) yes
apr: checking for hstrerror... (cached) yes
apr: checking for memmove... (cached) yes
apr: checking for mkstemp... (cached) yes
apr: checking whether sigwait takes one argument... (cached) no
apr: checking for ANSI C header files... (cached) yes
apr: checking for ByteOrder.h... (cached) no
apr: checking for conio.h... (cached) no
apr: checking for crypt.h... (cached) yes
apr: checking for ctype.h... (cached) yes
apr: checking for dir.h... (cached) no
apr: checking for dirent.h... (cached) yes
apr: checking for dl.h... (cached) no
apr: checking for dlfcn.h... (cached) yes
apr: checking for errno.h... (cached) yes
apr: checking for fcntl.h... (cached) yes
apr: checking for grp.h... (cached) yes
apr: checking for io.h... (cached) no
apr: checking for limits.h... (cached) yes
apr: checking for mach-o/dyld.h... (cached) no
apr: checking for malloc.h... (cached) yes
apr: checking for memory.h... (cached) yes
apr: checking for netdb.h... (cached) yes
apr: checking for osreldate.h... (cached) no
apr: checking for poll.h... (cached) yes
apr: checking for process.h... (cached) no
apr: checking for pwd.h... (cached) yes
apr: checking for semaphore.h... (cached) yes
apr: checking for signal.h... (cached) yes
apr: checking for stdarg.h... (cached) yes
apr: checking for stddef.h... (cached) yes
apr: checking for stdio.h... (cached) yes
apr: checking for stdlib.h... (cached) yes
apr: checking for string.h... (cached) yes
apr: checking for strings.h... (cached) yes
apr: checking for sysapi.h... (cached) no
apr: checking for sysgtime.h... (cached) no
apr: checking for termios.h... (cached) yes
apr: checking for time.h... (cached) yes
apr: checking for tpfeq.h... (cached) no
apr: checking for tpfio.h... (cached) no
apr: checking for unistd.h... (cached) yes
apr: checking for unix.h... (cached) no
apr: checking for arpa/inet.h... (cached) yes
apr: checking for kernel/OS.h... (cached) no
apr: checking for net/errno.h... (cached) no
apr: checking for netinet/in.h... (cached) yes
apr: checking for sys/file.h... (cached) yes
apr: checking for sys/mman.h... (cached) yes
apr: checking for sys/poll.h... (cached) yes
apr: checking for sys/resource.h... (cached) yes
apr: checking for sys/select.h... (cached) yes
apr: checking for sys/sem.h... (cached) yes
apr: checking for sys/sendfile.h... (cached) yes
apr: checking for sys/signal.h... (cached) yes
apr: checking for sys/socket.h... (cached) yes
apr: checking for sys/stat.h... (cached) yes
apr: checking for sys/sysctl.h... (cached) yes
apr: checking for sys/syslimits.h... (cached) no
apr: checking for sys/time.h... (cached) yes
apr: checking for sys/types.h... (cached) yes
apr: checking for sys/uio.h... (cached) yes
apr: checking for sys/un.h... (cached) yes
apr: checking for sys/wait.h... (cached) yes
apr: checking for netinet/tcp.h... yes
apr: checking for h_errno in netdb.h... (cached) yes
apr: checking for off_t... (cached) yes
apr: checking for pid_t... (cached) yes
apr: checking for size_t... (cached) yes
apr: checking for uid_t in sys/types.h... (cached) yes
apr: checking for ssize_t... (cached) yes
apr: checking for inline... (cached) inline
apr: checking for working const... (cached) yes
apr: checking for size_t... (cached) yes
apr: checking whether setpgrp takes no argument... (cached) yes
apr: checking for socklen_t... (cached) yes
apr: checking whether system defines INADDR_NONE... (cached) yes
apr: checking size of char... (cached) 1
apr: checking size of int... (cached) 4
apr: checking size of long... (cached) 4
apr: checking size of short... (cached) 2
apr: checking size of long double... (cached) 12
apr: checking size of long long... (cached) 8
apr: checking for INT64_C... no
apr: checking for INT64_C in stdint.h... (cached) no
apr: checking size of ssize_t... (cached) 4
apr: checking size of size_t... (cached) 4
apr: checking size of off_t... (cached) 4
apr: checking size of pid_t... (cached) 4
apr: checking for strnicmp... (cached) no
apr: checking for strncasecmp... (cached) yes
apr: checking for stricmp... (cached) no
apr: checking for strcasecmp... (cached) yes
apr: checking for strdup... (cached) yes
apr: checking for strstr... (cached) yes
apr: checking for memchr... (cached) yes
apr: checking for strtoll... (cached) yes
apr: Checking for DSO...
apr: checking for NSLinkModule... (cached) no
apr: checking for dlopen in -ldl... (cached) yes
apr: adding "-ldl" to LIBS
apr: Checking for Processes...
apr: checking for waitpid... (cached) yes
apr: checking for Variable Length Arrays... yes
apr: checking struct rlimit... (cached) yes
apr: Checking for Locking...
apr: checking for semget... (cached) yes
apr: checking for semctl... (cached) yes
apr: checking for flock... (cached) yes
apr: checking for semaphore.h... (cached) yes
apr: checking for sem_close... (cached) no
apr: checking for sem_unlink... (cached) no
apr: checking for sem_post... (cached) no
apr: checking for sem_wait... (cached) no
apr: checking for working sem_open... (cached) no
apr: checking for union semun in sys/sem.h... no
apr: checking for LOCK_EX in sys/file.h... (cached) yes
apr: checking for F_SETLK in fcntl.h... (cached) yes
apr: checking for SEM_UNDO in sys/sem.h... (cached) yes
apr: checking for POLLIN in poll.h sys/poll.h... (cached) yes
apr: decision on apr_lock implementation method... SysV IPC semget()
apr: checking if all interprocess locks affect threads... no
apr: checking if Posix sems affect threads in the same process... no
apr: checking if SysV sems affect threads in the same process... no
apr: checking if fcntl locks affect threads in the same process... no
apr: checking if flock locks affect threads in the same process... no
apr: checking for entropy source... /dev/random
apr: Checking for Time Support...
apr: checking for tm_gmtoff in struct tm... (cached) yes
apr: Checking for Networking support...
apr: checking for in_addr in netinet/in.h... yes
apr: checking if fd == socket on this platform... yes
apr: checking for sockaddr sa_len... (cached) no
apr: checking style of gethostbyname_r routine... (cached) glibc2
apr: checking 3rd argument to the gethostbyname_r routines...
(cached) char
apr: checking if TCP_NODELAY setting is inherited from listening
sockets... (cached) yes
apr: checking if O_NONBLOCK setting is inherited from listening
sockets... (cached) no
apr: checking for TCP_CORK in netinet/tcp.h... (cached) yes
apr: checking for TCP_NOPUSH in netinet/tcp.h... (cached) no
apr: checking for SO_ACCEPTFILTER in sys/socket.h... (cached) no
apr: checking for set_h_errno... (cached) no
apr: checking for presence of retrans/retry fields in
res_state/resolv.h ... (cached) yes
apr: Checking for IPv6 Networking support...
apr: checking for library containing getaddrinfo... (cached) none
required
apr: checking for library containing gai_strerror... (cached) none
required
apr: checking for library containing getnameinfo... (cached) none
required
apr: checking for gai_strerror... (cached) yes
apr: checking for working getaddrinfo... (cached) yes
apr: checking for negative error codes for getaddrinfo... (cached) yes
apr: checking for working getnameinfo... (cached) yes
apr: checking for sockaddr_in6... (cached) yes
apr: checking if APR supports IPv6... yes
apr: Restore user-defined environment settings...
apr: restoring CPPFLAGS to ""
apr: setting EXTRA_CPPFLAGS to "-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"
apr: restoring CFLAGS to ""
apr: setting EXTRA_CFLAGS to "-g -O2"
apr: restoring LDFLAGS to ""
apr: setting EXTRA_LDFLAGS to ""
apr: restoring LIBS to ""
apr: setting EXTRA_LIBS to "-lm -lcrypt -lnsl -ldl"
apr: restoring INCLUDES to ""
apr: setting EXTRA_INCLUDES to ""
apr: Construct Makefiles and header files.
apr: updating cache ./config.cache
apr: creating ./config.status
apr: creating Makefile
apr: creating strings/Makefile
apr: creating passwd/Makefile
apr: creating tables/Makefile
apr: creating build/Makefile
apr: creating file_io/unix/Makefile
apr: creating network_io/unix/Makefile
apr: creating threadproc/unix/Makefile
apr: creating misc/unix/Makefile
apr: creating locks/unix/Makefile
apr: creating time/unix/Makefile
apr: creating mmap/unix/Makefile
apr: creating shmem/unix/Makefile
apr: creating user/unix/Makefile
apr: creating memory/unix/Makefile
apr: creating atomic/unix/Makefile
apr: creating poll/unix/Makefile
apr: creating support/unix/Makefile
apr: creating dso/unix/Makefile
apr: creating test/Makefile
apr: creating include/apr.h
apr: creating build/rules.mk
apr: creating apr-config
apr: creating include/arch/unix/apr_private.h
execution of "./configure --enable-static --disable-shared
--disable-threads
--libdir=/home/user/jakarta-tomcat-connectors-4.0.4-src/webapp/objects"
returned with value "0"
+ checking for proper command execution... ok (0)
+ checking for apr CC variable... error
configure: error: cannot find APRVARS file in
/home/user/jakarta-tomcat-connectors-4.0.4-src/webapp/apr
--
+-------------------------------------- mailto:paulr@tc.umn.edu ----+
| Paul M Rubenis - System Administrator |
| Phone: (612) 624-8337 |
| Fax: (612) 625-6853 |
+-------------------------------------------------------------------+
| Any connection between your reality and mine is purely |
| coincidental. |
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>