[pylucene-dev] Trouble compiling PyLucene in Ubuntu Edgy

Andi Vajda vajda at osafoundation.org
Tue Nov 28 10:06:07 PST 2006


On Tue, 28 Nov 2006, Manuel Vázquez Acosta wrote:

> Well, I'll try gcj 4.2.0 later. Rightnow I have Eclipse installed by
> aptitude and it requires gcj by the aptitude way.

There is no reason to limit yourself to one compiler :)

As a matter of fact, I always recommend that, when building your own gcj for 
building PyLucene, one doesn't supercede the default OS compiler with that new 
gcj. This is why I suggest configuring the gcj 4.2.0 build with 
--prefix=/usr/local/gcc-4.2.0 so that gcj 4.2.0 remains isolated in its own 
install tree.

Andi..

>
> Best regards and thanks,
> Manuel.
>
> On 11/28/06, Andi Vajda <vajda at osafoundation.org> wrote:
>> 
>> On Tue, 28 Nov 2006, Manuel Vázquez Acosta wrote:
>> 
>> >> If you build PyLucene from sources on Ubuntu you need to either:
>> >>    - use gcj 3.4.x with a recent source tarball
>> >>    - use gcj 4.2.0 built from a recent snapshot with the PyLucene 
>> sources
>> >> from
>> >>      subversion (see [1] for more information).
>> >>
>> >> Andi..
>> >>
>> >> [1]
>> >> 
>> http://lists.osafoundation.org/pipermail/pylucene-dev/2006-November/001404.html
>> >>
>> >
>> > Hum. I compiled it with gcj 4.1.2:
>> >
>> > manu at pavla:~$ gcj --version
>> > gcj (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-14ubuntu7)
>> >
>> > Maybe this is why the tests didn't pass, isn't it?
>> 
>> Yes, this would be why.
>> 
>> Andi..
>> 
>


More information about the pylucene-dev mailing list