You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Franz Ruebe <fr...@hotmail.com> on 2005/06/09 14:23:20 UTC

Building Lenya from source - Installation doc error?

Hi,

after my experience with the binaries, I should build lenya from source and 
follow *strictly* the instructions in 
http://lenya.apache.org/1_2_x/installation/source_version.html

So I did.

The following problems occured:

   5. Checked versions of endorsed libraries
   [...]
   The following libraries must be placed in the endorsed library directory 
for your deployment.
    ...
    * xalan-2.6.0.jar
    ... Try carefully checking the location and version numbers of each of 
the libraries.

I tried, but shipped with tomcat and lenya are 
xalan-2.6.1-dev-20041008T0304.jar. Can I use this and if not where do I get 
the 2.6.0-version from?

   6. Clear Tomcat work directory
   Tomcat's work cache may not be consistent with your newly installed 
Lenya. This can lead to any number of errors and exceptions. To prevent 
this, clear the work directory by executing build.bat or build.sh in your 
Lenya source directory, depending on your platform.

   MS Windows
            $LENYA_HOME > build.bat clean
(in my case D:\src\apache-lenya-1.2.3\)
I did this and there was no lenya dir anymore in my tomcat/webapps anymore. 
Well, cleaned without doubt...

Hmmmmm.

Franz

P.S.: There's another *little* inconsistence: The dirs for lenya-1.2.x are 
apache-lenya-1.2.x if you just unzip the src as described in 
http://lenya.apache.org/1_2_x/installation/source_version.html

_________________________________________________________________
Eine für alle. MSN Suche. http://search.msn.de Finden statt suchen!


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


Re: Building Lenya from source - Installation doc error?

Posted by Hubertus Groepper <hu...@groepper.com>.
Am 09.06.2005 um 18:22 schrieb Gregor J. Rothfuss:

> Hubertus Groepper wrote:
>
>
>> To prevent this and other issues with the installation docs not  
>> in  synch with each other (INSTALL-SRC.txt and website) and with  
>> the  actual release, could an appropriate task be added to http://  
>> wiki.apache.org/lenya/ProjectReleaseHowTo ? Also, how are INSTALL- 
>> SRC/ BIN.txt generated and from what? These docs seem to be  
>> outdated  (stating someplace that cocoon 2.1.5 is required and the  
>> like).
>>
>
> indeed. http://issues.apache.org/bugzilla/show_bug.cgi?id=27067
So "regenerate INSTALL-src.txt and INSTALL-bin.txt with the  
appropriate XSLT" in platform independent notes on http:// 
wiki.apache.org/lenya/ProjectReleaseHowTo is yet to be developed?  
Than I suggest this be done manually as part of the whole process  
otherwise someone eventually will mark this BLOCKER :)
Could someone please tell if step 5 (check versions) and step 6  
(reset tomcat) is up to date/required? The whole reset thing really  
needs better documentation as it deletes about everything. I vaguely  
remember that I put some remarks in INSTALL-SRC long ago, I'll check  
that.
hubertus

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


Re: Building Lenya from source - Installation doc error?

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Hubertus Groepper wrote:

> To prevent this and other issues with the installation docs not in  
> synch with each other (INSTALL-SRC.txt and website) and with the  actual 
> release, could an appropriate task be added to http:// 
> wiki.apache.org/lenya/ProjectReleaseHowTo ? Also, how are INSTALL-SRC/ 
> BIN.txt generated and from what? These docs seem to be outdated  
> (stating someplace that cocoon 2.1.5 is required and the like).

indeed. http://issues.apache.org/bugzilla/show_bug.cgi?id=27067

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


Re: Building Lenya from source - Installation doc error?

Posted by Franz Ruebe <fr...@hotmail.com>.
Hi Hubertus,

my question:
>>The following problems occured:
>>
>>   5. Checked versions of endorsed libraries
>>   [...]
>>   The following libraries must be placed in the endorsed library  
>>directory for your deployment.
>>    ...
>>    * xalan-2.6.0.jar
>>    ... Try carefully checking the location and version numbers of  each 
>>of the libraries.
>>
>>I tried, but shipped with tomcat and lenya are xalan-2.6.1- 
>>dev-20041008T0304.jar. Can I use this and if not where do I get the  
>>2.6.0-version from?

Your answer:
>To prevent this and other issues with the installation docs not in  synch 
>with each other (INSTALL-SRC.txt and website) and with the  actual release, 
>could an appropriate task be added to http:// 
>wiki.apache.org/lenya/ProjectReleaseHowTo ? Also, how are INSTALL-SRC/ 
>BIN.txt generated and from what? These docs seem to be outdated  (stating 
>someplace that cocoon 2.1.5 is required and the like).
>thanks.
>hubertus

After reading INSTALL-SRC.txt I'm a bit ashamed, because there's written 
clearly. "Don't install Tomcat in a location with spaces in the path!". But 
I've been adviced to follow the instructions on lenya.apache.org *strictly*. 
Perhaps just putting a "Before building Lenya, read the INSTALL-SRC.txt" on 
the installation doc could avoid some failures.

