I am runnig the script as root.
The chmod command is failing not because of improper rights but because the
file to be chmod'ed has not been created.
As you can see, the problem is caused by the failure of the build/compile
process.
The causes for compilation failure are unresolved symbols in the java
programs that it uses.
I am still trying to figure it out.
Thanks for the reply.
Raj Kairam
-----Original Message-----
From: Natasa Lazetic [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 13, 2001 1:49 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Build Failure
Your first problem is that "chmod" function is failing. These are the
errors you listed:
chmod: can't access bootstrap/bin/ant
chmod: can't access bootstrap/bin/antRun
So, you need to run the build script as a user that has proper rights to
change properties of "bootstrap/bin/ant" and "bootstrap/bin/antRun"
directories. Super user (root) will definitely work.
... Natasa ...
-----Original Message-----
From: Kairam, Raj [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 6: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/dep
end/
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