List Info

Thread: Announcing PyLucene 2.0




Announcing PyLucene 2.0
user name
2006-05-29 16:22:47
On Mon, 29 May 2006, Bill Janssen wrote:

>> If all fails you can download
>> binaries for gcc 3.4.4 for PPC here:
>>     http://downloads.osafoundation.org/compilers/os
x/gcc-3.4.4.tar.gz
>
> Thanks, that helped.  Still like to know how you built
it...

I built it the way I described it in INSTALL. But that is
not saying much. For 
example, I've never built gcj on 10.4.6. The last time I
tried to build gcj on 
my mac (10.4.6) I was trying to build gcj 4.1.0 and it
failed. The only way I 
got it to build was via darwinports.
I'm pretty sure you could get more help from the relevant
gcc mailing list.

(one common mistake is to build gcc inside its source
directory, a definite 
no-no, the build directory must be separate).

> Now I'm stuck on building PyLucene proper:
>
> error: `Py_RETURN_NONE' undeclared (first use this
function) 
> converters.cpp:206: error: (Each undeclared identifier
is reported only once 
> for each function it appears in.) converters.cpp: In
function `PyObject* 
> jsc2psl(java::util::Collection*)': converters.cpp:221:
error: 
> `Py_RETURN_NONE' undeclared (first use this function)
converters.cpp: In 
> function `PyObject*
ja2pl(JArray<java::lang::Object*>*, 
> PyObject*(*)(java::lang::Object*))':
converters.cpp:301: error: 
> `Py_RETURN_NONE' undeclared (first use this function)
make: *** 
> [release/converters.o] Error 1 %

The Py_RETURN_NONE macro probably appeared in Python 2.4, it
should be trivial 
to define yourself for 2.3.5. Someone did the same for
PyICU, see here:
     htt
p://svn.osafoundation.org/pyicu/trunk/common.h

Andi..
_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
Announcing PyLucene 2.0
user name
2006-05-29 16:37:00
> The Py_RETURN_NONE macro probably appeared in Python
2.4, it should be trivial 
> to define yourself for 2.3.5.

Yes, I figured out what was necessary, and posted another
note.  It
would be very handy if PyLucene worked out-of-the-box on the
system
Python in Mac OS X 10.4.6.  I can send you patches, or you
can figure
out (probably better) ones of your own.

Bill
_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
[1-2]

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