----------------------------------------------------------------
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!!!
----------------------------------------------------------------

On Thu, 1 Jun 2000, Henner Zeller wrote:
> Hi,
> ks| # rpm -ihv ApacheJServ-1.1.1-1.i386.rpm
> {...}
> ks| # /etc/rc.d/init.d/httpd restart
> ks| Shutting down http: [  OK  ]
> ks| Starting httpd: Syntax error on line 34 of /etc/httpd/conf/httpd.conf:
> ks| API module structure `jserv_module' in file
/etc/httpd/modules/mod_jserv.so
> ks| is garbled - perhaps this is not an Apache module DSO?
> ks| [FAILED]
> ks| #
> ks| My system is vanilla RedHat 6.1 with Apache 1.3.9 also installed
> ks| via rpm:
> ks| # rpm -q apache
> ks| apache-1.3.9-8
>
> This JServ RPM has been built on a very recent 6.2 RedHat, which uses
> an apache 1.3.12 with EAPI support built in. Either this, or the fact,
> that libc may have changed could be the problem.
>
> I'd suggest to get the source RPM provided at the same location and
> recompile it.
>

I don't have a lot of experience with RPM source packages but I gave it a
shot and got a few errors:

# rpm -ihv /tmp/ApacheJServ-1.1.1-1.src.rpm
ApacheJServ ##################################################
# rpm -ba /usr/src/redhat/SPECS/ApacheJServ.spec

Executing: %prep
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf /tmp/ApacheJServ-1.1.1-root
+ cd /usr/src/redhat/BUILD
+ rm -rf ApacheJServ-1.1.1
+ /bin/gzip -dc /usr/src/redhat/SOURCES/ApacheJServ-1.1.1.tar.gz
+ tar -xvvf -
drwxrwxrwx 501/501           0 2000-05-18 21:01:10 ApacheJServ-1.1.1/

<snip>

+ STATUS=0
+ [ 0 -ne 0 ]
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo Patch #0:
Patch #0:
+ patch -p0 -s
+ sed s|@JSDK_CLASSES@|/home/httpd/classes/servlet-2.0.jar|g
+ mv conf/jserv.properties.in.new conf/jserv.properties.in
+ sed s|@LOAD_OR_NOT@|#|g
+ mv conf/jserv.conf.in.new conf/jserv.conf.in
+ aclocal
+ autoconf
+ automake
+ exit 0
Executing: %build
shell-init: could not get current directory
+ umask 022
+ cd /usr/src/redhat/BUILD
cd_links: could not get current directory
+ cd ApacheJServ-1.1.1
+ make -C classpathx_servlet-20000507 jar_2_0
make: Entering directory
`/usr/src/redhat/BUILD/ApacheJServ-1.1.1/classpathx_servlet-20000507'
cd javax \
&& make clean
make[1]: Entering directory
`/usr/src/redhat/BUILD/ApacheJServ-1.1.1/classpathx_servlet-20000507/javax'
make[2]: Entering directory
`/usr/src/redhat/BUILD/ApacheJServ-1.1.1/classpathx_servlet-20000507/javax/servl
et'
rm -f *.java *.class \
&& cd http \
&& make clean \
&& cd .. \
&& cd jsp \
&& make clean
make[3]: Entering directory
`/usr/src/redhat/BUILD/ApacheJServ-1.1.1/classpathx_servlet-20000507/javax/servl
et/http'
rm -f *.class *.java
make[3]: Leaving directory
`/usr/src/redhat/BUILD/ApacheJServ-1.1.1/classpathx_servlet-20000507/javax/servl
et/http'
make[3]: Entering directory
`/usr/src/redhat/BUILD/ApacheJServ-1.1.1/classpathx_servlet-20000507/javax/servl
et/jsp'
rm -f *.class \
&& cd tagext \
&& make clean
make[4]: Entering directory
`/usr/src/redhat/BUILD/ApacheJServ-1.1.1/classpathx_servlet-20000507/javax/servl
et/jsp/tagext'
rm -f *.class
make[4]: Leaving directory
`/usr/src/redhat/BUILD/ApacheJServ-1.1.1/classpathx_servlet-20000507/javax/servl
et/jsp/tagext'
make[3]: Leaving directory
`/usr/src/redhat/BUILD/ApacheJServ-1.1.1/classpathx_servlet-20000507/javax/servl
et/jsp'
make[2]: Leaving directory
`/usr/src/redhat/BUILD/ApacheJServ-1.1.1/classpathx_servlet-20000507/javax/servl
et'
make[1]: Leaving directory
`/usr/src/redhat/BUILD/ApacheJServ-1.1.1/classpathx_servlet-20000507/javax'
cd util \
&& make GenerateSource.class
make[1]: Entering directory
`/usr/src/redhat/BUILD/ApacheJServ-1.1.1/classpathx_servlet-20000507/util'
jikes +P +Z GenerateSource.java

Found 2 system errors:

*** Error: Could not find package named:
./java/util


*** Error: Could not find package named:
./java/lang


make[1]: *** [GenerateSource.class] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/ApacheJServ-1.1.1/classpathx_s
ervlet-20000507/util'
make: *** [util_classes] Error 2
make: Leaving directory
`/usr/src/redhat/BUILD/ApacheJServ-1.1.1/classpathx_serv
let-20000507'
Bad exit status from /var/tmp/rpm-tmp.4800 (%build)


Any help would be appreciated.

-kristi

______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup



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