Installation from scratch


#1

Hi guys!

I’m posting this as I find hard to install scidb on my box from scratch. Now I must admit I’m not using any of the “supported” distributions but I guess the Slackware will do OK, too.

So I downloaded the latest sources, installed bunch of missing stuff and got the cmake come through without errors :exclamation:. I tried to compile with gmake (and make) but the compiler went bananas. I guess I doing something wrong, can you please point me to the right direction?

[  1%] Built target json_lib
[  2%] Built target bsdiff
[  2%] Built target bs_tests
[  6%] Built target util_lib
[  6%] Building CXX object src/system/catalog/CMakeFiles/catalog_lib.dir/SystemCatalog.cpp.o
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'scidb::ArrayID scidb::SystemCatalog::addArray(const scidb::ArrayDesc&, scidb::PartitioningSchema)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:168:28: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:168:40: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:169:29: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:183:40: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:226:40: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'void scidb::SystemCatalog::updateArray(const scidb::ArrayDesc&)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:315:33: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:315:45: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:316:32: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:324:44: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:336:32: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:336:44: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:338:33: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:347:28: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:347:40: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:349:29: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:378:40: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'bool scidb::SystemCatalog::containsArray(scidb::ArrayID) const':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:495:56: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:495:68: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'scidb::ArrayID scidb::SystemCatalog::findArrayByName(const std::string&) const':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:539:57: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:539:69: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'bool scidb::SystemCatalog::getArrayDesc(const std::string&, scidb::ArrayDesc&, bool)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:598:67: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:598:79: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:612:57: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:612:69: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:670:69: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'boost::shared_ptr<scidb::ArrayDesc> scidb::SystemCatalog::reloadArrayDesc(scidb::ArrayID, bool)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:760:64: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:760:76: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:775:69: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:834:69: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'scidb::PartitioningSchema scidb::SystemCatalog::getPartitioningSchema(scidb::ArrayID)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:905:55: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:905:67: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'bool scidb::SystemCatalog::deleteArray(const std::string&)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:946:72: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:946:84: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'void scidb::SystemCatalog::deleteArray(scidb::ArrayID)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:983:70: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:983:82: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:987:86: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'scidb::VersionID scidb::SystemCatalog::createNewVersion(scidb::ArrayID, scidb::ArrayID)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1090:32: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1090:44: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1100:44: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'void scidb::SystemCatalog::deleteVersion(scidb::ArrayID, scidb::VersionID)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1144:28: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1144:40: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'scidb::VersionID scidb::SystemCatalog::getLastVersion(scidb::ArrayID)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1190:28: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1190:40: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'scidb::VersionID scidb::SystemCatalog::lookupVersionByTimestamp(scidb::ArrayID, uint64_t)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1228:28: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1228:40: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'std::vector<scidb::VersionDesc> scidb::SystemCatalog::getArrayVersions(scidb::ArrayID) const':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1266:28: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1266:40: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'scidb::Coordinates scidb::SystemCatalog::getHighBoundary(scidb::ArrayID)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1309:28: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1309:40: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'scidb::Coordinates scidb::SystemCatalog::getLowBoundary(scidb::ArrayID)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1356:28: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1356:40: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'void scidb::SystemCatalog::updateArrayBoundaries(scidb::ArrayID, const scidb::Coordinates&, const scidb::Coordinates&)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1403:28: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1403:40: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1408:40: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'scidb::NodeID scidb::SystemCatalog::addNode(const scidb::NodeDesc&) const':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1490:28: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1490:40: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1491:29: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'void scidb::SystemCatalog::getNode(scidb::NodeID, scidb::NodeDesc&) const':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1581:54: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1581:66: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'void scidb::SystemCatalog::markNodeOnline(scidb::NodeID, std::string, uint16_t) const':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1628:29: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1628:41: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1630:28: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'void scidb::SystemCatalog::markNodeOffline(scidb::NodeID) const':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1667:28: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1667:40: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'void scidb::SystemCatalog::setDefaultCompressionMethod(scidb::ArrayID, scidb::AttributeID, int16_t)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1718:25: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1718:37: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'void scidb::SystemCatalog::addLibrary(const std::string&) const':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1841:28: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1841:40: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1842:29: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'void scidb::SystemCatalog::removeLibrary(const std::string&) const':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1924:29: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:1924:41: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'bool scidb::SystemCatalog::lockArray(const boost::shared_ptr<scidb::SystemCatalog::LockDesc>&, scidb::SystemCatalog::ErrorChecker&)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2074:33: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2074:45: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2075:32: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2103:33: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2103:45: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2104:32: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2128:33: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2128:45: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2129:32: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2148:49: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2170:28: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2170:40: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2171:27: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2193:33: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2193:45: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2194:32: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2216:33: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2216:45: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2217:32: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'bool scidb::SystemCatalog::unlockArray(const boost::shared_ptr<scidb::SystemCatalog::LockDesc>&)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2296:22: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2296:34: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2297:21: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'bool scidb::SystemCatalog::updateArrayLock(const boost::shared_ptr<scidb::SystemCatalog::LockDesc>&)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2350:22: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2350:34: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2351:21: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'void scidb::SystemCatalog::readArrayLocks(scidb::NodeID, std::list<boost::shared_ptr<scidb::SystemCatalog::LockDesc> >&, std::list<boost::shared_ptr<scidb::SystemCatalog::LockDesc> >&)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2410:48: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2410:60: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'uint32_t scidb::SystemCatalog::deleteArrayLocks(const scidb::NodeID&, const scidb::QueryID&)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2484:22: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2484:34: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2489:22: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2489:34: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'boost::shared_ptr<scidb::SystemCatalog::LockDesc> scidb::SystemCatalog::checkForCoordinatorLock(const std::string&, const scidb::QueryID&)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2537:19: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2537:31: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2538:18: error: 'treat_direct' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp: In member function 'void scidb::SystemCatalog::renameArray(const std::string&, const std::string&)':
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2596:67: error: 'treat_string' was not declared in this scope
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2596:79: error: void value not ignored as it ought to be
/home/markoc/sources/scidb/scidb-11.12.0.4291-final/src/system/catalog/SystemCatalog.cpp:2599:73: error: void value not ignored as it ought to be
gmake[2]: *** [src/system/catalog/CMakeFiles/catalog_lib.dir/SystemCatalog.cpp.o] Error 1
gmake[1]: *** [src/system/catalog/CMakeFiles/catalog_lib.dir/all] Error 2
gmake: *** [all] Error 2

