lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r849306 - in /websites/staging/lucene/trunk/content: ./ pylucene/install.html pylucene/jcc/install.html
Date Mon, 04 Feb 2013 06:37:33 GMT
Author: buildbot
Date: Mon Feb  4 06:37:32 2013
New Revision: 849306

Log:
Staging update by buildbot for lucene

Modified:
    websites/staging/lucene/trunk/content/   (props changed)
    websites/staging/lucene/trunk/content/pylucene/install.html
    websites/staging/lucene/trunk/content/pylucene/jcc/install.html

Propchange: websites/staging/lucene/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Feb  4 06:37:32 2013
@@ -1 +1 @@
-1439579
+1442031

Modified: websites/staging/lucene/trunk/content/pylucene/install.html
==============================================================================
--- websites/staging/lucene/trunk/content/pylucene/install.html (original)
+++ websites/staging/lucene/trunk/content/pylucene/install.html Mon Feb  4 06:37:32 2013
@@ -188,7 +188,7 @@ tuned to workaround various limits, for 
 <code>--files separate</code></p>
 </li>
 </ul>
-<h2 id="notes-for-solaris">Notes for Solaris</h2>
+<h2 id="notes-for-solaris-11-with-sun-studio-c-12">Notes for Solaris 11 with Sun Studio
C++ 12</h2>
 <p>PyLucene's Makefile is a GNU Makefile. Be sure to
 use <i>gmake</i> instead of plain <i>make</i>.</p>
 <p>Just as when building JCC, Python's distutils must be nudged a bit to
@@ -199,7 +199,24 @@ called <i>CC</i>.<br/></p>
 the C++ compiler is used:<br/>
 <code>
 $ CC=CC gmake
-</code></p></div>
+</code></p>
+<h2 id="notes-for-solaris-111-with-gcc-45">Notes for Solaris 11.1 with GCC 4.5</h2>
+<p>PyLucene's Makefile is a GNU Makefile. Be sure to use gmake instead of plain
+make.</p>
+<ul>
+<li>Edit Makefile and do the following changes:                                <br
/>
+Insert and enable a Solaris-Section with the following content
+<code></li>
+</ul>
+<h1 id="solaris-solaris-111-python-26-32-bit-java-17">Solaris   (Solaris 11.1, Python
2.6, 32-bit, Java 1.7)</h1>
+<p>PREFIX_PYTHON=/usr
+ANT=/usr/bin/ant
+PYTHON=$(PREFIX_PYTHON)/bin/python
+JCC=$(PYTHON) -m jcc.<strong>main</strong> --reserved DEFAULT_TYPE
+NUM_FILES=4
+</code>
+- gmake
+- su gmake install</p></div>
       
 
 

Modified: websites/staging/lucene/trunk/content/pylucene/jcc/install.html
==============================================================================
--- websites/staging/lucene/trunk/content/pylucene/jcc/install.html (original)
+++ websites/staging/lucene/trunk/content/pylucene/jcc/install.html Mon Feb  4 06:37:32 2013
@@ -267,9 +267,9 @@ be obtained via:
 </ul>
 <p>See earlier section about <a href="#shared">Shared Mode</a> for
 Linux support.</p>
-<h2 id="notes-for-solaris">Notes for Solaris</h2>
-<p>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.</p>
+<h2 id="notes-for-solaris-11-with-sun-studio-c-12">Notes for Solaris 11 with Sun Studio
C++ 12</h2>
+<p>JCC has been built and tested on Solaris 11 with Sun Studio C++ 12, Java 1.6
+and Python 2.4.</p>
 <p>Because JCC is written in C++, Python's <i>distutils</i> must
 be nudged a bit to invoke the correct compiler. Sun Studio's C
 compiler is called <i>cc</i> while its C++ compiler is
@@ -281,6 +281,20 @@ $ CC=CC python setup.py build
 <p>Shared mode is not currently implemented for
 Solaris, <i>setuptools</i> needs to be taught how to build
 plain shared libraries on Solaris first.</p>
+<h2 id="notes-for-solaris-111-with-gcc-45">Notes for Solaris 11.1 with GCC 4.5</h2>
+<p>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.</p>
+<p>Missing packages can be installed via <i>pkg install</i>.</p>
+<ul>
+<li>Edit setup.py and do the following changes:                                <br
/>
+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></li>
+<li><code>python setup.py build</code></li>
+<li><code>su python setup.py install</code></li>
+</ul>
 <h2 id="notes-for-windows">Notes for Windows</h2>
 <p>At this time, JCC has been built and tested on Win2k and WinXP with
 a variety of Python and Java versions.</p>



Mime
View raw message