"PyLucene with JCC PyLucene with JCC requires a JDK, Ant and Python 2.3.5 or higher. Sources for JCC are included in the source tarballs."
The problem is that PyLucene makes certain assumptions which do not hold true on Solaris: PyLucene/JCC assumes that the target platform "sunos5" has an include directory /usr/java/include/sunos5, when in reality the include directory is /usr/java/include/solaris/, PyLucene assumes that the C compiler front end is going to be compiling C++ code, which is a severe error (and a very unfortunate assumption to make) PyLucene's C++ code is not compilable with the platform's native compiler (Sun Studio); however, since Python is compiled with Sun Studio, and PyLucene's build system reads the configuration from Python's /opt/blablabla/lib/python2.5/config/Makefile, which of course will provide switches and optimization settings for Sun Studio, which gcc can't use, JCC won't compile. To work around that particular problem, Python's /opt/blablabla/lib/python2.5/config/Makefile would have to be modified for GCC, which isn't practical. In other words, PyLucene makes some very bad (and false) assumptions, something which is typical of code developed on Linux. My advice to you would be to look for a simpler piece of software which does not have so many dependencies and does not make so many assumptions. This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list [email protected]
