Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2002 19:18:30 +0000 (GMT)
From:      Peter Ulrich Kruppa <root@pukruppa.de>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   apache/tomcat/mod_jserve ????
Message-ID:  <20020324183229.N10895-100000@small.pukruppa.de>

next in thread | raw e-mail | index | archive | help
Hi!

I would like to run JAVA-servlets on my (small home) http server.
I am running -STABLE and have got a working apache/2.0.28 .
I installed jakarta-tomcat from ports, which i can startup and
shutdown.
I put an include line to my http.conf wich points to tomcat.conf
and when want to restart httpd, it fails with
                 ------------------------------
Syntax error on line 13 of
/usr/local/jakarta-tomcat3.2.4/conf/tomcat.conf:
Cannot load /usr/local/libexec/mod_jserv.so into server: Cannot
open "/usr/local/libexec/mod_jserv.so"
                 ------------------------------

So I tried to build the apache_jserv port which failed with
                -------------------------------
                             .
                             .
                             .
===>  Configuring for apache-jserv-1.1.2_1
loading cache ./config.cache
Configuring ApacheJServ/1.1.2
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether /usr/local/bin/gmake sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i386-portbld-freebsd4.5
checking build system type... i386-portbld-freebsd4.5
checking for ranlib... (cached) ranlib
checking for gcc... (cached) cc
checking whether the C compiler (cc -O -pipe  ) works... yes
checking whether the C compiler (cc -O -pipe  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... yes
checking if cc static flag -static works... -static
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/libexec/elf/ld option to reload object files... -r
checking dynamic linker characteristics... freebsd4.5 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
updating cache ./config.cache
loading cache ./config.cache
checking whether /usr/local/bin/gmake sets ${MAKE}... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln -s works... (cached) yes
checking for gcc... (cached) cc
checking whether the C compiler (cc -O -pipe  ) works... yes
checking whether the C compiler (cc -O -pipe  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for echo... /bin/echo
checking for find... /usr/bin/find
checking for sed... /usr/bin/sed
checking for test... /bin/test
checking for rm... /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... /bin/cat
checking for cp... /bin/cp
checking for make... /usr/local/bin/gmake
checking for chmod... /bin/chmod
checking for GNU make... GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
/usr/local/bin/gmake
checking for working const... yes
checking how to run the C preprocessor... cc -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
/usr/local/sbin/apxs, assume Apache 1.3 with DSO support
checking for Apache installation directory (assume shared build)... /usr/local
checking for Apache include directory... /usr/local/include/apache
checking for Apache configuration directory... /usr/local/etc/apache/jserv
checking for Apache library directory... /usr/local/libexec/apache
checking for Apache layout consistency... verified
checking for JDK location (please wait)... /usr/local/jdk1.1.8
checking Java platform... forced Java 1
checking for false... /usr/bin/false
checking java... /usr/local/jdk1.1.8/bin/java
checking javac... /usr/local/jdk1.1.8/bin/javac
checking javadoc... /usr/local/jdk1.1.8/bin/javadoc
checking jar... /usr/local/jdk1.1.8/bin/jar
checking JSDK... /usr/local/share/java/classes/jsdk.jar
checking overview... disabled
...Enabling EAPI Support...
checking for httpd.h... yes
checking for http_config.h... yes
checking for http_core.h... yes
checking for http_log.h... yes
checking for http_main.h... yes
checking for http_protocol.h... yes
checking for util_script.h... yes
checking for util_md5.h... yes
checking for os-inline.c... no
===>  Script "configure" failed: here are the contents of "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 /usr/local/bin/gmake 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 (cc -O -pipe  ) works
configure:1283: cc -o conftest -O -pipe    conftest.c  1>&5
configure:1309: checking whether the C compiler (cc -O -pipe  ) is a cross-compiler
configure:1314: checking whether we are using GNU C
configure:1342: checking whether cc accepts -g
configure:1385: checking for ld used by GCC
configure:1448: checking if the linker (/usr/libexec/elf/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: cc -c -O -pipe   conftest.c 1>&5
ltconfig:776: checking if cc PIC flag -fPIC works
ltconfig:777: cc -c -O -pipe  -fPIC -DPIC  conftest.c 1>&5
ltconfig:829: checking if cc supports -c -o file.o
ltconfig:830: cc -c -O -pipe  -o out/conftest2.o  conftest.c 1>&5
ltconfig:862: checking if cc supports -c -o file.lo
ltconfig:863: cc -c -O -pipe  -c -o conftest.lo  conftest.c 1>&5
ltconfig:914: checking if cc supports -fno-rtti -fno-exceptions
ltconfig:915: cc -c -O -pipe  -fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
ltconfig:958: checking if cc static flag -static works
ltconfig:959: cc -o conftest -O -pipe    -static conftest.c  1>&5
GNU ld version 2.11.2 20010719 [FreeBSD] (with BFD 2.11.2 20010719 [FreeBSD])
ltconfig:1635: checking if global_symbol_pipe works
ltconfig:1636: cc -c -O -pipe   conftest.c 1>&5
ltconfig:1639: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ 	]\([ABCDGISTW]\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1691: cc -o conftest -O -pipe  -fno-builtin -fno-rtti -fno-exceptions   conftest.c conftstm.o 1>&5
configure:1685: checking whether /usr/local/bin/gmake 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 (cc -O -pipe  ) works
configure:1929: cc -o conftest -O -pipe    conftest.c  1>&5
configure:1955: checking whether the C compiler (cc -O -pipe  ) is a cross-compiler
configure:1960: checking whether we are using GNU C
configure:1988: checking whether cc 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: cc -c -O -pipe   conftest.c 1>&5
configure:2622: checking how to run the C preprocessor
configure:2643: cc -E  conftest.c >/dev/null 2>conftest.out
configure:2702: checking for ANSI C header files
configure:2715: cc -E  conftest.c >/dev/null 2>conftest.out
configure:2782: cc -o conftest -O -pipe    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: cc -c -O -pipe   conftest.c 1>&5
configure:2874: checking whether struct tm is in sys/time.h or time.h
configure:2887: cc -c -O -pipe   conftest.c 1>&5
configure:2910: checking for ANSI C header files
configure:3016: checking for gettimeofday
configure:3044: cc -o conftest -O -pipe    conftest.c  1>&5
configure:3251: checking for apxs
configure:3285: checking for perl
configure:3346: checking for Apache installation directory (assume shared build)
configure:3351: checking for Apache include directory
configure:3356: checking for Apache configuration directory
configure:3361: checking for Apache library directory
configure:3374: checking for Apache layout consistency
configure:3485: checking for JDK location (please wait)
configure:3593: checking Java platform
configure:3621: checking for false
configure:3659: checking java
configure:3729: checking javac
configure:3799: checking javadoc
configure:3869: checking jar
configure:3938: checking JSDK
configure:4087: checking overview
configure:4269: checking for httpd.h
configure:4279: cc -E  -I/usr/local/include/apache conftest.c >/dev/null 2>conftest.out
configure:4269: checking for http_config.h
configure:4279: cc -E  -I/usr/local/include/apache conftest.c >/dev/null 2>conftest.out
configure:4269: checking for http_core.h
configure:4279: cc -E  -I/usr/local/include/apache conftest.c >/dev/null 2>conftest.out
configure:4269: checking for http_log.h
configure:4279: cc -E  -I/usr/local/include/apache conftest.c >/dev/null 2>conftest.out
configure:4269: checking for http_main.h
configure:4279: cc -E  -I/usr/local/include/apache conftest.c >/dev/null 2>conftest.out
configure:4269: checking for http_protocol.h
configure:4279: cc -E  -I/usr/local/include/apache conftest.c >/dev/null 2>conftest.out
configure:4269: checking for util_script.h
configure:4279: cc -E  -I/usr/local/include/apache conftest.c >/dev/null 2>conftest.out
configure:4269: checking for util_md5.h
configure:4279: cc -E  -I/usr/local/include/apache conftest.c >/dev/null 2>conftest.out
configure:4269: checking for os-inline.c
configure:4279: cc -E  -I/usr/local/include/apache conftest.c >/dev/null 2>conftest.out
configure:4275: os-inline.c: No such file or directory
configure: failed program was:
#line 4274 "configure"
#include "confdefs.h"
#include <os-inline.c>
(end of "config.log")
*** Error code 1

Stop in /usr/ports/www/apache-jserv.
*** Error code 1
                         ------------------------------

What can I do now?

Regards,

Uli.


*-----------------------------------*
*        Peter Ulrich Kruppa        *
*          -  Wuppertal -           *
*              Germany              *
*-----------------------------------*


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020324183229.N10895-100000>