You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Michel Benevento <mi...@clockwork.nl> on 2003/09/09 11:34:51 UTC

v2.1 Mac OS X installation does not work

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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: v2.1 Mac OS X installation DOES work

Posted by Bertrand Delacretaz <bd...@codeconsult.ch>.
Le Mercredi, 10 sep 2003, à 10:30 Europe/Zurich, Michel Benevento a 
écrit :

> I think this should be in the docs somewhere:

Added at the end of http://wiki.cocoondev.org/Wiki.jsp?page=FAQs - 
thanks!

-Bertrand

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: v2.1 Mac OS X installation DOES work

Posted by Michel Benevento <mi...@clockwork.nl>.
People,

I think this should be in the docs somewhere:

The answer to this problem is to unpack the archive with 'gnutar'  
instead of 'tar'. Using Mac OS X's default tar (which is BSD tar I  
presume) produces a corrupted filename somehwere, causing the whole  
process to fall over. Using gnutar makes everything go smooooth.

Perhaps this is common knowledge amongst people here, but I (and I  
suspect most other Mac OS X users) never heard of this fenomenon.  
Luckily gnutar is also installed on Mac OS X.

I found my answer here:
http://archives.real-time.com/pipermail/cocoon-users/2002-August/ 
021132.html

So long,
Michel

On Tuesday, September 9, 2003, at 03:58 PM, Martin Dulisch wrote:

> Michel Benevento wrote:
>> Martin,
>>
>> Can you please give me an detailed explanation of exactly what
>> you have installed and how you installed it (i am especially
>> unsure about my Ant configuration). I am sure I have all the
>> right downloads, by the way.
>>
>
> I have no ant installed. I use the ant version from cocoon.
>
> Make sure that you call the build over the build.sh script. Do
> not call ant directly with the build.xml from cocoon.
>
> Martin
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: v2.1 Mac OS X installation does not work

Posted by Martin Dulisch <md...@s-und-n.de>.
Michel Benevento wrote:
> Martin,
>
> Can you please give me an detailed explanation of exactly what
> you have installed and how you installed it (i am especially
> unsure about my Ant configuration). I am sure I have all the
> right downloads, by the way.
>

I have no ant installed. I use the ant version from cocoon.

Make sure that you call the build over the build.sh script. Do
not call ant directly with the build.xml from cocoon.

Martin




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: v2.1 Mac OS X installation does not work

Posted by Michel Benevento <mi...@clockwork.nl>.
Martin,

Can you please give me an detailed explanation of exactly what you have 
installed and how you installed it (i am especially unsure about my Ant 
configuration). I am sure I have all the right downloads, by the way.

Thanks,
Michel

On Tuesday, September 9, 2003, at 12:28 PM, Martin Dulisch wrote:

> Hi Michel,
>
> I yesterday downloaded Cocoon 2.1.1. Build worked out of the box
> with OS X.
> Have you downloaded the unix version of the distribution?
> I am using the included Jetty. And it works.
>
> JAVA_HOME is set to
> /System/Library/Frameworks/JavaVM.framework/Home
>
> Martin
>
>
> Michel Benevento wrote:
>> 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/flo
> w/
>> 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;
>>              ^


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: v2.1 Mac OS X installation does not work

Posted by Martin Dulisch <md...@s-und-n.de>.
Hi Michel,

I yesterday downloaded Cocoon 2.1.1. Build worked out of the box
with OS X.
Have you downloaded the unix version of the distribution?
I am using the included Jetty. And it works.

JAVA_HOME is set to
/System/Library/Frameworks/JavaVM.framework/Home

Martin


Michel Benevento wrote:
> 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/flo
w/
> 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/flo
w/
> 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/lan
guage/
> 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/pip
eline/
> impl/CachingProcessingPipeline.java:142: cannot resolve symbol
> symbol  : variable super
> location: class
>
org.apache.cocoon.components.pipeline.impl.CachingProcessingPipel
ine
>                      next = super.lastConsumer;
>                             ^
>
/usr/local/cocoon-2.1.1/src/java/org/apache/cocoon/components/pip
eline/
> 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.CachingProcessingPipel
ine
>                      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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org