>  -----Original Message-----
> From:         Kairam, Raj  
> Sent: Thursday, April 12, 2001 9:02 AM
> To:   '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
> Cc:   Kairam, Raj
> Subject:      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/depen
> d/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 
> 
... Bootstrapping Ant Distribution
... Compiling Ant Classes
... Copying Required Files
... Building Ant Distribution
Buildfile: build.xml

bootstrap:

prepare:

check_for_optional_packages:

build:
    [mkdir] Created dir: /opt/jakarta-ant-1.3/build/lib
    [javac] Compiling 42 source files to /opt/jakarta-ant-1.3/build/classes
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/ClassFile.java:81:
 cannot resolve symbol
    [javac] symbol  : class ConstantPool  
    [javac] location: class org.apache.tools.ant.taskdefs.optional.depend.ClassFile
    [javac]     private ConstantPool constantPool;
    [javac]             ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/ClassCPInfo.java:64:
 cannot resolve symbol
    [javac] symbol  : class ConstantPoolEntry  
    [javac] location: class 
org.apache.tools.ant.taskdefs.optional.depend.constantpool.ClassCPInfo
    [javac] public class ClassCPInfo extends ConstantPoolEntry {
    [javac]                                  ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/ClassCPInfo.java:112:
 cannot resolve symbol
    [javac] symbol  : class ConstantPool  
    [javac] location: class 
org.apache.tools.ant.taskdefs.optional.depend.constantpool.ClassCPInfo
    [javac]     public void resolve(ConstantPool constantPool) {
    [javac]                         ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/FloatCPInfo.java:63:
 cannot resolve symbol
    [javac] symbol  : class ConstantCPInfo  
    [javac] location: class 
org.apache.tools.ant.taskdefs.optional.depend.constantpool.FloatCPInfo
    [javac] public class FloatCPInfo extends ConstantCPInfo {
    [javac]                                  ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/LongCPInfo.java:63:
 cannot resolve symbol
    [javac] symbol  : class ConstantCPInfo  
    [javac] location: class 
org.apache.tools.ant.taskdefs.optional.depend.constantpool.LongCPInfo
    [javac] public class LongCPInfo extends ConstantCPInfo {
    [javac]                                 ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/Utf8CPInfo.java:64:
 cannot resolve symbol
    [javac] symbol  : class ConstantPoolEntry  
    [javac] location: class 
org.apache.tools.ant.taskdefs.optional.depend.constantpool.Utf8CPInfo
    [javac] public class Utf8CPInfo extends ConstantPoolEntry {
    [javac]                                 ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java:202:
 cannot resolve symbol
    [javac] symbol  : class WeblogicTOPLinkDeploymentTool  
    [javac] location: class org.apache.tools.ant.taskdefs.optional.ejb.EjbJar
    [javac]     public WeblogicTOPLinkDeploymentTool createWeblogictoplink() {
    [javac]            ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/ClassFile.java:115:
 cannot resolve symbol
    [javac] symbol  : class ConstantPool  
    [javac] location: class org.apache.tools.ant.taskdefs.optional.depend.ClassFile
    [javac] 
    [javac]                            ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/ClassFile.java:135:
 cannot resolve symbol
    [javac] symbol  : class ConstantPoolEntry  
    [javac] location: class org.apache.tools.ant.taskdefs.optional.depend.ClassFile
    [javac] 
    [javac]             ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/ClassFile.java:137:
 cannot resolve symbol
    [javac] symbol  : variable ConstantPoolEntry  
    [javac] location: class org.apache.tools.ant.taskdefs.optional.depend.ClassFile
    [javac] 
    [javac]                                                    ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/ClassCPInfo.java:85:
 cannot resolve symbol
    [javac] symbol  : variable CONSTANT_Class  
    [javac] location: class 
org.apache.tools.ant.taskdefs.optional.depend.constantpool.ClassCPInfo
    [javac] 
    [javac]               ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/ClassCPInfo.java:115:
 cannot resolve symbol
    [javac] symbol  : variable super  
    [javac] location: class 
org.apache.tools.ant.taskdefs.optional.depend.constantpool.ClassCPInfo
    [javac] 
    [javac]         ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/FloatCPInfo.java:70:
 cannot resolve symbol
    [javac] symbol  : variable CONSTANT_Float  
    [javac] location: class 
org.apache.tools.ant.taskdefs.optional.depend.constantpool.FloatCPInfo
    [javac] 
    [javac]               ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/FloatCPInfo.java:81:
 cannot resolve symbol
    [javac] symbol  : method setValue  (java.lang.Float)
    [javac] location: class 
org.apache.tools.ant.taskdefs.optional.depend.constantpool.FloatCPInfo
    [javac] 
    [javac]         ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/FloatCPInfo.java:90:
 cannot resolve symbol
    [javac] symbol  : method getValue  ()
    [javac] location: class 
org.apache.tools.ant.taskdefs.optional.depend.constantpool.FloatCPInfo
    [javac] 
    [javac]                                                ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/LongCPInfo.java:70:
 cannot resolve symbol
    [javac] symbol  : variable CONSTANT_Long  
    [javac] location: class 
org.apache.tools.ant.taskdefs.optional.depend.constantpool.LongCPInfo
    [javac] 
    [javac]               ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/LongCPInfo.java:81:
 cannot resolve symbol
    [javac] symbol  : method setValue  (java.lang.Long)
    [javac] location: class 
org.apache.tools.ant.taskdefs.optional.depend.constantpool.LongCPInfo
    [javac] 
    [javac]         ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/LongCPInfo.java:90:
 cannot resolve symbol
    [javac] symbol  : method getValue  ()
    [javac] location: class 
org.apache.tools.ant.taskdefs.optional.depend.constantpool.LongCPInfo
    [javac] 
    [javac]                                               ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/Utf8CPInfo.java:72:
 cannot resolve symbol
    [javac] symbol  : variable CONSTANT_Utf8  
    [javac] location: class 
org.apache.tools.ant.taskdefs.optional.depend.constantpool.Utf8CPInfo
    [javac] 
    [javac]               ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java:203:
 cannot resolve symbol
    [javac] symbol  : class WeblogicTOPLinkDeploymentTool  
    [javac] location: class org.apache.tools.ant.taskdefs.optional.ejb.EjbJar
    [javac] 
    [javac]         ^
    [javac] 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java:203:
 cannot resolve symbol
    [javac] symbol  : class WeblogicTOPLinkDeploymentTool  
    [javac] location: class org.apache.tools.ant.taskdefs.optional.ejb.EjbJar
    [javac] 
    [javac]                                                  ^
    [javac] Note: 
/opt/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/optional/PropertyFile.java 
uses or overrides a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 21 errors

Total time: 1 minute 16 seconds
... Cleaning Up Build Directories
... Done Bootstrapping Ant Distribution

Reply via email to