----------------------------------------------------------------
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 am using

Linux 6.0 Mandrake
JDK1.2.2
JSDK2.0
ApacheJServ-1.1
apache_1.3.12


I have successfully configured JServ, but the following error
was encountered when doing make.

config log file is attached.

regards
michael


etc.....
etc.....
Making all in jserv
make[5]: Entering directory
`/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv'
Compiling JServ.java ...
JServ.java:171: class org.apache.jserv.JServConnection is an abstract
class. It can't be instantiated.
                JServConnection connection = new JServConnection();
                                             ^
/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServConnection.java:85:
class org.apache.jserv.JServConnection must be declared abstract. It
does not define java.u
til.Enumeration getAttributeNames() from interface
javax.servlet.ServletRequest.
public class JServConnection
             ^
/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServConnection.java:85:
class org.apache.jserv.JServConnection must be declared abstract. It
does not define java.l
ang.String encodeURL(java.lang.String) from interface
javax.servlet.http.HttpServletResponse.
public class JServConnection
             ^
/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServConnection.java:85:
class org.apache.jserv.JServConnection must be declared abstract. It
does not define void s
etAttribute(java.lang.String, java.lang.Object) from interface
javax.servlet.ServletRequest.
public class JServConnection
             ^
/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServConnection.java:85:
class org.apache.jserv.JServConnection must be declared abstract. It
does not define java.l
ang.String encodeRedirectURL(java.lang.String) from interface
javax.servlet.http.HttpServletResponse.
public class JServConnection
    index.html  src/éwLICENSE  Makefile.am  README       acinclude.m4 
conf        config.log    configure      docs          index.html 
srcui[root@kraz conf]# cd
..h?/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServConnection.java:85:
class org.apache.jserv.JServConnection must be declared abstract. It
does not define javax.servlet.http.HttpSession getSession() from
interface javax.servlet.http.HttpServletRequest.
public class JServConnection
             ^
/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServServletManager.java:564:
class org.apache.jserv.JServContext is an abstract class. It can't be
instantiated.
            context = new JServContext(servlet, this, initargs,
(isAlias?name:null));
                      ^
/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServServletManager.java:955:
class org.apache.jserv.JServSession is an abstract class. It can't be
instantiated.
        JServSession s = new JServSession(getIdentifier(route), this);
                         ^
/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does
not define java.util.Enumeration getAttributeNames() from interface
javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does
not define javax.servlet.RequestDispatcher
getRequestDispatcher(java.lang.String) from interface
javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does
not define void removeAttribute(java.lang.String) from interface
javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does
not define javax.servlet.ServletContext getContext(java.lang.String)
from interface javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does
not define int getMinorVersion() from interface
javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does
not define int getMajorVersion() from interface
javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does
not define void setAttribute(java.lang.String, java.lang.Object) from
interface javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does
not define java.io.InputStream getResourceAsStream(java.lang.String)
from interface javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does
not define java.net.URL getResource(java.lang.String) from interface
javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
      ^
/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServSession.java:74:
class org.apache.jserv.JServSession must be declared abstract. It does
not define int getMaxInactiveInterval() from interface
javax.servlet.http.HttpSession.
public class JServSession implements HttpSession, JServLogChannels,
Serializable {
             ^
/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServSession.java:74:
class org.apache.jserv.JServSession must be declared abstract. It does
not define void setMaxInactiveInterval(int) from interface
javax.servlet.http.HttpSession.
public class JServSession implements HttpSession, JServLogChannels,
Serializable {
             ^
Note: 4 files use or override a deprecated API.  Recompile with
"-deprecation" for details.
20 errors, 1 warning
make[5]: *** [JServ.class] Error 1
make[5]: Leaving directory
`/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/usr/local/ApacheJServ-1.1/src/java/org/apache'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/ApacheJServ-1.1/src/java/org'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/ApacheJServ-1.1/src/java'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/ApacheJServ-1.1/src'
make: *** [all-recursive] Error 1
[root@kraz ApacheJServ-1.1]#




