#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Chicago, IL USA
    Posts
    48
    Rep Power
    18
    This is my first time compiling ApacheJserv-1.1.2. I'm using JSDK2.0/JDK1.2.2. I can run the configure script fine...

    ./configure
    --prefix=/usr/local/jserv
    --with-apache-src=../apache_1.3.12
    --with-jdk-home=/usr/local/jdk1.2.2
    --with-JSDK=/JSDK2.0/lib/jsdk.jar
    --disable-debugging

    but when I issue the make command and it tries to compile JServ.java I get this error..

    Compiling JServ.java ...
    JServ.java:61: Package javax.servlet not found in import.
    import javax.servlet.*;
    ^
    JServ.java:62: Package javax.servlet.http not found in import.
    import javax.servlet.http.*;
    ^
    JServ.java:80: Superclass org.apache.jserv.HttpServlet of class org.apache.jserv.JServ not found.
    public class JServ extends HttpServlet implements JServLogChannels, JServDefs {
    ^
    3 errors
    make[5]: *** [JServ.class] Error 1
    make[5]: Leaving directory `/tmp/ApacheJServ-1.1.2/src/java/org/apache/jserv'
    make[4]: *** [all-recursive] Error 1
    make[4]: Leaving directory `/tmp/ApacheJServ-1.1.2/src/java/org/apache'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/tmp/ApacheJServ-1.1.2/src/java/org'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/tmp/ApacheJServ-1.1.2/src/java'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/ApacheJServ-1.1.2/src'
    make: *** [all-recursive] Error 1

    ..If you have any insight at all please please reply.
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    Try to add
    --with-servlets=/path/to/servlets (it's a dir)

    Why you installed JSDK to /JSDK2.0 ?

    >>Leaving directory `/tmp/ApacheJServ-1.1.2/src/java/org/apache/jserv'

    Also, try not to put it in /tmp directory unless your /tmp has lots of space. Normally, you should place it in /usr/local/src.

    [This message has been edited by freebsd (edited August 24, 2000).]

IMN logo majestic logo threadwatch logo seochat tools logo