List Info

Thread: Announcing PyLucene 2.0




Announcing PyLucene 2.0
user name
2006-05-29 07:27:57
On Sun, 28 May 2006, Bill Janssen wrote:

> I followed your INSTALL instructions for 2.0.0 on Mac
OS X 10.4.6 (I
> want to build for the system Python 2.3.5), but (sigh)
can't get
> gcc-3.4.4 to build:
>
> ./xgcc -B./ -B ... libgcc/./unwind-c.o -lc &&
rm -f libgcc_s.dylib && ...
> /usr/bin/libtool: for architecture: cputype (16777234)
cpusubtype (0) file: -lc is not an object file (not allowed
in a library)
> make[3]: *** [libgcc_s.dylib] Error 1
> make[2]: *** [libgcc.a] Error 2
> make[1]: *** [stage1_build] Error 2
> make: *** [bootstrap] Error 2

Is this on Intel or PPC Mac ? There is no 3.x gcj for Intel.
Other than that I don't know what could be wrong. Try
compiling 3.4.6 instead, 
it's more recent and should work just fine. 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

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 15:20:39
> Is this on Intel or PPC Mac ? There is no 3.x gcj for
Intel.

PPC.

> Other than that I don't know what could be wrong. Try
compiling 3.4.6 instead, 

Same problem with 3.4.6.

> 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...

Now I'm stuck on building PyLucene proper:

/local/gcc-3.4.4/bin/g++ -c -o release/converters.o -O2 
-DPYLUCENE_VER="\"2.0.0\""
-DLUCENE_VER="\"2.0.0\"" 
-Ilucene-java-2.0.0/build/classes/java
-Ilucene-java-2.0.0/build/contrib/highlighter/classes/java
-Ilucene-java-2.0.0/build/contrib/snowball/classes/java
-Ilucene-java-2.0.0/build/contrib/analyzers/classes/java
-Ilucene-java-2.0.0/build/contrib/regex/classes/java
-Irelease/classes
-I/System/Library/Frameworks/Python.framework/Versions/2.3/H
eaders -I/local/gcc-3.4.4/include converters.cpp
converters.cpp: In function `PyObject*
jsa2psl(JArray<java::lang::String*>*)':
converters.cpp:206: 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
%

Again, this is Python 2.3.5 (in /System/Library/Frameworks/)
with Mac
OS X 10.4.6, using your gcc-3.4.4.

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 )