Created
April 14, 2017 16:26
-
-
Save printesoi/e0d6456f2b4da93c9b6bf3cdac145737 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> [email protected] install /opt/pelias/api/node_modules/node-postal | |
> (node-gyp rebuild) || (exit 0) | |
make: Entering directory '/opt/pelias/api/node_modules/node-postal/build' | |
CXX(target) Release/obj.target/expand/src/expand.o | |
../src/expand.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ExpandAddress(Nan::NAN_METHOD_ARGS_TYPE)’: | |
../src/expand.cc:26:5: error: ‘normalize_options_t’ was not declared in this scope | |
normalize_options_t options = get_libpostal_default_options(); | |
^ | |
../src/expand.cc:55:64: error: ‘MAX_LANGUAGE_LEN’ was not declared in this scope | |
if (lang != NULL && strlen(lang) < MAX_LANGUAGE_LEN) { | |
^ | |
../src/expand.cc:63:25: error: ‘options’ was not declared in this scope | |
options.address_components = (uint16_t) Nan::To<uint32_t>(value).FromJust(); | |
^ | |
../src/expand.cc:66:21: error: ‘options’ was not declared in this scope | |
options.latin_ascii = Nan::To<bool>(value).FromJust(); | |
^ | |
../src/expand.cc:68:21: error: ‘options’ was not declared in this scope | |
options.transliterate = Nan::To<bool>(value).FromJust(); | |
^ | |
../src/expand.cc:70:21: error: ‘options’ was not declared in this scope | |
options.strip_accents = Nan::To<bool>(value).FromJust(); | |
^ | |
../src/expand.cc:72:21: error: ‘options’ was not declared in this scope | |
options.decompose = Nan::To<bool>(value).FromJust(); | |
^ | |
../src/expand.cc:74:21: error: ‘options’ was not declared in this scope | |
options.lowercase = Nan::To<bool>(value).FromJust(); | |
^ | |
../src/expand.cc:76:21: error: ‘options’ was not declared in this scope | |
options.trim_string = Nan::To<bool>(value).FromJust(); | |
^ | |
../src/expand.cc:78:21: error: ‘options’ was not declared in this scope | |
options.replace_word_hyphens = Nan::To<bool>(value).FromJust(); | |
^ | |
../src/expand.cc:80:21: error: ‘options’ was not declared in this scope | |
options.delete_word_hyphens = Nan::To<bool>(value).FromJust(); | |
^ | |
../src/expand.cc:82:21: error: ‘options’ was not declared in this scope | |
options.replace_numeric_hyphens = Nan::To<bool>(value).FromJust(); | |
^ | |
../src/expand.cc:84:21: error: ‘options’ was not declared in this scope | |
options.delete_numeric_hyphens = Nan::To<bool>(value).FromJust(); | |
^ | |
../src/expand.cc:86:21: error: ‘options’ was not declared in this scope | |
options.split_alpha_from_numeric = Nan::To<bool>(value).FromJust(); | |
^ | |
../src/expand.cc:88:21: error: ‘options’ was not declared in this scope | |
options.delete_final_periods = Nan::To<bool>(value).FromJust(); | |
^ | |
../src/expand.cc:90:21: error: ‘options’ was not declared in this scope | |
options.delete_acronym_periods = Nan::To<bool>(value).FromJust(); | |
^ | |
../src/expand.cc:92:21: error: ‘options’ was not declared in this scope | |
options.drop_english_possessives = Nan::To<bool>(value).FromJust(); | |
^ | |
../src/expand.cc:94:21: error: ‘options’ was not declared in this scope | |
options.delete_apostrophes = Nan::To<bool>(value).FromJust(); | |
^ | |
../src/expand.cc:96:21: error: ‘options’ was not declared in this scope | |
options.expand_numex = Nan::To<bool>(value).FromJust(); | |
^ | |
../src/expand.cc:98:21: error: ‘options’ was not declared in this scope | |
options.roman_numerals = Nan::To<bool>(value).FromJust(); | |
^ | |
../src/expand.cc:104:5: error: ‘options’ was not declared in this scope | |
options.languages = languages; | |
^ | |
../src/expand.cc:109:73: error: ‘expand_address’ was not declared in this scope | |
char **expansions = expand_address(address, options, &num_expansions); | |
^ | |
../src/expand.cc: In function ‘void init(v8::Local<v8::Object>)’: | |
../src/expand.cc:140:70: error: ‘ADDRESS_NONE’ was not declared in this scope | |
exports->Set(Nan::New("ADDRESS_NONE").ToLocalChecked(), Nan::New(ADDRESS_NONE)); | |
^ | |
../src/expand.cc:141:69: error: ‘ADDRESS_ANY’ was not declared in this scope | |
exports->Set(Nan::New("ADDRESS_ANY").ToLocalChecked(), Nan::New(ADDRESS_ANY)); | |
^ | |
../src/expand.cc:142:70: error: ‘ADDRESS_NAME’ was not declared in this scope | |
exports->Set(Nan::New("ADDRESS_NAME").ToLocalChecked(), Nan::New(ADDRESS_NAME)); | |
^ | |
../src/expand.cc:143:78: error: ‘ADDRESS_HOUSE_NUMBER’ was not declared in this scope | |
exports->Set(Nan::New("ADDRESS_HOUSE_NUMBER").ToLocalChecked(), Nan::New(ADDRESS_HOUSE_NUMBER)); | |
^ | |
../src/expand.cc:144:72: error: ‘ADDRESS_STREET’ was not declared in this scope | |
exports->Set(Nan::New("ADDRESS_STREET").ToLocalChecked(), Nan::New(ADDRESS_STREET)); | |
^ | |
../src/expand.cc:145:70: error: ‘ADDRESS_UNIT’ was not declared in this scope | |
exports->Set(Nan::New("ADDRESS_UNIT").ToLocalChecked(), Nan::New(ADDRESS_UNIT)); | |
^ | |
../src/expand.cc:146:74: error: ‘ADDRESS_LOCALITY’ was not declared in this scope | |
exports->Set(Nan::New("ADDRESS_LOCALITY").ToLocalChecked(), Nan::New(ADDRESS_LOCALITY)); | |
^ | |
../src/expand.cc:147:72: error: ‘ADDRESS_ADMIN1’ was not declared in this scope | |
exports->Set(Nan::New("ADDRESS_ADMIN1").ToLocalChecked(), Nan::New(ADDRESS_ADMIN1)); | |
^ | |
../src/expand.cc:148:72: error: ‘ADDRESS_ADMIN2’ was not declared in this scope | |
exports->Set(Nan::New("ADDRESS_ADMIN2").ToLocalChecked(), Nan::New(ADDRESS_ADMIN2)); | |
^ | |
../src/expand.cc:149:72: error: ‘ADDRESS_ADMIN3’ was not declared in this scope | |
exports->Set(Nan::New("ADDRESS_ADMIN3").ToLocalChecked(), Nan::New(ADDRESS_ADMIN3)); | |
^ | |
../src/expand.cc:150:72: error: ‘ADDRESS_ADMIN4’ was not declared in this scope | |
exports->Set(Nan::New("ADDRESS_ADMIN4").ToLocalChecked(), Nan::New(ADDRESS_ADMIN4)); | |
^ | |
../src/expand.cc:151:77: error: ‘ADDRESS_ADMIN_OTHER’ was not declared in this scope | |
exports->Set(Nan::New("ADDRESS_ADMIN_OTHER").ToLocalChecked(), Nan::New(ADDRESS_ADMIN_OTHER)); | |
^ | |
../src/expand.cc:152:73: error: ‘ADDRESS_COUNTRY’ was not declared in this scope | |
exports->Set(Nan::New("ADDRESS_COUNTRY").ToLocalChecked(), Nan::New(ADDRESS_COUNTRY)); | |
^ | |
../src/expand.cc:153:77: error: ‘ADDRESS_POSTAL_CODE’ was not declared in this scope | |
exports->Set(Nan::New("ADDRESS_POSTAL_CODE").ToLocalChecked(), Nan::New(ADDRESS_POSTAL_CODE)); | |
^ | |
../src/expand.cc:154:78: error: ‘ADDRESS_NEIGHBORHOOD’ was not declared in this scope | |
exports->Set(Nan::New("ADDRESS_NEIGHBORHOOD").ToLocalChecked(), Nan::New(ADDRESS_NEIGHBORHOOD)); | |
^ | |
../src/expand.cc:155:69: error: ‘ADDRESS_ALL’ was not declared in this scope | |
exports->Set(Nan::New("ADDRESS_ALL").ToLocalChecked(), Nan::New(ADDRESS_ALL)); | |
^ | |
expand.target.mk:90: recipe for target 'Release/obj.target/expand/src/expand.o' failed | |
make: *** [Release/obj.target/expand/src/expand.o] Error 1 | |
make: Leaving directory '/opt/pelias/api/node_modules/node-postal/build' | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) | |
gyp ERR! stack at emitTwo (events.js:106:13) | |
gyp ERR! stack at ChildProcess.emit (events.js:191:7) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) | |
gyp ERR! System Linux 4.4.0-72-generic | |
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /opt/pelias/api/node_modules/node-postal | |
gyp ERR! node -v v6.6.0 | |
gyp ERR! node-gyp -v v3.3.1 | |
gyp ERR! not ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment