You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Kairam, Raj" <Ka...@coned.com> on 2001/04/12 15:02:14 UTC

Build Failure

I am trying to install and build Tomcat on a HP-UX 11.0 Box without any
success.
This is the environment I am working with.
HOME=/
JAKARTA_HOME=/opt/jakarta
JAVA_HOME=/opt/java1.3
APACHE_HOME=/usr/local/apache
TOMCAT_HOME=/opt/jakarta/dist/tomcat

JAKARTA_TOMCAT_SOURCE=/opt/jakarta-tomcat-3.2.1-src
JAKARTA_ANT_SOURCE=/opt/jakarta-ant-1.3
JAKARTA_SERVLETAPI_SOURCE=/opt/jakarta-servletapi-3.2-src

PATH contains the following ..
:/usr/local/apache/bin:opt/java1.3/bin:/opt/jakarta/dist/tomcat/bin

The two jar files have been downloaded to..
/opt/jakarta-ant-1.3/lib/parser.jar
/opt/jakarta-ant-1.3/lib/jaxp.jar

CLASSPATH is not set explicitly yet..

This is what I have done following the instructions in the README for Tomcat
Servlet Container
(/opt/jakarta-tomcat-3.2.1-src/README) - As recommended there, tried to
bulid the executable
version for ANT first.

cd $JAKARTA_ANT_SOURCE
./bootstrap.sh > redirect.txt

I am getting the following on the screen
BUILD FAILED
/opt/jakarta-ant-1.3/build.xml:171: Compile failed. Messages should have
been provided
chmod: can't access bootstrap/bin/ant
chmod: can't access bootstrap/bin/antRun

The redirect.txt is attached.
 <<redirect.txt>> 
The build fails and the ant.jar is never created.
It looks like there exist a lot of unresolved symbols, for example, the
first error in the attached .txt file
[javac]
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/
ClassFile.java:81:
[javac] symbol : class ConstantPool
[javac] location: class
org.apache.tools.ant.taskdefs.optional.depend.ClassFile
[javac]   private ConstantPool constantPool;
----------------------------------------------------------------------------
-------------------------------/constantpool/ClassCPInfo.java
etc....

But the ClassFile.java does exist.

What is being done for the build process to fail ?.  Please advise.

Thanks
Raj Kairam