List Info

Thread: Trouble compiling PyLucene in Ubuntu Edgy




Trouble compiling PyLucene in Ubuntu Edgy
user name
2006-11-28 18:06:07
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 <vajdaosafoundation.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/pi
permail/pylucene-dev/2006-November/001404.html
>> >>
>> >
>> > Hum. I compiled it with gcj 4.1.2:
>> >
>> > manupavla:~$ 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..
>> 
>_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )