Sorry, I should have included my errors 1st time around: In file included from build/_lucene/__wrap03__.cpp:514: build/_lucene/org/apache/lucene/search/grouping/AbstractSecondPassGroupingCollector$SearchGroupDocs.h:55: error: expected unqualified-id before '&' token build/_lucene/org/apache/lucene/search/grouping/AbstractSecondPassGroupingCollector$SearchGroupDocs.h:55: error: expected ',' or '...' before '&' token build/_lucene/__wrap03__.cpp:548: error: expected unqualified-id before '&' token build/_lucene/__wrap03__.cpp:548: error: expected ',' or '...' before '&' token build/_lucene/__wrap03__.cpp: In constructor 'org::apache::lucene::search::grouping::AbstractSecondPassGroupingCollector$SearchGroupDocs::AbstractSecondPassGroupingCollector$SearchGroupDocs()': build/_lucene/__wrap03__.cpp:548: error: 'a0' was not declared in this scope build/_lucene/__wrap03__.cpp:548: error: 'a1' was not declared in this scope build/_lucene/__wrap03__.cpp:548: error: 'a2' was not declared in this scope build/_lucene/__wrap03__.cpp: In function 'int org::apache::lucene::search::grouping::t_AbstractSecondPassGroupingCollector$SearchGroupDocs_init_(org::apache::lucene::search::grouping::t_AbstractSecondPassGroupingCollector$SearchGroupDocs*, PyObject*, PyObject*)': build/_lucene/__wrap03__.cpp:653: error: 'AbstractSecondPassGroupingCollector' is not a member of 'org::apache::lucene::search::grouping' build/_lucene/__wrap03__.cpp:653: error: expected `;' before 'a0' build/_lucene/__wrap03__.cpp:660: error: 'org::apache::lucene::search::grouping::AbstractSecondPassGroupingCollector' has not been declared build/_lucene/__wrap03__.cpp:660: error: 'a0' was not declared in this scope build/_lucene/__wrap03__.cpp:660: error: 'org::apache::lucene::search::grouping::t_AbstractSecondPassGroupingCollector' has not been declared error: command 'gcc-4.2' failed with exit status 1 make: *** [compile] Error 1
My env is OS X 10.6.6, Apple's build of Python (2.6.1), Java 1.6.0_22. Mike McCandless http://blog.mikemccandless.com On Sun, Jul 3, 2011 at 12:17 PM, Andi Vajda <va...@apache.org> wrote: > > Hi Mike, > > On Sun, 3 Jul 2011, Michael McCandless wrote: > >> Re-send, this time to pylucene-dev: >> >> Everything looks good -- I was able to compile, run all tests >> successfully, and run my usual smoke test (indexing & optimizing & >> searching on first 100K wikipedia docs), but... >> >> I then tried to enable the grouping module (lucene/contrib/grouping), >> by adding a GROUPING_JAR matching all the other contrib jars, and >> running "make". This then hit various compilation errors -- is anyone >> able to enable the grouping module and compile successfully? > > What kind of errors ? > > So I added the grouping module to the PyLucene branch_3x build and it "just > built" (tm). I even committed the change to the build (rev 1142455) but I > didn't check that the grouping module was functional in PyLucene as I didn't > port any unit tests or even know much about it. > > Andi.. > >> >> Mike McCandless >> >> http://blog.mikemccandless.com >> >> On Sun, Jul 3, 2011 at 10:14 AM, Michael McCandless >> <luc...@mikemccandless.com> wrote: >>> >>> Everything looks good -- I was able to compile, run all tests >>> successfully, and run my usual smoke test (indexing & optimizing & >>> searching on first 100K wikipedia docs), but... >>> >>> I then tried to enable the grouping module (lucene/contrib/grouping), >>> by adding a GROUPING_JAR matching all the other contrib jars, and >>> running "make". This then hit various compilation errors -- is anyone >>> able to enable the grouping module and compile successfully? >>> >>> Mike McCandless >>> >>> http://blog.mikemccandless.com >>> >>> On Fri, Jul 1, 2011 at 8:24 AM, Andi Vajda <va...@apache.org> wrote: >>>> >>>> The PyLucene 3.3.0-1 release closely tracking the recent release of >>>> Lucene >>>> Java 3.3 is ready. >>>> >>>> A release candidate is available from: >>>> http://people.apache.org/~vajda/staging_area/ >>>> >>>> A list of changes in this release can be seen at: >>>> >>>> http://svn.apache.org/repos/asf/lucene/pylucene/branches/pylucene_3_3/CHANGES >>>> >>>> PyLucene 3.3.0 is built with JCC 2.9 included in these release >>>> artifacts. >>>> >>>> A list of Lucene Java changes can be seen at: >>>> >>>> http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_3_3/lucene/CHANGES.txt >>>> >>>> Please vote to release these artifacts as PyLucene 3.3.0-1. >>>> >>>> Thanks ! >>>> >>>> Andi.. >>>> >>>> ps: the KEYS file for PyLucene release signing is at: >>>> http://svn.apache.org/repos/asf/lucene/pylucene/dist/KEYS >>>> http://people.apache.org/~vajda/staging_area/KEYS >>>> >>>> pps: here is my +1 >>>> >>> >