You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Petteri Sulonen <ps...@gmail.com> on 2010/02/08 21:44:45 UTC

Lenya 2.0.3 build fails: Cannot run program "patch" in kupu module (Java 1.6.0.15 on Ubuntu 9.10)

Lenya newbie here. Trying to build Lenya, but failing:

...
custombuild-module-org.apache.lenya.modules.kupu:
Invoking custom build process for module 'org.apache.lenya.modules.kupu'

BUILD FAILED
/home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/targets/webapp-build.xml:174:
The following error occurred while executing this line:
/home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/targets/modules-build.xml:74:
The following error occurred while executing this line:
/home/psulonen/lenya-src/apache-lenya-2.0.3-src/build/lenya/temp/modules-build.xml:125:
The following error occurred while executing this line:
/home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/modules/kupu/build.xml:21:
java.io.IOException: Cannot run program "patch" (in directory
"/home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/modules/kupu"):
java.io.IOException: error=2, No such file or directory

I checked kupu/build.xml, and it references a patch file that also
appears to exist. I verified the MD5 checksum for the archive.
Environment as in title. Using the default build properties.

Help?

Thanks a bundle in advance,

/Petteri

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


Re: Lenya 2.0.3 build fails: Cannot run program "patch" in kupu module (Java 1.6.0.15 on Ubuntu 9.10)

Posted by Petteri Sulonen <ps...@gmail.com>.
Thanks a bundle, that helped -- I'm well on my way to building the site.

I'm struggling with something else now, though: the news module. As
in, I'm attempting to include a newsfeed (in the "include" format) on
a page, more or less the same way as it's done on the homepage module,
only it's a different newsfeed and it's specific to that particular
page. Ideally, I'd like the webmasters to be able to simply include a
newsfeed on any page they create via the GUI, e.g. by adding a special
<div> in it; e.g. <div id="_NEWS/news/introCourses"/>, which would
then get transformed into <ci:include
"cocoon:/{area}/news/introCourses.include"/>, and included on the page
at the stated location.

The closest I've gotten is to cinclude
cocoon:/authoring/news/introCourses.include, but that fails with
"Streaming of an internal pipeline is not possible with a reader." I'm
obviously doing something horribly wrong, and would appreciate any
help I can get. What's the recommended way to do this, anyway?

Best, Petteri

On Mon, Feb 8, 2010 at 11:36 PM, Richard Frovarp <rf...@apache.org> wrote:
> Petteri Sulonen wrote:
>>
>> Lenya newbie here. Trying to build Lenya, but failing:
>>
>> ...
>> custombuild-module-org.apache.lenya.modules.kupu:
>> Invoking custom build process for module 'org.apache.lenya.modules.kupu'
>>
>> BUILD FAILED
>>
>> /home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/targets/webapp-build.xml:174:
>> The following error occurred while executing this line:
>>
>> /home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/targets/modules-build.xml:74:
>> The following error occurred while executing this line:
>>
>> /home/psulonen/lenya-src/apache-lenya-2.0.3-src/build/lenya/temp/modules-build.xml:125:
>> The following error occurred while executing this line:
>>
>> /home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/modules/kupu/build.xml:21:
>> java.io.IOException: Cannot run program "patch" (in directory
>> "/home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/modules/kupu"):
>> java.io.IOException: error=2, No such file or directory
>>
>> I checked kupu/build.xml, and it references a patch file that also
>> appears to exist. I verified the MD5 checksum for the archive.
>> Environment as in title. Using the default build properties.
>>
>> Help?
>>
>> Thanks a bundle in advance,
>>
>> /Petteri
>>
>
> You don't have the patch command installed. I don't remember which package
> that is in. From the command line just try running patch. You'll most likely
> get an error back and be given the command / package required to install it.
>
> Richard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>

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


Re: Lenya 2.0.3 build fails: Cannot run program "patch" in kupu module (Java 1.6.0.15 on Ubuntu 9.10)

Posted by Richard Frovarp <rf...@apache.org>.
Petteri Sulonen wrote:
> Lenya newbie here. Trying to build Lenya, but failing:
>
> ...
> custombuild-module-org.apache.lenya.modules.kupu:
> Invoking custom build process for module 'org.apache.lenya.modules.kupu'
>
> BUILD FAILED
> /home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/targets/webapp-build.xml:174:
> The following error occurred while executing this line:
> /home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/targets/modules-build.xml:74:
> The following error occurred while executing this line:
> /home/psulonen/lenya-src/apache-lenya-2.0.3-src/build/lenya/temp/modules-build.xml:125:
> The following error occurred while executing this line:
> /home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/modules/kupu/build.xml:21:
> java.io.IOException: Cannot run program "patch" (in directory
> "/home/psulonen/lenya-src/apache-lenya-2.0.3-src/src/modules/kupu"):
> java.io.IOException: error=2, No such file or directory
>
> I checked kupu/build.xml, and it references a patch file that also
> appears to exist. I verified the MD5 checksum for the archive.
> Environment as in title. Using the default build properties.
>
> Help?
>
> Thanks a bundle in advance,
>
> /Petteri
>   
You don't have the patch command installed. I don't remember which 
package that is in. From the command line just try running patch. You'll 
most likely get an error back and be given the command / package 
required to install it.

Richard

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