[pylucene-dev] PyLucene app->web CGI?
Andi Vajda
vajda at osafoundation.org
Thu Apr 6 11:40:41 PDT 2006
On Thu, 6 Apr 2006, David Pratt wrote:
> Hi Andi. I have been following this thread. What size were you able to
> achieve with Linux with the new patch? I think I will also give this a try
> later today or tomorrow. Wow, there have been significant and positive
> changes in this past month!
On my gentoo linux system, using gcj 3.4.4, _PyLucene.so now is 6.1 Mb.
The distrib binary tarball shrunk to 6.3 Mb down from 8.1 Mb.
I just got this to work on Mac OS X as well and _PyLucene.so now is 7.4 Mb.
The new Mac OS X binary tarball is 6.7 Mb down from 8.6 Mb.
_PyLucene.so is of course a bit bigger but we no longer have to include
libgcj.so into the distribution nor install it.
Andi..
>
> Regards,
> David
>
> Andi Vajda wrote:
>>
>> On Wed, 5 Apr 2006, Kevin Ollivier wrote:
>>
>>> I think I've found the root of the problem and have attached a patch
>>> which, at least, gets rid of the segfault when running PyLucene in my
>>> tests. Read below for more info on how I got this far. ;-)
>>
>>
>> Kevin,
>>
>> This is awesome !
>>
>> I got it to work in Linux by adding the classes from your patch to
>> _PyLucene.cpp via JvInitClass() calls.
>>
>> I also followed the linking steps as described here:
>> http://gcc.gnu.org/wiki/Statically%20linking%20libgcj
>> for those less than obvious link command line arguments.
>>
>> I've checked this into the PyLucene trunk. Now, onto Mac OS X where
>> libgcj.dylib is even huger.
>>
>> Thank you so much for figuring this out !
>>
>> Andi..
>> _______________________________________________
>> pylucene-dev mailing list
>> pylucene-dev at osafoundation.org
>> http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
>>
>
More information about the pylucene-dev
mailing list