Would it help anyone if I uploaded the vm somewhere so you could have a look? It is approx. 12GB though.


#2

No thoughts? :frowning:


#3

Hi Puhek, Sorry about that. We are a small organization trying to do a lot of things at once…

… looks like you are trying to include some Postgres / libpq headers and failing… :frowning:
SystemCatalog.cpp is a module that talks to Postgres. You should have libpq installed. On my box, for example, I have an include directory /usr/include/pqxx. For example, /usr/include/pqxx/prepared_statement is the file that declares treat_string, treat_direct, etc – the things that your build is complaining about.

Perhaps you don’t have the file or have the wrong version? Maybe googling for these terms can help you install them on your box? Keep us posted on your progress.

–Alex Poliakov


#4

Is this problem solved?
I got exactly the same problem when compiling 12.10. I have made sure /usr/include/pqxx exists and I even tried “make -I /usr/include”.
Thanks


#5

I am also getting this problem. I am trying to build on 3.6.11-1-ARCH (ArchLinux) and have the appropriate libraries (libpqxx plus all of the packages listed here: postgresql.org/ftp/source/v9.2.2/) and did a grep for treat_direct there and also found nothing. If anyone can explain where the declaration of treat_direct can be found then I think it would be possible for me to successfully build SciDB…


#6

Just ran into this problem: it looks like libpqxx 4.0+ has changed the interface. We’re downgrading to version 3.1, which has the required definitions in include/prepared_statement.hxx


#7

http://nurmi-labs.blogspot.com/2018/08/scidb.html

Some Slackware linux notes (incomplete & untested) for satisfying the SciDB-18.1 dependency tree.