You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Daniel Brüßler <ma...@danielbruessler.de> on 2010/10/11 15:00:08 UTC

build-problem with Lenya2.0.3 , patches/bug45488.patch

Hello,

I tried to build lenya, but ant is not building correctly. What is wrong?

- I'm running Java5 update 22 (because Java6 didn't work) and set "1.5"
in local.build.properties
- I'm using the ant in $LENYA_HOME/tools/bin (version 1.7.1)
- there are no double libraries in other versions in the class path of
xerces, xalan, and so on
- I downloaded the .tar.gz Version for Lenya 2.0.3 and set the
environment variables
- that file "patches/bug45488.patch" is in
/d/REPOS/java/lenya203src/src/modules/kupu/patches
  and in
/d/REPOS/java/lenya203src/build/lenya/webapp/lenya/modules/kupu/patches
- all files have the same permissions (774)
- I was running the build.sh within the $LENYA_HOME folder

------------

BUILD FAILED
/d/REPOS/java/lenya203src/src/targets/webapp-build.xml:174: The following error occurred while executing this line:
/d/REPOS/java/lenya203src/src/targets/modules-build.xml:74: The following error occurred while executing this line:
/d/REPOS/java/lenya203src/build/lenya/temp/modules-build.xml:2592: The following error occurred while executing this line:
/d/REPOS/java/lenya203src/src/modules/kupu/build.xml:21: java.io.IOException: java.io.IOException: patch: not found

(contents of the files see attachment)
------------

What might be wrong? Or how do I have to move the file
"patches/bug45488.patch", so that the ant-script works?

Cheers!
Daniel

:: TEL    +49 (0)911 - 815 90 30 (office)
:: Daniel Bruessler - Emilienstr. 10 - 90489 Nuernberg



Re: build-problem with Lenya2.0.3 , patches/bug45488.patch

Posted by Daniel Brüßler <ma...@danielbruessler.de>.
Hello Rainer,

I wrote the needed changes as bugtracker-item.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50111

Cheers!
Daniel

> Hello Daniel,
>
> sorry for not replying earlier.
>
>  > ah yes, now building works with the original version of lenya. Thanks!
>
> Good!
>
>  > How can we get this info into the installation-documentation-text? Shall
>  > I add an entry in the bugtracker or is there a wikipage for that?
>
> Add an entry in the bugtracker, please. 
>
>  Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: build-problem with Lenya2.0.3 , patches/bug45488.patch

Posted by Rainer Schöpf <ra...@gmx.net>.
Hello Daniel,

sorry for not replying earlier.

 > ah yes, now building works with the original version of lenya. Thanks!

Good!

 > How can we get this info into the installation-documentation-text? Shall
 > I add an entry in the bugtracker or is there a wikipage for that?

Add an entry in the bugtracker, please. 

 Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: build-problem with Lenya2.0.3 , patches/bug45488.patch

Posted by Daniel Brüßler <ma...@danielbruessler.de>.
Hello Rainer,

ah yes, now building works with the original version of lenya. Thanks!

How can we get this info into the installation-documentation-text? Shall
I add an entry in the bugtracker or is there a wikipage for that?

Cheers!
Daniel
> On Mon, 11 Oct 2010 at 15:00 +0200, Daniel Brüßler wrote:
>
>  > Hello,
>  > 
>  > I tried to build lenya, but ant is not building correctly. What is wrong?
>  > 
>  > - I'm running Java5 update 22 (because Java6 didn't work) and set "1.5"
>  > in local.build.properties
>  > - I'm using the ant in $LENYA_HOME/tools/bin (version 1.7.1)
>  > - there are no double libraries in other versions in the class path of
>  > xerces, xalan, and so on
>  > - I downloaded the .tar.gz Version for Lenya 2.0.3 and set the
>  > environment variables
>  > - that file "patches/bug45488.patch" is in
>  > /d/REPOS/java/lenya203src/src/modules/kupu/patches
>  >   and in
>  > /d/REPOS/java/lenya203src/build/lenya/webapp/lenya/modules/kupu/patches
>  > - all files have the same permissions (774)
>  > - I was running the build.sh within the $LENYA_HOME folder
>  > 
>  > ------------
>  > 
>  > BUILD FAILED
>  > /d/REPOS/java/lenya203src/src/targets/webapp-build.xml:174: The following error occurred while executing this line:
>  > /d/REPOS/java/lenya203src/src/targets/modules-build.xml:74: The following error occurred while executing this line:
>  > /d/REPOS/java/lenya203src/build/lenya/temp/modules-build.xml:2592: The following error occurred while executing this line:
>  > /d/REPOS/java/lenya203src/src/modules/kupu/build.xml:21: java.io.IOException: java.io.IOException: patch: not found
>
> You need to install the Ubuntu package "patch", e.g.
>
>  apt-get install patch
>
>  Rainer
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: build-problem with Lenya2.0.3 , patches/bug45488.patch

Posted by Anish Sneh <an...@googlemail.com>.
Thanks Rainer you rock......... :)


Rainer Schöpf-5 wrote:
> 
> On Mon, 11 Oct 2010 at 15:00 +0200, Daniel Brüßler wrote:
> 
>  > Hello,
>  > 
>  > I tried to build lenya, but ant is not building correctly. What is
> wrong?
>  > 
>  > - I'm running Java5 update 22 (because Java6 didn't work) and set "1.5"
>  > in local.build.properties
>  > - I'm using the ant in $LENYA_HOME/tools/bin (version 1.7.1)
>  > - there are no double libraries in other versions in the class path of
>  > xerces, xalan, and so on
>  > - I downloaded the .tar.gz Version for Lenya 2.0.3 and set the
>  > environment variables
>  > - that file "patches/bug45488.patch" is in
>  > /d/REPOS/java/lenya203src/src/modules/kupu/patches
>  >   and in
>  > /d/REPOS/java/lenya203src/build/lenya/webapp/lenya/modules/kupu/patches
>  > - all files have the same permissions (774)
>  > - I was running the build.sh within the $LENYA_HOME folder
>  > 
>  > ------------
>  > 
>  > BUILD FAILED
>  > /d/REPOS/java/lenya203src/src/targets/webapp-build.xml:174: The
> following error occurred while executing this line:
>  > /d/REPOS/java/lenya203src/src/targets/modules-build.xml:74: The
> following error occurred while executing this line:
>  > /d/REPOS/java/lenya203src/build/lenya/temp/modules-build.xml:2592: The
> following error occurred while executing this line:
>  > /d/REPOS/java/lenya203src/src/modules/kupu/build.xml:21:
> java.io.IOException: java.io.IOException: patch: not found
> 
> You need to install the Ubuntu package "patch", e.g.
> 
>  apt-get install patch
> 
>  Rainer
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
> 

-- 
View this message in context: http://old.nabble.com/build-problem-with-Lenya2.0.3-%2C-patches-bug45488.patch-tp29935813p31631210.html
Sent from the Lenya - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: build-problem with Lenya2.0.3 , patches/bug45488.patch

Posted by Rainer Schöpf <ra...@gmx.net>.
On Mon, 11 Oct 2010 at 15:00 +0200, Daniel Br��ler wrote:

 > Hello,
 > 
 > I tried to build lenya, but ant is not building correctly. What is wrong?
 > 
 > - I'm running Java5 update 22 (because Java6 didn't work) and set "1.5"
 > in local.build.properties
 > - I'm using the ant in $LENYA_HOME/tools/bin (version 1.7.1)
 > - there are no double libraries in other versions in the class path of
 > xerces, xalan, and so on
 > - I downloaded the .tar.gz Version for Lenya 2.0.3 and set the
 > environment variables
 > - that file "patches/bug45488.patch" is in
 > /d/REPOS/java/lenya203src/src/modules/kupu/patches
 >   and in
 > /d/REPOS/java/lenya203src/build/lenya/webapp/lenya/modules/kupu/patches
 > - all files have the same permissions (774)
 > - I was running the build.sh within the $LENYA_HOME folder
 > 
 > ------------
 > 
 > BUILD FAILED
 > /d/REPOS/java/lenya203src/src/targets/webapp-build.xml:174: The following error occurred while executing this line:
 > /d/REPOS/java/lenya203src/src/targets/modules-build.xml:74: The following error occurred while executing this line:
 > /d/REPOS/java/lenya203src/build/lenya/temp/modules-build.xml:2592: The following error occurred while executing this line:
 > /d/REPOS/java/lenya203src/src/modules/kupu/build.xml:21: java.io.IOException: java.io.IOException: patch: not found

You need to install the Ubuntu package "patch", e.g.

 apt-get install patch

 Rainer