[pylucene-dev] Question about installing PyLucene onto amd64

Micah Vivion micahvivion at gmail.com
Mon Jul 30 17:44:18 PDT 2007


Greetings,

Thank you for your help. It looks like things worked. A couple of  
things to note:

On my install I didn't have bison installed - during the compile of  
gcc-4.2.0 gcj the build scripts gave me an warning that bison wasn't  
installed then a short time later the build script was not able to  
build some of the necessary gcj components. After I did an apt-get  
install bison and recompiled everything worked fine.

My default install of Ubuntu 7.04 did not have the directory of /usr/ 
local/lib64 created - thus I got errors when trying to run the  
PyLucene 'make install' command. I create the directory of /usr/local/ 
lib64 and reran 'make install' for PyLucene and everything looks like  
it worked.

I am using Python 2.5.1 - one question I have is the directories of / 
usr/lib/python2.5 and /usr/lib64/python2.5 - what directory should  
PyLucene.py and _PyLucene.so go into - /usr/lib/python2.5/site- 
packages or /usr/lib64/python2.5/site-packages?

Is there a place I can upload my compiled binaries to so that others  
may use them?

Thanks,

Micah


On Jul 30, 2007, at 2:40 AM, Andi Vajda wrote:

>
> On Sun, 29 Jul 2007, Micah Vivion wrote:
>
>> ELFCLASS32. Is the general issue trying to run the 32 bit version  
>> of PyLucene on this OS?
>
> Most likely, yes.
>
>> 2) Using the Ubuntu 64 compiled version of PyLucene  
>> (PyLucene-2.1.0-1.tar.gz). After doing the normal install progress  
>> and trying a simple test with PyLucene I get the error of:  
>> ImportError: /usr/lib/python2.5/site-packages/_PyLucene.so:  
>> undefined symbol: Py_InitModule4. These errors are a bit out of my  
>> knowledge level - anyone know what is going on here?
>
> The Ubuntu 64 binaries available for download were built for Python  
> 2.4. They are not compatible with Python 2.5.
>
>> So where do I go from here? Is there something else that I missed?  
>> Has anyone been able to get the compiled versions of PyLucene to  
>> work on their amd64 version of Ubuntu Linux?
>
> You need to build your own binaries as described at [1]. Of course,  
> gcj 4.2.0 has been released since so instead of using the snapshot  
> mentionned use the release sources.
>
> Andi..
>
> [1] http://lists.osafoundation.org/pipermail/pylucene-dev/2006- 
> November/001404.html
> _______________________________________________
> 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