Discussion:
Pylucene3 on OSX and java 1.8
Mahdi Yusuf
2015-01-28 22:08:47 UTC
Permalink
Hi,

I have a few hours trying to get pylucene to build on OSX. I have tried
both pylucene4 and pylucene3.

I have used the brew version for pylucene4 but it keep crashing with the
error

https://gist.github.com/myusuf3/1c702e8ea86fd9e9401d

As for pylucene3 which is what I would prefer I get to the build stage and
it crashes with 14 errors.

I am doing this all with java 1.8 on osx yosemite.

Any ideas how to get this setup?

Thanks!
--
Mahdi Yusuf
Andi Vajda
2015-01-29 05:51:37 UTC
Permalink
Post by Mahdi Yusuf
Hi,
I have a few hours trying to get pylucene to build on OSX. I have tried
both pylucene4 and pylucene3.
I have used the brew version for pylucene4 but it keep crashing with the
error
https://gist.github.com/myusuf3/1c702e8ea86fd9e9401d
If --use_full_names is not understood, it means you're using a PyLucene 4 Makefile with a PyLucene 3 version of JCC.
Post by Mahdi Yusuf
As for pylucene3 which is what I would prefer I get to the build stage and
it crashes with 14 errors.
Well, without telling us what these 14 errors are, how can I help you ?
Post by Mahdi Yusuf
I am doing this all with java 1.8 on osx yosemite.
I have not upgraded to yosemite yet.

A common error, it seems, on yosemite, is that the c++ compiler you're using is not the one that was used to build python. They must be the same. To remedy this it is best to build python from sources with the compiler of your choice.

Andi..
Post by Mahdi Yusuf
Any ideas how to get this setup?
Thanks!
--
Mahdi Yusuf
Mahdi Yusuf
2015-01-29 05:53:35 UTC
Permalink
The errors are having to deal with macros name and ifdefs. I can get you
the exact error log tomorrow.
Post by Andi Vajda
Post by Mahdi Yusuf
Hi,
I have a few hours trying to get pylucene to build on OSX. I have tried
both pylucene4 and pylucene3.
I have used the brew version for pylucene4 but it keep crashing with the
error
https://gist.github.com/myusuf3/1c702e8ea86fd9e9401d
If --use_full_names is not understood, it means you're using a PyLucene 4
Makefile with a PyLucene 3 version of JCC.
Post by Mahdi Yusuf
As for pylucene3 which is what I would prefer I get to the build stage
and
Post by Mahdi Yusuf
it crashes with 14 errors.
Well, without telling us what these 14 errors are, how can I help you ?
Post by Mahdi Yusuf
I am doing this all with java 1.8 on osx yosemite.
I have not upgraded to yosemite yet.
A common error, it seems, on yosemite, is that the c++ compiler you're
using is not the one that was used to build python. They must be the same.
To remedy this it is best to build python from sources with the compiler of
your choice.
Andi..
Post by Mahdi Yusuf
Any ideas how to get this setup?
Thanks!
--
Mahdi Yusuf
--
Mahdi Yusuf
Loading...