You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by va...@apache.org on 2013/02/04 07:37:26 UTC
svn commit: r1442031 - in /lucene/cms/trunk/content/pylucene: install.mdtext
jcc/install.mdtext
Author: vajda
Date: Mon Feb 4 06:37:26 2013
New Revision: 1442031
URL: http://svn.apache.org/viewvc?rev=1442031&view=rev
Log:
included Solaris notes by Thomas Feuerstack
Modified:
lucene/cms/trunk/content/pylucene/install.mdtext
lucene/cms/trunk/content/pylucene/jcc/install.mdtext
Modified: lucene/cms/trunk/content/pylucene/install.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/pylucene/install.mdtext?rev=1442031&r1=1442030&r2=1442031&view=diff
==============================================================================
--- lucene/cms/trunk/content/pylucene/install.mdtext (original)
+++ lucene/cms/trunk/content/pylucene/install.mdtext Mon Feb 4 06:37:26 2013
@@ -63,7 +63,7 @@ tuned to workaround various limits, for
<code>--files separate</code>
-##Notes for Solaris
+##Notes for Solaris 11 with Sun Studio C++ 12
PyLucene's Makefile is a GNU Makefile. Be sure to
use <i>gmake</i> instead of plain <i>make</i>.
@@ -74,10 +74,27 @@ invoke the correct compiler. Sun Studio'
called <i>cc</i> while its C++ compiler is
called <i>CC</i>.<br/>
-
To build PyLucene, use the following shell command to ensure that
the C++ compiler is used:<br/>
<code>
$ CC=CC gmake
</code>
+
+##Notes for Solaris 11.1 with GCC 4.5
+
+PyLucene's Makefile is a GNU Makefile. Be sure to use gmake instead of plain
+make.
+
+- Edit Makefile and do the following changes:
+Insert and enable a Solaris-Section with the following content
+<code>
+# Solaris (Solaris 11.1, Python 2.6, 32-bit, Java 1.7)
+PREFIX_PYTHON=/usr
+ANT=/usr/bin/ant
+PYTHON=$(PREFIX_PYTHON)/bin/python
+JCC=$(PYTHON) -m jcc.__main__ --reserved DEFAULT_TYPE
+NUM_FILES=4
+</code>
+- gmake
+- su gmake install
Modified: lucene/cms/trunk/content/pylucene/jcc/install.mdtext
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/pylucene/jcc/install.mdtext?rev=1442031&r1=1442030&r2=1442031&view=diff
==============================================================================
--- lucene/cms/trunk/content/pylucene/jcc/install.mdtext (original)
+++ lucene/cms/trunk/content/pylucene/jcc/install.mdtext Mon Feb 4 06:37:26 2013
@@ -164,10 +164,10 @@ See earlier section about <a href="#shar
Linux support.
-##Notes for Solaris
+##Notes for Solaris 11 with Sun Studio C++ 12
-At this time, JCC has been built and tested only on Solaris 11 with Sun
-Studio C++ 12, Java 1.6 and Python 2.4.
+JCC has been built and tested on Solaris 11 with Sun Studio C++ 12, Java 1.6
+and Python 2.4.
Because JCC is written in C++, Python's <i>distutils</i> must
@@ -185,6 +185,23 @@ Solaris, <i>setuptools</i> needs to be t
plain shared libraries on Solaris first.
+##Notes for Solaris 11.1 with GCC 4.5
+
+JCC has been built and tested on Solaris 11.1 with gcc 4.5, Java 1.7 and
+Python 2.6. Make sure, you?ve already installed the following packages:
+gcc-4.5, jre-1.7, jdk-1.7, python-2.6, ant, gnu-make and subversion.
+
+Missing packages can be installed via <i>pkg install</i>.
+
+- Edit setup.py and do the following changes:
+Inside JDK = { ? } change the entry for sunos5 to:
+<code>'sunos5': '/usr/jdk/instances/jdk1.7.0',</code>
+Inside CFLAGS= {?} change the entry for sunos5 to:
+<code>'sunos5': ['-fno-strict-aliasing', '-Wno-write-strings'],</code>
+- <code>python setup.py build</code>
+- <code>su python setup.py install</code>
+
+
##Notes for Windows
At this time, JCC has been built and tested on Win2k and WinXP with