But there's nothing about the necessity of deleting or proofing  jars in 
this txt. So it's okay using xalan-2.6.1-dev-20041008T0304.jar? Does I have 
to delete the "doubles" in lenya/web-inf/lib? Please consider simple answers 
for simple minds.

Thankful and best regards.

Franz

_________________________________________________________________
Eine für alle. MSN Suche. http://search.msn.de Finden statt suchen!


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


Re: Building Lenya from source - Installation doc error?

Posted by Hubertus Groepper <hu...@groepper.com>.
Am 09.06.2005 um 14:23 schrieb Franz Ruebe:

>
> The following problems occured:
>
>   5. Checked versions of endorsed libraries
>   [...]
>   The following libraries must be placed in the endorsed library  
> directory for your deployment.
>    ...
>    * xalan-2.6.0.jar
>    ... Try carefully checking the location and version numbers of  
> each of the libraries.
>
> I tried, but shipped with tomcat and lenya are xalan-2.6.1- 
> dev-20041008T0304.jar. Can I use this and if not where do I get the  
> 2.6.0-version from?
To prevent this and other issues with the installation docs not in  
synch with each other (INSTALL-SRC.txt and website) and with the  
actual release, could an appropriate task be added to http:// 
wiki.apache.org/lenya/ProjectReleaseHowTo ? Also, how are INSTALL-SRC/ 
BIN.txt generated and from what? These docs seem to be outdated  
(stating someplace that cocoon 2.1.5 is required and the like).
thanks.
hubertus


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


Re: Building Lenya from source - Installation doc error?

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Franz Ruebe wrote:

> I'd prefer to wait on the new stable version. On the other hand I'd take 
> the dev-version, if I knew that:
> a.) updating from 1.2.3 will be heavy for a newbie
> b.) its worth it (meaning that 1.2.4 has some remarkable benefits 
> compared to 1.2.3)

there is a new menu implemenation and various fixes. the release should 
be out in about 2 weeks:

http://wiki.apache.org/lenya/ProjectReleasePlan

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


Re: Building Lenya from source - Installation doc error?

Posted by Franz Ruebe <fr...@hotmail.com>.
Hi Gregor,

>Gregor wrote:
>
>[...] postings like yours that clearly identify deficiencies are immensely 
>helpful towards that goal.
>keep it coming!

Promised.

 >i finally fixed this bug in 1.2.4-dev. since you are building from
>source anyway, you might as well check out the 1.2 branch from SVN (or wait 
>a couple weeks, and 1.2.4 will be out)

I'd prefer to wait on the new stable version. On the other hand I'd take the 
dev-version, if I knew that:
a.) updating from 1.2.3 will be heavy for a newbie
b.) its worth it (meaning that 1.2.4 has some remarkable benefits compared 
to 1.2.3)

Thanks in advance.

Best regards.

Franz

_________________________________________________________________
Eine für alle. MSN Suche. http://search.msn.de Finden statt suchen!


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


Re: Building Lenya from source - Installation doc error?

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Franz Ruebe wrote:

> I've rebuild lenya, did not follow the instructions ;-) (step 6) and 
> localhost:8080/lenya/ worked.
> Then I clicked on "Default Publication" and got that:
> 
> An Error Occurred
> Illegal character in path at index 15: file:/D:/Tomcat 
> 5.0/webapps/lenya/lenya/pubs/default/config/ac/passwd/
> 
> Aaaargh!

i finally fixed this bug in 1.2.4-dev. since you are building from 
source anyway, you might as well check out the 1.2 branch from SVN (or 
wait a couple weeks, and 1.2.4 will be out)

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


RE: Building Lenya from source - Installation doc error?

Posted by Franz Ruebe <fr...@hotmail.com>.
Hi,

I've rebuild lenya, did not follow the instructions ;-) (step 6) and 
localhost:8080/lenya/ worked.
Then I clicked on "Default Publication" and got that:

An Error Occurred
Illegal character in path at index 15: file:/D:/Tomcat 
5.0/webapps/lenya/lenya/pubs/default/config/ac/passwd/

Aaaargh!

I remembered having a bad feeling while installing tomcat in D:\Tomcat 5.0 
because of the space, especially when I configured local.build.properties 
the absolute, non-backspace containing path (thanks for that hint in the 
doc) tomcat.home.dir. So I re-installed tomcat in a 
non-space-containig-directory, re-builded lenya and re-deleted the 
recommended jars.

Tataaah!

Now I'm wondering, if it would have been enough, to write the 
tomcat.home.dir-path "url-conform" (D:/Tomcat%205.0). Anyway, the 
wininstaller for tomcat recommends an installation-path with spaces, so for 
newbies like me another helpful hint on that issue in the 
installation/source_version.html would be a big help.

Now I'll try to insert the publication I created with the binaries in lenya 
and getting lucene to work.

To be continued...

Franz

_________________________________________________________________
Nicht lange suchen – finden! MSN Suche. http://search.msn.de/ Jetzt testen!


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