This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:783: checking for a BSD compatible install
configure:836: checking whether build environment is sane
configure:893: checking whether make sets ${MAKE}
configure:939: checking for working aclocal
configure:952: checking for working autoconf
configure:965: checking for working automake
configure:978: checking for working autoheader
configure:991: checking for working makeinfo
configure:1082: checking host system type
configure:1103: checking build system type
configure:1123: checking for ranlib
configure:1153: checking for gcc
configure:1266: checking whether the C compiler (gcc  ) works
configure:1282: gcc -o conftest    conftest.c  1>&5
configure:1308: checking whether the C compiler (gcc  ) is a
cross-compiler
configure:1313: checking whether we are using GNU C
configure:1341: checking whether gcc accepts -g
configure:1384: checking for ld used by GCC
configure:1447: checking if the linker (/usr/bin/ld) is GNU ld
configure:1463: checking for BSD-compatible nm
configure:1500: 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
GNU ld version 2.9.1 (with BFD 2.9.1.0.25)
ltconfig:1592: checking if global_symbol_pipe works
ltconfig:1593: gcc -c -g -O2  conftest.c 1>&5
ltconfig:1596: 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:1648: gcc -o conftest -g -O2 -fno-builtin -fno-rtti
-fno-exceptions   conftest.c conftstm.o 1>&5
configure:1684: checking whether make sets ${MAKE}
configure:1723: checking for a BSD compatible install
configure:1776: checking whether ln -s works
configure:1799: checking for gcc
configure:1912: checking whether the C compiler (gcc -g -O2 ) works
configure:1928: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1954: checking whether the C compiler (gcc -g -O2 ) is a
cross-compiler
configure:1959: checking whether we are using GNU C
configure:1987: checking whether gcc accepts -g
configure:2025: checking for echo
configure:2060: checking for find
configure:2095: checking for sed
configure:2130: checking for test
configure:2165: checking for rm
configure:2200: checking for head
configure:2235: checking for tr
configure:2270: checking for grep
configure:2305: checking for cut
configure:2340: checking for touch
configure:2375: checking for cat
configure:2410: checking for cp
configure:2445: checking for make
configure:2480: checking for chmod
configure:2516: checking for GNU make
configure:2546: checking for working const
configure:2600: gcc -c -g -O2  conftest.c 1>&5
configure:2621: checking how to run the C preprocessor
configure:2642: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2701: checking for ANSI C header files
configure:2714: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2781: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2805: checking for mode_t
configure:2838: checking whether time.h and sys/time.h may both be
included
configure:2852: gcc -c -g -O2  conftest.c 1>&5
configure:2873: checking whether struct tm is in sys/time.h or time.h
configure:2886: gcc -c -g -O2  conftest.c 1>&5
configure:2909: checking for ANSI C header files
configure:3015: checking for gettimeofday
configure:3043: gcc -o conftest -g -O2   conftest.c  1>&5
configure:3203: checking for Apache source directory (assume static
build)
configure:3220: checking for Apache include directory
configure:3479: checking for JDK location (please wait)
configure:3580: checking Java platform
configure:3615: checking for false
configure:3653: checking java
configure:3723: checking javac
configure:3793: checking javadoc
configure:3863: checking jar
configure:3932: checking JSDK
configure:4081: checking overview
configure:4263: checking for httpd.h
configure:4273: gcc -E  -I/usr/local/apache_1.3.12//src/include
-I/usr/local/apache_1.3.12//src/os/unix conftest.c >/dev/null
2>conftest.out
configure:4263: checking for http_config.h
configure:4273: gcc -E  -I/usr/local/apache_1.3.12//src/include
-I/usr/local/apache_1.3.12//src/os/unix conftest.c >/dev/null
2>conftest.out
configure:4263: checking for http_core.h
configure:4273: gcc -E  -I/usr/local/apache_1.3.12//src/include
-I/usr/local/apache_1.3.12//src/os/unix conftest.c >/dev/null
2>conftest.out
configure:4263: checking for http_log.h
configure:4273: gcc -E  -I/usr/local/apache_1.3.12//src/include
-I/usr/local/apache_1.3.12//src/os/unix conftest.c >/dev/null
2>conftest.out
configure:4263: checking for http_main.h
configure:4273: gcc -E  -I/usr/local/apache_1.3.12//src/include
-I/usr/local/apache_1.3.12//src/os/unix conftest.c >/dev/null
2>conftest.out
configure:4263: checking for http_protocol.h
configure:4273: gcc -E  -I/usr/local/apache_1.3.12//src/include
-I/usr/local/apache_1.3.12//src/os/unix conftest.c >/dev/null
2>conftest.out
configure:4263: checking for util_script.h
configure:4273: gcc -E  -I/usr/local/apache_1.3.12//src/include
-I/usr/local/apache_1.3.12//src/os/unix conftest.c >/dev/null
2>conftest.out
configure:4263: checking for util_md5.h
configure:4273: gcc -E  -I/usr/local/apache_1.3.12//src/include
-I/usr/local/apache_1.3.12//src/os/unix conftest.c >/dev/null
2>conftest.out
configure:4263: checking for os-inline.c
configure:4273: gcc -E  -I/usr/local/apache_1.3.12//src/include
-I/usr/local/apache_1.3.12//src/os/unix conftest.c >/dev/null
2>conftest.out
configure:4324: checking running of Apache Configuration


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to