Hello,

I have been trying to install Cocoon 2.1.1 on a Mac OS X with the following installed:

Mac OS X 10.2.6 (Java 1.4.1_01) - problems were also present with Java 1.4.1
Tomcat 4.1.27
Ant 1.5.4


I have tried to set JAVA_HOME to /usr and
/System/Library/Frameworks/JavaVM.framework/Home

I ahve copied cocoon-2.1.1/lib/endorsed/* to $TOMCAT_HOME/common/endorsed

When I run ./build.sh it produced the following output ending with a 'build failed'. I have no idea how to fix this, please help.

Not sure why the output reports Ant 1.5.3 instead of 1.5.4 which is the only version I ever installed.

Any help is graeatly appreciated, TIA,

Michel Benevento

---------


Apache Cocoon Build System -------------------------- Buildfile: build.xml

prepare:
+-----------------------------------------------------------+
             Apache Cocoon 2.1.1 [1999-2003]
+-----------------------------------------------------------+
 Building with Apache Ant version 1.5.3 compiled on April 16 2003
 using build file /usr/local/cocoon-2.1.1/build.xml
 Compiling with debug on, optimize on, deprecation off
+--------------------| W A R N I N G |----------------------+
   This build is targeted for use with JVM 1.4
 Using this build on a virtual machine other than the one
   it is targeted for may result in runtime errors.
+-----------------------------------------------------------+
Created dir: /usr/local/cocoon-2.1.1/build/cocoon-2.1.1

compile-core:
Copying 60 files to /usr/local/cocoon-2.1.1/build/cocoon-2.1.1/classes
Copied 27 empty directories to /usr/local/cocoon-2.1.1/build/cocoon-2.1.1/classes
Created dir: /usr/local/cocoon-2.1.1/build/cocoon-2.1.1/mocks
Compiling 1 source file to /usr/local/cocoon-2.1.1/build/cocoon-2.1.1/mocks
Compiling 523 source files to /usr/local/cocoon-2.1.1/build/cocoon-2.1.1/classes
/usr/local/cocoon-2.1.1/src/java/org/apache/cocoon/components/flow/ javascript/fom/FOM_Cocoon.java:93: cannot resolve symbol
symbol : class FOM_JavaScriptInterpreter
location: class org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon
private FOM_JavaScriptInterpreter interpreter;
^
/usr/local/cocoon-2.1.1/src/java/org/apache/cocoon/components/flow/ javascript/fom/FOM_Cocoon.java:124: cannot resolve symbol
symbol : class FOM_JavaScriptInterpreter
location: class org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon
void setup(FOM_JavaScriptInterpreter interp,
^
/usr/local/cocoon-2.1.1/src/java/org/apache/cocoon/components/language/ programming/java/Javac.java:72: cannot resolve symbol
symbol : class AbstractJavaCompiler
location: class org.apache.cocoon.components.language.programming.java.Javac
public class Javac extends AbstractJavaCompiler {



<<<SNIP (lots of similar error msgs) >>>



^
/usr/local/cocoon-2.1.1/src/java/org/apache/cocoon/components/pipeline/ impl/CachingProcessingPipeline.java:142: cannot resolve symbol
symbol : variable super
location: class org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline
next = super.lastConsumer;
^
/usr/local/cocoon-2.1.1/src/java/org/apache/cocoon/components/pipeline/ impl/CachingProcessingPipeline.java:147: cannot resolve symbol
symbol : method connect (org.apache.cocoon.environment.Environment,org.apache.cocoon.xml.XMLProd ucer,org.apache.cocoon.xml.XMLConsumer)
location: class org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline
this.connect(environment, prev, next);
^
100 errors


BUILD FAILED
file:/usr/local/cocoon-2.1.1/src/targets/compile-build.xml:39: Compile failed; see the compiler error output for details.


Total time: 39 seconds
-------------


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to