I am having issues building SciDB 15.7 with g++ 4.9.2. I am getting the following errors:

Linking CXX static library libutil_lib.a
[ 9%] Built target util_lib
[ 9%] Built target scidb_msg_lib
[ 10%] Built target genmeta
Scanning dependencies of target catalog_lib
[ 10%] Building CXX object
src/system/catalog/CMakeFiles/catalog_lib.dir/SystemCatalog.cpp.o
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void scidb::SystemCatalog::_invalidateTempArray(const
string&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:158:13:
error:declaration’ is not a member of ‘pqxx::prepare’
pqxx::prepare::declaration decl = _connection->prepare(sql,sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:163:33:
error:treat_string’ was not declared in this scope
decl(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:163:45:
error:decl’ was not declared in this scope
decl(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
function ‘void scidb::fillArrayIdentifiers(pqxx::connection*,
pqxx::basic_transaction*, const string&, scidb::ArrayID,
scidb::ArrayUAID&, scidb::VersionID&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:325:68:
error:treat_string’ was not declared in this scope
connection->prepare(“find-by-name2”, sql_u)(“varchar”,
treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:325:55:
error:void value not ignored as it ought to be
connection->prepare(“find-by-name2”, sql_u)(“varchar”,
treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void scidb::SystemCatalog::_addArray(const
scidb::NamespaceDesc&, const scidb::ArrayDesc&,
pqxx::basic_transaction*)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:470:24:
error:treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:469:40:
error:void value not ignored as it ought to be
_connection->prepare(sql1, sql1)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:471:25:
error:treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:482:40:
error:void value not ignored as it ought to be
_connection->prepare(sql2, sql2)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:522:40:
error:void value not ignored as it ought to be
_connection->prepare(sql3, sql3)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_getNamespaceIdFromArrayId(scidb::ArrayID,
scidb::NamespaceDesc::ID&, pqxx::basic_transaction*)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1351:50:
error: ‘treat_direct’ was not declared in this scope
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1351:38:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1357:42:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘scidb::ArrayID
scidb::SystemCatalog::_findArrayByName(const string&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1388:57:
error: ‘treat_string’ was not declared in this scope
_connection->prepare(sql1, sql1)(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1388:44:
error: void value not ignored as it ought to be
_connection->prepare(sql1, sql1)(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void scidb::SystemCatalog::getArrayInfo(const
string&, scidb::ArrayID, scidb::ArrayID&, std::string&, int&, int&,
pqxx::basic_transaction*)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1539:17:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1538:34:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1540:16:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void scidb::SystemCatalog::_getArrayDesc(const
string&, scidb::ArrayID, bool, scidb::ArrayDesc&,
pqxx::basic_transaction*)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1580:49:
error: ‘treat_direct’ was not declared in this scope
_connection->prepare(sql2, sql2)(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1580:36:
error: void value not ignored as it ought to be
_connection->prepare(sql2, sql2)(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1648:36:
error: void value not ignored as it ought to be
_connection->prepare(sql3, sql3)(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘std::shared_ptrscidb::ArrayDesc
scidb::SystemCatalog::_getArrayDesc(scidb::ArrayID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1706:64:
error: ‘treat_direct’ was not declared in this scope
_connection->prepare(“find-by-id”, sql1)(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1706:52:
error: void value not ignored as it ought to be
_connection->prepare(“find-by-id”, sql1)(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1721:44:
error: void value not ignored as it ought to be
_connection->prepare(sql2, sql2)(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1780:44:
error: void value not ignored as it ought to be
_connection->prepare(sql3, sql3)(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘bool scidb::SystemCatalog::_deleteArrayByName(const
string&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1845:82:
error: ‘treat_string’ was not declared in this scope
_connection->prepare(“delete-array-name”,
deleteArraySql)(“varchar”, treat_string);

^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1845:69:
error: void value not ignored as it ought to be
_connection->prepare(“delete-array-name”,
deleteArraySql)(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘bool scidb::SystemCatalog::_deleteArrayVersions(const
string&, scidb::VersionID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1889:29:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1888:67:
error: void value not ignored as it ought to be
_connection->prepare(“delete-array-versions”, ss.str())
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1889:54:
error: ‘treat_direct’ was not declared in this scope
(“varchar”, treat_string)(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_deleteArrayById(scidb::ArrayID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1935:70:
error: ‘treat_direct’ was not declared in this scope
_connection->prepare(“delete-array-id”, sql1)(“integer”,
treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1935:57:
error: void value not ignored as it ought to be
_connection->prepare(“delete-array-id”, sql1)(“integer”,
treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘scidb::VersionID
scidb::SystemCatalog::_createNewVersion(scidb::ArrayID,
scidb::ArrayID, pqxx::basic_transaction*)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1962:20:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1961:38:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:1971:40:
error: void value not ignored as it ought to be
_connection->prepare(sql1, sql1)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_deleteVersion(scidb::ArrayID,
scidb::VersionID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2001:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2000:121:
error: void value not ignored as it ought to be
_connection->prepare(“delete-version”, “delete from
"array_version” where array_id=$1 and version_id = $2")

^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘scidb::VersionID
scidb::SystemCatalog::_getLastVersion(scidb::ArrayID,
scidb::ArrayID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2061:24:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2060:60:
error: void value not ignored as it ought to be
_connection->prepare(“select-last-version”, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_getCurrentVersion(scidb::SystemCatalog::QueryLocks&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2135:55:
error: ‘treat_string’ was not declared in this scope
_connection->prepare(sql, sql)(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2135:42:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘scidb::ArrayID
scidb::SystemCatalog::_getOldestArrayVersion(scidb::ArrayID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2204:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2203:62:
error: void value not ignored as it ought to be
_connection->prepare(“select-oldest-version”, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘scidb::VersionID
scidb::SystemCatalog::_lookupVersionByTimestamp(scidb::ArrayID,
uint64_t)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2250:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2249:68:
error: void value not ignored as it ought to be
_connection->prepare(“select-version-by-timestamp”, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘std::vectorscidb::VersionDesc
scidb::SystemCatalog::_getArrayVersions(scidb::ArrayID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2290:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2289:60:
error: void value not ignored as it ought to be
_connection->prepare(“select-all-versions”, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘scidb::Coordinates
scidb::SystemCatalog::_getHighBoundary(scidb::ArrayID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2337:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2336:61:
error: void value not ignored as it ought to be
_connection->prepare(“select-high-boundary”, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘scidb::Coordinates
scidb::SystemCatalog::_getLowBoundary(scidb::ArrayID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2386:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2385:60:
error: void value not ignored as it ought to be
_connection->prepare(“select-low-boundary”, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_updateArrayBoundaries(const scidb::ArrayDesc&,
const scidb::PhysicalBoundaries&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2440:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2439:61:
error: void value not ignored as it ought to be
_connection->prepare(“update-low-boundary”, sql1)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2444:62:
error: void value not ignored as it ought to be
_connection->prepare(“update-high-boundary”, sql2)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘scidb::InstanceID
scidb::SystemCatalog::_addInstance(const scidb::InstanceDesc&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2531:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2530:44:
error: void value not ignored as it ought to be
_connection->prepare(sql1, sql1)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2532:29:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_getClusterInstance(scidb::InstanceID,
scidb::InstanceDesc&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2630:54:
error: ‘treat_direct’ was not declared in this scope
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2630:42:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_markInstanceOnline(scidb::InstanceID, const
string&, uint16_t)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2682:29:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2681:42:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2683:25:
error: ‘treat_direct’ was not declared in this scope
(“int”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_markInstanceOffline(scidb::InstanceID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2724:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:2723:42:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void scidb::SystemCatalog::_addLibrary(const
string&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3001:28:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3000:52:
error: void value not ignored as it ought to be
_connection->prepare(“addLibrary”, sql1)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3002:29:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void scidb::SystemCatalog::_removeLibrary(const
string&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3097:29:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3096:55:
error: void value not ignored as it ought to be
_connection->prepare(“removeLibrary”, sql1)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘bool scidb::SystemCatalog::_lockArray(const
std::shared_ptrscidb::SystemCatalog::LockDesc&,
scidb::SystemCatalog::ErrorChecker&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3256:31:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3255:81:
error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql,
lockInsertSql)

^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3257:30:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3287:31:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3286:81:
error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql,
lockInsertSql)

^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3288:30:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3313:31:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3312:81:
error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql,
lockInsertSql)

^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3314:30:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3333:68:
error: void value not ignored as it ought to be
_connection->prepare(lockReadSql, lockReadSql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3355:31:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3354:81:
error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql,
lockInsertSql)

^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3356:30:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3379:31:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3378:81:
error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql,
lockInsertSql)

^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3380:30:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3402:68:
error: void value not ignored as it ought to be
_connection->prepare(lockReadSql, lockReadSql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3430:27:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3429:77:
error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql, lockInsertSql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3431:26:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3454:31:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3453:81:
error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql,
lockInsertSql)

^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3455:30:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3478:31:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3477:81:
error: void value not ignored as it ought to be
_connection->prepare(uniquePrefix+lockInsertSql,
lockInsertSql)

^

/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3479:30:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘bool scidb::SystemCatalog::_unlockArray(const
std::shared_ptrscidb::SystemCatalog::LockDesc&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3578:22:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3577:59:
error: void value not ignored as it ought to be
_connection->prepare(lockDeleteSql, lockDeleteSql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3579:21:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘bool scidb::SystemCatalog::_updateArrayLock(const
std::shared_ptrscidb::SystemCatalog::LockDesc&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3634:22:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3633:59:
error: void value not ignored as it ought to be
_connection->prepare(lockUpdateSql, lockUpdateSql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3635:21:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void
scidb::SystemCatalog::_readArrayLocks(scidb::InstanceID,
std::list<std::shared_ptrscidb::SystemCatalog::LockDesc >&,
std::list<std::shared_ptrscidb::SystemCatalog::LockDesc >&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3697:48:
error: ‘treat_direct’ was not declared in this scope
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3697:36:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘uint32_t
scidb::SystemCatalog::_deleteArrayLocks(scidb::InstanceID,
scidb::QueryID, scidb::SystemCatalog::LockDesc::InstanceRole)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3791:7:
error:declaration’ is not a member of ‘pqxx::prepare’
pqxx::prepare::declaration decl =
_connection->prepare(lockDeleteSql, lockDeleteSql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3795:26:
error: ‘treat_direct’ was not declared in this scope
decl(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3795:38:
error: ‘decl’ was not declared in this scope
decl(“bigint”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3798:27:
error: ‘treat_direct’ was not declared in this scope
decl(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3798:39:
error: ‘decl’ was not declared in this scope
decl(“integer”, treat_direct);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘std::shared_ptrscidb::SystemCatalog::LockDesc
scidb::SystemCatalog::_checkForCoordinatorLock(const string&,
scidb::QueryID)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3861:19:
error: ‘treat_string’ was not declared in this scope
(“varchar”, treat_string)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3860:36:
error: void value not ignored as it ought to be
_connection->prepare(sql, sql)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3862:18:
error: ‘treat_direct’ was not declared in this scope
(“bigint”, treat_direct)
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp: In
member function ‘void scidb::SystemCatalog::_renameArray(const
string&, const string&)’:
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3921:61:
error: ‘treat_string’ was not declared in this scope
_connection->prepare(renameSql, renameSql)(“varchar”,
treat_string)(“varchar”, treat_string);
^
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:3921:48:
error: void value not ignored as it ought to be
_connection->prepare(renameSql, renameSql)(“varchar”,
treat_string)(“varchar”, treat_string);
^
In file included from
/usr/local/boost-1.54/include/boost/filesystem/path_traits.hpp:23:0,
from
/usr/local/boost-1.54/include/boost/filesystem/path.hpp:25,
from /usr/local/boost-1.54/include/boost/filesystem.hpp:16,
from /root/scidb-15.7.0.9267/include/system/Utils.h:36,
from /root/scidb-15.7.0.9267/include/system/Config.h:45,
from /root/scidb-15.7.0.9267/include/query/Operator.h:58,
from /root/scidb-15.7.0.9267/src/query/QueryPlan.h:37,
from /root/scidb-15.7.0.9267/src/query/Serialize.h:28,
from
/root/scidb-15.7.0.9267/src/system/catalog/SystemCatalog.cpp:56:
/usr/local/boost-1.54/include/boost/system/error_code.hpp: At global scope:
/usr/local/boost-1.54/include/boost/system/error_code.hpp:222:36:
warning: boost::system::posix_category’ defined but not used
[-Wunused-variable]
static const error_category & posix_category = generic_category();
^
/usr/local/boost-1.54/include/boost/system/error_code.hpp:223:36:
warning: boost::system::errno_ecat’ defined but not used
[-Wunused-variable]
static const error_category & errno_ecat = generic_category();
^
/usr/local/boost-1.54/include/boost/system/error_code.hpp:224:36:
warning: boost::system::native_ecat’ defined but not used
[-Wunused-variable]
static const error_category & native_ecat = system_category();

I’ve solved this issue and managed to get a clean build. The problem is that during the installation process, libpqxx version 4.0 was installed automatically by one of the scripts during the install process. I removed libpqxx version 4.0 and manually replaced it with rpms for version 3.1.

The install process would be smoother is something was done to check version compatibility of libpqxx, since SciDB does depend on 3.1 and can’t use 4.0.

Also I had to comment out three lines from deployment/common/prepare_toolchain.sh, starting with “wget //http::/linuxsoft.cern.ch/…” On my machine, this connection times out for some reason. This may very possibly be due to something done on my local network, but I didn’t have time to track that issue down.