Skip to content

Instantly share code, notes, and snippets.

@ctide
Created August 15, 2011 21:24
Show Gist options
  • Save ctide/1147905 to your computer and use it in GitHub Desktop.
Save ctide/1147905 to your computer and use it in GitHub Desktop.
Chris-Burkharts-MacBook-Pro-2:Me ctide$ brew install clucene
==> Downloading http://downloads.sourceforge.net/project/clucene/clucene-core-stable/0.9.21/clucene-core-0.9.21.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/clucene/0.9.21 --disable-debug --disable-dependency-tracking
==> make install
/usr/local/Cellar/clucene/0.9.21: 136 files, 4.9M, built in 59 seconds
Chris-Burkharts-MacBook-Pro-2:Me ctide$ l
Chris-Burkharts-MacBook-Pro-2:Locker ctide$ npm install
> [email protected] install /development/Locker/node_modules/clucene
> node-waf configure build
Setting srcdir to : /development/Locker/node_modules/clucene
Setting blddir to : /development/Locker/node_modules/clucene/build
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : ok /Users/ctide/.node_libraries
Checking for node prefix : not found
'configure' finished successfully (0.043s)
Waf: Entering directory `/development/Locker/node_modules/clucene/build'
[1/2] cxx: src/clucene_bindings.cpp -> build/default/src/clucene_bindings_1.o
In file included from /usr/local/include/CLucene/config/compiler.h:40,
from /usr/local/include/CLucene/StdHeader.h:17,
from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/config/CompilerGcc.h:12:68: error: CLucene/clucene-config.h: No such file or directory
In file included from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/StdHeader.h:62:3: error: #error "Neither unistd.h or (io.h & direct.h) were available"
/usr/local/include/CLucene/StdHeader.h:69:4: error: #error "CLucene can't compile with exception handling on because <stdexcept> header is not available"
/usr/local/include/CLucene/StdHeader.h:78:3: error: #error "Haven't implemented platforms with no sys/stat.h"
/usr/local/include/CLucene/StdHeader.h:84:3: error: #error "CLucene can compile, but some extras may not work"
/usr/local/include/CLucene/StdHeader.h:90:3: error: #error "CLucene can't compile without <math.h>"
/usr/local/include/CLucene/StdHeader.h:96:3: error: #error "CLucene can't compile without the map header"
/usr/local/include/CLucene/StdHeader.h:102:3: error: #error "CLucene can't compile without the list header"
/usr/local/include/CLucene/StdHeader.h:108:3: error: #error "CLucene can't compile without the set header"
/usr/local/include/CLucene/StdHeader.h:114:3: error: #error "CLucene can't compile without the vector header"
/usr/local/include/CLucene/StdHeader.h:134:3: error: #error "Can't compile clucene without <algorithm>"
/usr/local/include/CLucene/StdHeader.h:140:3: error: #error "Can't compile clucene without <functional>"
/usr/local/include/CLucene/StdHeader.h:144:3: error: #error "CLucene can't compile without printf, replacements have not been implemented"
/usr/local/include/CLucene/StdHeader.h:148:3: error: #error "CLucene can't compile without snprintf, replacements have not been implemented"
/usr/local/include/CLucene/StdHeader.h:182:3: error: #error "Haven't implemented platforms with no errno.h"
/usr/local/include/CLucene/StdHeader.h:188:3: error: #error "Haven't implemented platforms with no fcntl.h"
In file included from /usr/local/include/CLucene/config/compiler.h:183,
from /usr/local/include/CLucene/StdHeader.h:201,
from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/config/CompilerGcc.h:100:5: error: #error I do not know what to use for a uint64_t.
/usr/local/include/CLucene/config/CompilerGcc.h:111:5: error: #error I do not know what to use for a uint32_t.
/usr/local/include/CLucene/config/CompilerGcc.h:118:5: error: #error I do not know what to use for a uint8_t.
In file included from /usr/local/include/CLucene/StdHeader.h:307,
from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/config/repl_wchar.h:14:3: error: #error wcscpy is not defined, and a licensed replacement has not been written yet
/usr/local/include/CLucene/config/repl_wchar.h:19:3: error: #error wcsncpy is not defined, and a licensed replacement has not been written yet
/usr/local/include/CLucene/config/repl_wchar.h:24:3: error: #error wcscat is not defined, and a licensed replacement has not been written yet
/usr/local/include/CLucene/config/repl_wchar.h:29:3: error: #error wcschr is not defined, and a licensed replacement has not been written yet
/usr/local/include/CLucene/config/repl_wchar.h:34:3: error: #error wcspy is not defined, and a licensed replacement has not been written yet
/usr/local/include/CLucene/config/repl_wchar.h:39:3: error: #error wcslen is not defined, and a licensed replacement has not been written yet
/usr/local/include/CLucene/config/repl_wchar.h:44:3: error: #error wcscmp is not defined, and a licensed replacement has not been written yet
/usr/local/include/CLucene/config/repl_wchar.h:49:3: error: #error wcsncmp is not defined, and a licensed replacement has not been written yet
/usr/local/include/CLucene/config/repl_wchar.h:55:3: error: #error wcscspn is not defined, and a licensed replacement has not been written yet
In file included from /usr/local/include/CLucene/StdHeader.h:441,
from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/LuceneThreads.h:48:4: error: #error A valid thread library was not found
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:16:1: warning: "_sntprintf" redefined
In file included from /usr/local/include/CLucene/StdHeader.h:307,
from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/config/repl_wchar.h:92:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:17:1: warning: "_tprintf" redefined
In file included from /usr/local/include/CLucene/StdHeader.h:307,
from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/config/repl_wchar.h:101:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:20:1: warning: "_vsntprintf" redefined
In file included from /usr/local/include/CLucene/StdHeader.h:307,
from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/config/repl_wchar.h:110:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:25:1: warning: "_istalnum" redefined
In file included from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/StdHeader.h:220:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:26:1: warning: "_istalpha" redefined
In file included from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/StdHeader.h:221:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:27:1: warning: "_istspace" redefined
In file included from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/StdHeader.h:222:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:28:1: warning: "_istdigit" redefined
In file included from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/StdHeader.h:223:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:29:1: warning: "_totlower" redefined
In file included from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/StdHeader.h:224:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:30:1: warning: "_totupper" redefined
In file included from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/StdHeader.h:225:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:31:1: warning: "_tcslwr" redefined
In file included from /usr/local/include/CLucene/StdHeader.h:307,
from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/config/repl_wchar.h:69:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:50:1: warning: "_tcsicmp" redefined
In file included from /usr/local/include/CLucene/StdHeader.h:307,
from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/config/repl_wchar.h:64:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:59:1: warning: "_tcstod" redefined
In file included from /usr/local/include/CLucene/StdHeader.h:307,
from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/config/repl_wchar.h:86:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:60:1: warning: "_tcstoi64" redefined
In file included from /usr/local/include/CLucene/StdHeader.h:307,
from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/config/repl_wchar.h:81:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:62:1: warning: "_i64tot" redefined
In file included from /usr/local/include/CLucene/StdHeader.h:307,
from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/config/repl_wchar.h:76:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:136:1: warning: "STRDUP_AtoA" redefined
In file included from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/StdHeader.h:331:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:139:1: warning: "stringDuplicate" redefined
In file included from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/StdHeader.h:325:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:144:1: warning: "STRDUP_WtoW" redefined
In file included from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/StdHeader.h:334:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:150:1: warning: "STRDUP_AtoW" redefined
In file included from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/StdHeader.h:339:1: warning: this is the location of the previous definition
In file included from ../src/clucene_bindings.cpp:10:
../src/repl_tchar.h:153:1: warning: "STRDUP_WtoA" redefined
In file included from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/StdHeader.h:342:1: warning: this is the location of the previous definition
In file included from /usr/local/include/CLucene/StdHeader.h:201,
from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/config/compiler.h:221: error: conflicting declaration ‘typedef int intptr_t’
/usr/include/unistd.h:82: error: ‘intptr_t’ has a previous declaration as ‘typedef __darwin_intptr_t intptr_t’
In file included from /usr/local/include/CLucene/StdHeader.h:441,
from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/LuceneThreads.h:56: error: expected ‘;’ before ‘*’ token
/usr/local/include/CLucene/LuceneThreads.h:59: error: expected `)' before ‘&’ token
In file included from /usr/local/include/CLucene/StdHeader.h:445,
from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/util/VoidList.h:28: error: ‘_LUCENE_THREADMUTEX’ does not name a type
/usr/local/include/CLucene/util/VoidList.h:116: error: ‘vector’ is not a member of ‘std’
/usr/local/include/CLucene/util/VoidList.h:116: error: ‘vector’ is not a member of ‘std’
/usr/local/include/CLucene/util/VoidList.h:116: error: wrong number of template arguments (2, should be 3)
/usr/local/include/CLucene/util/VoidList.h:23: error: provided for ‘template<class _kt, class _base, class _valueDeletor> class __CLList’
/usr/local/include/CLucene/util/VoidList.h:116: error: expected `{' before ‘>’ token
/usr/local/include/CLucene/util/VoidList.h:116: error: expected unqualified-id before ‘>’ token
/usr/local/include/CLucene/util/VoidList.h:154: error: ‘list’ is not a member of ‘std’
/usr/local/include/CLucene/util/VoidList.h:154: error: ‘list’ is not a member of ‘std’
/usr/local/include/CLucene/util/VoidList.h:154: error: wrong number of template arguments (2, should be 3)
/usr/local/include/CLucene/util/VoidList.h:23: error: provided for ‘template<class _kt, class _base, class _valueDeletor> class __CLList’
/usr/local/include/CLucene/util/VoidList.h:154: error: expected `{' before ‘>’ token
/usr/local/include/CLucene/util/VoidList.h:154: error: expected unqualified-id before ‘>’ token
/usr/local/include/CLucene/util/VoidList.h:165: error: ‘set’ is not a member of ‘std’
/usr/local/include/CLucene/util/VoidList.h:165: error: ‘set’ is not a member of ‘std’
/usr/local/include/CLucene/util/VoidList.h:165: error: template argument 2 is invalid
/usr/local/include/CLucene/util/VoidList.h:165: error: expected `{' before ‘>’ token
/usr/local/include/CLucene/util/VoidList.h:165: error: expected unqualified-id before ‘>’ token
In file included from /usr/local/include/CLucene/StdHeader.h:446,
from /usr/local/include/CLucene.h:11,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/util/VoidMap.h:31: error: ‘_LUCENE_THREADMUTEX’ does not name a type
/usr/local/include/CLucene/util/VoidMap.h:162: error: ‘map’ is not a member of ‘std’
/usr/local/include/CLucene/util/VoidMap.h:162: error: ‘map’ is not a member of ‘std’
/usr/local/include/CLucene/util/VoidMap.h:162: error: template argument 3 is invalid
/usr/local/include/CLucene/util/VoidMap.h:163: error: expected `{' before ‘>’ token
/usr/local/include/CLucene/util/VoidMap.h:163: error: expected unqualified-id before ‘>’ token
/usr/local/include/CLucene/util/VoidMap.h:226: error: ‘map’ is not a member of ‘std’
/usr/local/include/CLucene/util/VoidMap.h:226: error: ‘map’ is not a member of ‘std’
/usr/local/include/CLucene/util/VoidMap.h:226: error: template argument 3 is invalid
/usr/local/include/CLucene/util/VoidMap.h:227: error: expected `{' before ‘>’ token
/usr/local/include/CLucene/util/VoidMap.h:227: error: expected unqualified-id before ‘>’ token
/usr/local/include/CLucene/util/VoidMap.h:247: error: ‘multimap’ is not a member of ‘std’
/usr/local/include/CLucene/util/VoidMap.h:247: error: ‘multimap’ is not a member of ‘std’
/usr/local/include/CLucene/util/VoidMap.h:247: error: template argument 3 is invalid
/usr/local/include/CLucene/util/VoidMap.h:248: error: expected `{' before ‘>’ token
/usr/local/include/CLucene/util/VoidMap.h:248: error: expected unqualified-id before ‘>’ token
In file included from /usr/local/include/CLucene/store/Directory.h:18,
from /usr/local/include/CLucene/index/IndexReader.h:14,
from /usr/local/include/CLucene.h:14,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/store/IndexInput.h:34: error: ‘_LUCENE_THREADMUTEX’ does not name a type
In file included from /usr/local/include/CLucene/index/IndexReader.h:14,
from /usr/local/include/CLucene.h:14,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/store/Directory.h:42: error: ‘_LUCENE_THREADMUTEX’ does not name a type
/usr/local/include/CLucene/store/Directory.h:59: error: ‘vector’ has not been declared
/usr/local/include/CLucene/store/Directory.h:59: error: expected ‘,’ or ‘...’ before ‘<’ token
/usr/local/include/CLucene/store/Directory.h: In member function ‘char** Directory::list() const’:
/usr/local/include/CLucene/store/Directory.h:48: error: ‘vector’ was not declared in this scope
/usr/local/include/CLucene/store/Directory.h:48: error: expected primary-expression before ‘>’ token
/usr/local/include/CLucene/store/Directory.h:48: error: ‘names’ was not declared in this scope
In file included from /usr/local/include/CLucene/index/IndexReader.h:15,
from /usr/local/include/CLucene.h:14,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/store/FSDirectory.h: At global scope:
/usr/local/include/CLucene/store/FSDirectory.h:89: error: ‘_LUCENE_THREADMUTEX’ does not name a type
/usr/local/include/CLucene/store/FSDirectory.h:161: error: ‘vector’ has not been declared
/usr/local/include/CLucene/store/FSDirectory.h:161: error: expected ‘,’ or ‘...’ before ‘<’ token
In file included from /usr/local/include/CLucene/index/TermVector.h:14,
from /usr/local/include/CLucene/index/IndexReader.h:18,
from /usr/local/include/CLucene.h:14,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/index/FieldInfos.h:78: error: field ‘byName’ has incomplete type
/usr/local/include/CLucene/index/FieldInfos.h:80: error: field ‘byNumber’ has incomplete type
In file included from /usr/local/include/CLucene/index/IndexReader.h:18,
from /usr/local/include/CLucene.h:14,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/index/TermVector.h:146: error: field ‘fields’ has incomplete type
/usr/local/include/CLucene/index/TermVector.h:147: error: field ‘terms’ has incomplete type
/usr/local/include/CLucene/index/TermVector.h:284: error: ‘_LUCENE_THREADMUTEX’ does not name a type
In file included from /usr/local/include/CLucene/index/IndexReader.h:19,
from /usr/local/include/CLucene.h:14,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/index/SegmentInfos.h:79: error: field ‘infos’ has incomplete type
In file included from /usr/local/include/CLucene/index/Term.h:15,
from /usr/local/include/CLucene/index/Terms.h:14,
from /usr/local/include/CLucene/index/IndexReader.h:20,
from /usr/local/include/CLucene.h:14,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/util/StringIntern.h:28: error: ‘_LUCENE_THREADMUTEX’ does not name a type
In file included from /usr/local/include/CLucene.h:14,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/index/IndexReader.h:93: error: field ‘closeCallbacks’ has incomplete type
/usr/local/include/CLucene/index/IndexReader.h:142: error: ‘_LUCENE_THREADMUTEX’ does not name a type
In file included from /usr/local/include/CLucene/store/TransactionalRAMDirectory.h:10,
from /usr/local/include/CLucene/index/IndexWriter.h:18,
from /usr/local/include/CLucene.h:15,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/store/RAMDirectory.h:23: error: field ‘buffers’ has incomplete type
/usr/local/include/CLucene/store/RAMDirectory.h:119: error: field ‘files’ has incomplete type
/usr/local/include/CLucene/store/RAMDirectory.h:122: error: ‘_LUCENE_THREADMUTEX’ does not name a type
/usr/local/include/CLucene/store/RAMDirectory.h:126: error: ‘vector’ has not been declared
/usr/local/include/CLucene/store/RAMDirectory.h:126: error: expected ‘,’ or ‘...’ before ‘<’ token
In file included from /usr/local/include/CLucene/index/IndexWriter.h:18,
from /usr/local/include/CLucene.h:15,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/store/TransactionalRAMDirectory.h:31: error: field ‘filesToRemoveOnAbort’ has incomplete type
/usr/local/include/CLucene/store/TransactionalRAMDirectory.h:34: error: field ‘filesToRestoreOnAbort’ has incomplete type
In file included from /usr/local/include/CLucene/index/TermInfosReader.h:17,
from /usr/local/include/CLucene/index/SegmentHeader.h:21,
from /usr/local/include/CLucene/index/IndexWriter.h:20,
from /usr/local/include/CLucene.h:15,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/util/ThreadLocal.h:28: error: ‘_LUCENE_THREADMUTEX’ does not name a type
/usr/local/include/CLucene/util/ThreadLocal.h:29: error: ‘_LUCENE_THREADID_TYPE’ was not declared in this scope
/usr/local/include/CLucene/util/ThreadLocal.h:30: error: ‘::CLuceneThreadIdCompare’ has not been declared
/usr/local/include/CLucene/util/ThreadLocal.h:30: error: ‘::CLuceneThreadIdCompare’ has not been declared
/usr/local/include/CLucene/util/ThreadLocal.h:31: error: ‘_LUCENE_THREADID_TYPE’ was not declared in this scope
/usr/local/include/CLucene/util/ThreadLocal.h:31: error: template argument 1 is invalid
/usr/local/include/CLucene/util/ThreadLocal.h:32: error: template argument 1 is invalid
/usr/local/include/CLucene/util/ThreadLocal.h:32: error: template argument 3 is invalid
/usr/local/include/CLucene/util/ThreadLocal.h:32: error: template argument 4 is invalid
/usr/local/include/CLucene/util/ThreadLocal.h:76: error: ‘_LUCENE_THREADID_TYPE’ was not declared in this scope
/usr/local/include/CLucene/util/ThreadLocal.h:77: error: ‘::CLuceneThreadIdCompare’ has not been declared
/usr/local/include/CLucene/util/ThreadLocal.h:77: error: ‘::CLuceneThreadIdCompare’ has not been declared
/usr/local/include/CLucene/util/ThreadLocal.h:78: error: ‘_LUCENE_THREADID_TYPE’ was not declared in this scope
/usr/local/include/CLucene/util/ThreadLocal.h:78: error: template argument 1 is invalid
/usr/local/include/CLucene/util/ThreadLocal.h:79: error: template argument 1 is invalid
/usr/local/include/CLucene/util/ThreadLocal.h:79: error: template argument 3 is invalid
/usr/local/include/CLucene/util/ThreadLocal.h:79: error: template argument 4 is invalid
/usr/local/include/CLucene/util/ThreadLocal.h:81: error: ‘_LUCENE_THREADMUTEX’ does not name a type
/usr/local/include/CLucene/util/ThreadLocal.h: In constructor ‘ThreadLocal<T, _deletor>::ThreadLocal()’:
/usr/local/include/CLucene/util/ThreadLocal.h:96: error: ‘_LUCENE_THREADID_TYPE’ was not declared in this scope
/usr/local/include/CLucene/util/ThreadLocal.h:96: error: expected `;' before ‘id’
/usr/local/include/CLucene/util/ThreadLocal.h:97: error: ‘ThreadLocalBase_THIS_LOCK’ was not declared in this scope
/usr/local/include/CLucene/util/ThreadLocal.h:98: error: request for member ‘insert’ in ‘ThreadLocalBase::threadLocals’, which is of non-class type ‘int’
/usr/local/include/CLucene/util/ThreadLocal.h:98: error: wrong number of template arguments (1, should be 2)
/usr/include/c++/4.2.1/bits/stl_pair.h:68: error: provided for ‘template<class _T1, class _T2> struct std::pair’
/usr/local/include/CLucene/util/ThreadLocal.h:98: error: ‘id’ was not declared in this scope
/usr/local/include/CLucene/util/ThreadLocal.h: In destructor ‘ThreadLocal<T, _deletor>::~ThreadLocal()’:
/usr/local/include/CLucene/util/ThreadLocal.h:104: error: ‘_LUCENE_THREADID_TYPE’ was not declared in this scope
/usr/local/include/CLucene/util/ThreadLocal.h:104: error: expected `;' before ‘id’
/usr/local/include/CLucene/util/ThreadLocal.h:105: error: ‘ThreadLocalBase_THIS_LOCK’ was not declared in this scope
/usr/local/include/CLucene/util/ThreadLocal.h:108: error: request for member ‘clear’ in ‘((ThreadLocal<T, _deletor>*)this)->ThreadLocal<T, _deletor>::locals’, which is of non-class type ‘int’
/usr/local/include/CLucene/util/ThreadLocal.h:111: error: expected initializer before ‘itr’
/usr/local/include/CLucene/util/ThreadLocal.h:112: error: expected initializer before ‘end’
/usr/local/include/CLucene/util/ThreadLocal.h:113: error: ‘itr’ was not declared in this scope
/usr/local/include/CLucene/util/ThreadLocal.h:113: error: ‘end’ was not declared in this scope
/usr/local/include/CLucene/util/ThreadLocal.h:115: error: request for member ‘erase’ in ‘ThreadLocalBase::threadLocals’, which is of non-class type ‘int’
/usr/local/include/CLucene/util/ThreadLocal.h: In member function ‘T ThreadLocal<T, _deletor>::get()’:
/usr/local/include/CLucene/util/ThreadLocal.h:124: error: request for member ‘get’ in ‘((ThreadLocal<T, _deletor>*)this)->ThreadLocal<T, _deletor>::locals’, which is of non-class type ‘int’
/usr/local/include/CLucene/util/ThreadLocal.h:124: error: ‘_LUCENE_CURRTHREADID’ was not declared in this scope
/usr/local/include/CLucene/util/ThreadLocal.h: In member function ‘void ThreadLocal<T, _deletor>::set(T)’:
/usr/local/include/CLucene/util/ThreadLocal.h:134: error: ‘_LUCENE_THREADID_TYPE’ was not declared in this scope
/usr/local/include/CLucene/util/ThreadLocal.h:134: error: expected `;' before ‘id’
/usr/local/include/CLucene/util/ThreadLocal.h:135: error: request for member ‘remove’ in ‘((ThreadLocal<T, _deletor>*)this)->ThreadLocal<T, _deletor>::locals’, which is of non-class type ‘int’
/usr/local/include/CLucene/util/ThreadLocal.h:135: error: ‘id’ was not declared in this scope
/usr/local/include/CLucene/util/ThreadLocal.h:137: error: request for member ‘insert’ in ‘((ThreadLocal<T, _deletor>*)this)->ThreadLocal<T, _deletor>::locals’, which is of non-class type ‘int’
/usr/local/include/CLucene/util/ThreadLocal.h:137: error: ‘_LUCENE_THREADID_TYPE’ cannot appear in a constant-expression
/usr/local/include/CLucene/util/ThreadLocal.h:137: error: template argument 1 is invalid
In file included from /usr/local/include/CLucene/index/SegmentHeader.h:21,
from /usr/local/include/CLucene/index/IndexWriter.h:20,
from /usr/local/include/CLucene.h:15,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/index/TermInfosReader.h: At global scope:
/usr/local/include/CLucene/index/TermInfosReader.h:48: error: ‘_LUCENE_THREADMUTEX’ does not name a type
In file included from /usr/local/include/CLucene/index/SegmentHeader.h:22,
from /usr/local/include/CLucene/index/IndexWriter.h:20,
from /usr/local/include/CLucene.h:15,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/index/CompoundFile.h:91: error: field ‘entries’ has incomplete type
/usr/local/include/CLucene/index/CompoundFile.h:106: error: ‘vector’ has not been declared
/usr/local/include/CLucene/index/CompoundFile.h:106: error: expected ‘,’ or ‘...’ before ‘<’ token
/usr/local/include/CLucene/index/CompoundFile.h:178: error: field ‘ids’ has incomplete type
/usr/local/include/CLucene/index/CompoundFile.h:180: error: field ‘entries’ has incomplete type
In file included from /usr/local/include/CLucene/index/IndexWriter.h:20,
from /usr/local/include/CLucene.h:15,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/index/SegmentHeader.h:146: error: field ‘_norms’ has incomplete type
In file included from /usr/local/include/CLucene.h:15,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/index/IndexWriter.h:117: error: ‘_LUCENE_THREADMUTEX’ does not name a type
In file included from /usr/local/include/CLucene.h:16,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/index/MultiReader.h:126: error: field ‘normsCache’ has incomplete type
In file included from /usr/local/include/CLucene/search/SearchHeader.h:20,
from /usr/local/include/CLucene/search/IndexSearcher.h:14,
from /usr/local/include/CLucene.h:18,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/search/Explanation.h:21: error: field ‘details’ has incomplete type
In file included from /usr/local/include/CLucene/search/IndexSearcher.h:14,
from /usr/local/include/CLucene.h:18,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/search/SearchHeader.h:156: error: field ‘hitDocs’ has incomplete type
In file included from /usr/local/include/CLucene/search/FieldSortedHitQueue.h:16,
from /usr/local/include/CLucene/search/IndexSearcher.h:21,
from /usr/local/include/CLucene.h:18,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/search/FieldDocSortedHitQueue.h:64: error: ‘_LUCENE_THREADMUTEX’ does not name a type
In file included from /usr/local/include/CLucene/search/FieldSortedHitQueue.h:18,
from /usr/local/include/CLucene/search/IndexSearcher.h:21,
from /usr/local/include/CLucene.h:18,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/search/FieldCacheImpl.h:28: error: ‘_LUCENE_THREADMUTEX’ does not name a type
/usr/local/include/CLucene/search/FieldCacheImpl.h:84: error: invalid use of incomplete type ‘class CLHashMap<FieldCacheImpl::FileEntry*, FieldCacheAuto*, FieldCacheImpl::FileEntry::Compare, FieldCacheImpl::FileEntry::Equals, Deletor::Object<FieldCacheImpl::FileEntry>, Deletor::Object<FieldCacheAuto> >’
/usr/local/include/CLucene/util/VoidMap.h:161: error: declaration of ‘class CLHashMap<FieldCacheImpl::FileEntry*, FieldCacheAuto*, FieldCacheImpl::FileEntry::Compare, FieldCacheImpl::FileEntry::Equals, Deletor::Object<FieldCacheImpl::FileEntry>, Deletor::Object<FieldCacheAuto> >’
/usr/local/include/CLucene/search/FieldCacheImpl.h:100: error: field ‘cache’ has incomplete type
In file included from /usr/local/include/CLucene/search/IndexSearcher.h:21,
from /usr/local/include/CLucene.h:18,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/search/FieldSortedHitQueue.h:41: error: invalid use of incomplete type ‘class CLHashMap<FieldCacheImpl::FileEntry*, ScoreDocComparator*, FieldCacheImpl::FileEntry::Compare, FieldCacheImpl::FileEntry::Equals, Deletor::Object<FieldCacheImpl::FileEntry>, Deletor::Object<ScoreDocComparator> >’
/usr/local/include/CLucene/util/VoidMap.h:161: error: declaration of ‘class CLHashMap<FieldCacheImpl::FileEntry*, ScoreDocComparator*, FieldCacheImpl::FileEntry::Compare, FieldCacheImpl::FileEntry::Equals, Deletor::Object<FieldCacheImpl::FileEntry>, Deletor::Object<ScoreDocComparator> >’
/usr/local/include/CLucene/search/FieldSortedHitQueue.h: In constructor ‘FieldSortedHitQueue::hitqueueCacheReaderType::hitqueueCacheReaderType(bool)’:
/usr/local/include/CLucene/search/FieldSortedHitQueue.h:45: error: ‘setDeleteKey’ was not declared in this scope
/usr/local/include/CLucene/search/FieldSortedHitQueue.h:46: error: ‘setDeleteValue’ was not declared in this scope
/usr/local/include/CLucene/search/FieldSortedHitQueue.h: In destructor ‘FieldSortedHitQueue::hitqueueCacheReaderType::~hitqueueCacheReaderType()’:
/usr/local/include/CLucene/search/FieldSortedHitQueue.h:49: error: cannot call member function ‘void PriorityQueue<_type, _valueDeletor>::clear() [with _type = FieldDoc*, _valueDeletor = Deletor::Object<FieldDoc>]’ without object
In file included from /usr/local/include/CLucene/search/BooleanQuery.h:14,
from /usr/local/include/CLucene/search/MultiTermQuery.h:20,
from /usr/local/include/CLucene/search/WildcardQuery.h:15,
from /usr/local/include/CLucene.h:21,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/search/ConjunctionScorer.h: At global scope:
/usr/local/include/CLucene/search/ConjunctionScorer.h:21: error: field ‘scorers’ has incomplete type
In file included from /usr/local/include/CLucene/search/MultiTermQuery.h:20,
from /usr/local/include/CLucene/search/WildcardQuery.h:15,
from /usr/local/include/CLucene.h:21,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/search/BooleanQuery.h:31: error: field ‘clauses’ has incomplete type
/usr/local/include/CLucene/search/BooleanQuery.h:37: error: field ‘weights’ has incomplete type
/usr/local/include/CLucene/search/BooleanQuery.h: In member function ‘virtual Weight* BooleanQuery::_createWeight(Searcher*)’:
/usr/local/include/CLucene/search/BooleanQuery.h:55: error: ‘clauses’ was not declared in this scope
In file included from /usr/local/include/CLucene.h:23,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/search/PhraseQuery.h: At global scope:
/usr/local/include/CLucene/search/PhraseQuery.h:34: error: field ‘positions’ has incomplete type
/usr/local/include/CLucene/search/PhraseQuery.h:38: error: field ‘terms’ has incomplete type
In file included from /usr/local/include/CLucene/queryParser/QueryParserBase.h:16,
from /usr/local/include/CLucene/queryParser/QueryToken.h:14,
from /usr/local/include/CLucene/queryParser/TokenList.h:15,
from /usr/local/include/CLucene/queryParser/QueryParser.h:19,
from /usr/local/include/CLucene.h:32,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/analysis/Analyzers.h:175: error: field ‘stopTable’ has incomplete type
/usr/local/include/CLucene/analysis/Analyzers.h:218: error: field ‘analyzerMap’ has incomplete type
In file included from /usr/local/include/CLucene/queryParser/QueryToken.h:14,
from /usr/local/include/CLucene/queryParser/TokenList.h:15,
from /usr/local/include/CLucene/queryParser/QueryParser.h:19,
from /usr/local/include/CLucene.h:32,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/queryParser/QueryParserBase.h:103: error: ‘std::vector’ has not been declared
/usr/local/include/CLucene/queryParser/QueryParserBase.h:103: error: expected ‘,’ or ‘...’ before ‘<’ token
/usr/local/include/CLucene/queryParser/QueryParserBase.h:194: error: ‘GetBooleanQuery’ declared as a ‘virtual’ field
/usr/local/include/CLucene/queryParser/QueryParserBase.h:194: error: expected ‘;’ before ‘(’ token
In file included from /usr/local/include/CLucene/queryParser/QueryParser.h:19,
from /usr/local/include/CLucene.h:32,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/queryParser/TokenList.h:22: error: field ‘tokens’ has incomplete type
In file included from /usr/local/include/CLucene.h:33,
from ../src/clucene_bindings.cpp:8:
/usr/local/include/CLucene/analysis/standard/StandardAnalyzer.h:28: error: field ‘stopSet’ has incomplete type
../src/clucene_bindings.cpp:16: error: ‘lucene’ has not been declared
../src/clucene_bindings.cpp:16: error: ‘index’ is not a namespace-name
../src/clucene_bindings.cpp:16: error: expected namespace-name before ‘;’ token
../src/clucene_bindings.cpp:17: error: ‘lucene’ has not been declared
../src/clucene_bindings.cpp:17: error: ‘analysis’ is not a namespace-name
../src/clucene_bindings.cpp:17: error: expected namespace-name before ‘;’ token
../src/clucene_bindings.cpp:18: error: ‘lucene’ has not been declared
../src/clucene_bindings.cpp:18: error: ‘util’ is not a namespace-name
../src/clucene_bindings.cpp:18: error: expected namespace-name before ‘;’ token
../src/clucene_bindings.cpp:19: error: ‘lucene’ has not been declared
../src/clucene_bindings.cpp:19: error: ‘store’ is not a namespace-name
../src/clucene_bindings.cpp:19: error: expected namespace-name before ‘;’ token
../src/clucene_bindings.cpp:20: error: ‘lucene’ has not been declared
../src/clucene_bindings.cpp:20: error: ‘document’ is not a namespace-name
../src/clucene_bindings.cpp:20: error: expected namespace-name before ‘;’ token
../src/clucene_bindings.cpp:21: error: ‘lucene’ has not been declared
../src/clucene_bindings.cpp:21: error: ‘search’ is not a namespace-name
../src/clucene_bindings.cpp:21: error: expected namespace-name before ‘;’ token
../src/clucene_bindings.cpp:22: error: ‘lucene’ has not been declared
../src/clucene_bindings.cpp:22: error: ‘queryParser’ is not a namespace-name
../src/clucene_bindings.cpp:22: error: expected namespace-name before ‘;’ token
../src/clucene_bindings.cpp:24: error: expected unqualified-id before numeric constant
../src/clucene_bindings.cpp: In static member function ‘static int Lucene::EIO_Index(eio_req*)’:
../src/clucene_bindings.cpp:189: error: ‘lucene’ has not been declared
../src/clucene_bindings.cpp:189: error: expected `;' before ‘an’
../src/clucene_bindings.cpp:201: error: ‘an’ was not declared in this scope
../src/clucene_bindings.cpp: In static member function ‘static int Lucene::EIO_Search(eio_req*)’:
../src/clucene_bindings.cpp:304: error: ‘standard’ has not been declared
../src/clucene_bindings.cpp:304: error: expected `;' before ‘analyzer’
../src/clucene_bindings.cpp:315: error: ‘class IndexReader’ has no member named ‘reopen’
../src/clucene_bindings.cpp:324: error: ‘analyzer’ was not declared in this scope
../src/clucene_bindings.cpp:332: warning: comparison between signed and unsigned integer expressions
/usr/local/include/node/ev/ev.h: At global scope:
/usr/local/include/node/ev/ev.h:565: warning: ‘ev_tstamp ev_now()’ defined but not used
/usr/local/include/node/ev/ev.h:574: warning: ‘int ev_is_default_loop()’ defined but not used
/usr/local/include/node/ev/ev.h:810: warning: ‘void ev_loop(int)’ defined but not used
/usr/local/include/node/ev/ev.h:811: warning: ‘void ev_unloop(int)’ defined but not used
/usr/local/include/node/ev/ev.h:812: warning: ‘void ev_default_destroy()’ defined but not used
/usr/local/include/node/ev/ev.h:813: warning: ‘void ev_default_fork()’ defined but not used
/usr/local/include/node/ev/ev.h:815: warning: ‘unsigned int ev_loop_count()’ defined but not used
/usr/local/include/node/ev/ev.h:816: warning: ‘unsigned int ev_loop_depth()’ defined but not used
/usr/local/include/node/ev/ev.h:817: warning: ‘void ev_loop_verify()’ defined but not used
Waf: Leaving directory `/development/Locker/node_modules/clucene/build'
Build failed: -> task failed (err #1):
{task: cxx clucene_bindings.cpp -> clucene_bindings_1.o}
npm ERR! error installing [email protected] Error: [email protected] install: `node-waf configure build`
npm ERR! error installing [email protected] `sh "-c" "node-waf configure build"` failed with 1
npm ERR! error installing [email protected] at ChildProcess.<anonymous> (/Volumes/Macintosh HD/Users/ctide/.nvm/v0.4.9/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing [email protected] at ChildProcess.emit (events.js:67:17)
npm ERR! error installing [email protected] at ChildProcess.onexit (child_process.js:192:12)
npm ERR! [email protected] install: `node-waf configure build`
npm ERR! `sh "-c" "node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the clucene package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls clucene
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 11.0.0
npm ERR! command "node" "/Users/ctide/.nvm/v0.4.9/bin/npm" "install"
npm ERR! cwd /development/Locker
npm ERR! node -v v0.4.9
npm ERR! npm -v 1.0.22
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /development/Locker/npm-debug.log
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment