sciDB 16.9 run.py make fails


#1

Hello,
I am trying to build sciDB CE 16.9 from the source code on Linux Mint. I managed to run,py setup and plugin_setup but now its failing during the make step with “call of overloaded ‘make_shared(char*)’ is ambiguous” error. Any idea how to fix this ? thank you

ERROR:

/home/jenica/benchmark_project/scidb/scidbtrunk/src/array/MemChunk.cpp: In constructor ‘scidb::RLEConstChunkIterator::RLEConstChunkIterator(const scidb::ArrayDesc&, scidb::AttributeID, scidb::Chunk*, scidb::Chunk*, int, const std::shared_ptrscidb::Query&)’:
/home/jenica/benchmark_project/scidb/scidbtrunk/src/array/MemChunk.cpp:545:105: error: call of overloaded ‘make_shared(char*)’ is ambiguous
emptyBitmap = make_shared((char*)data->getData() + payload.packedSize());
^
In file included from /usr/include/c++/5/memory:82:0,
from /home/jenica/benchmark_project/scidb/scidbtrunk/include/storage/IndexMgr.h:26,
from /home/jenica/benchmark_project/scidb/scidbtrunk/include/array/CachedMemChunk.h:24,
from /home/jenica/benchmark_project/scidb/scidbtrunk/include/array/MemArray.h:24,
from /home/jenica/benchmark_project/scidb/scidbtrunk/src/array/MemChunk.cpp:27:
/usr/include/c++/5/bits/shared_ptr.h:632:5: note: candidate: std::shared_ptr<_Tp1> std::make_shared(_Args&& …) [with _Tp = scidb::ConstRLEEmptyBitmap; _Args = {char*}]
make_shared(_Args&&… __args)
^
In file included from /usr/include/boost/smart_ptr/make_shared.hpp:15:0,
from /usr/include/boost/archive/detail/helper_collection.hpp:28,
from /usr/include/boost/archive/detail/basic_iarchive.hpp:28,
from /usr/include/boost/serialization/map.hpp:24,
from /home/jenica/benchmark_project/scidb/scidbtrunk/include/array/Metadata.h:36,
from /home/jenica/benchmark_project/scidb/scidbtrunk/include/array/Array.h:32,
from /home/jenica/benchmark_project/scidb/scidbtrunk/include/array/Compressor.h:27,
from /home/jenica/benchmark_project/scidb/scidbtrunk/include/storage/IndexMgr.h:34,
from /home/jenica/benchmark_project/scidb/scidbtrunk/include/array/CachedMemChunk.h:24,
from /home/jenica/benchmark_project/scidb/scidbtrunk/include/array/MemArray.h:24,
from /home/jenica/benchmark_project/scidb/scidbtrunk/src/array/MemChunk.cpp:27:
/usr/include/boost/smart_ptr/make_shared_object.hpp:246:87: note: candidate: typename boost::detail::sp_if_not_array::type boost::make_shared(Args&& …) [with T = scidb::ConstRLEEmptyBitmap; Args = {char*}; typename boost::detail::sp_if_not_array::type = boost::shared_ptrscidb::ConstRLEEmptyBitmap]
template< class T, class… Args > typename boost::detail::sp_if_not_array< T >::type make_shared( Args && … args )
^
/home/jenica/benchmark_project/scidb/scidbtrunk/src/array/MemChunk.cpp:550:72: error: call of overloaded ‘make_shared(uint64_t&)’ is ambiguous
emptyBitmap = make_shared(_logicalChunkSize);
^
In file included from /usr/include/c++/5/memory:82:0,
from /home/jenica/benchmark_project/scidb/scidbtrunk/include/storage/IndexMgr.h:26,
from /home/jenica/benchmark_project/scidb/scidbtrunk/include/array/CachedMemChunk.h:24,
from /home/jenica/benchmark_project/scidb/scidbtrunk/include/array/MemArray.h:24,
from /home/jenica/benchmark_project/scidb/scidbtrunk/src/array/MemChunk.cpp:27:
/usr/include/c++/5/bits/shared_ptr.h:632:5: note: candidate: std::shared_ptr<_Tp1> std::make_shared(_Args&& …) [with _Tp = scidb::RLEEmptyBitmap; _Args = {long unsigned int&}]
make_shared(_Args&&… __args)
^

thank you


#2

Hi - unfortunately we don’t support Mint officially, haven’t tried it. I know the gcc version under Ubuntu is supposed to be 4.9 and you’re showing 5. I’m not sure if that’s even the issue though.

If you have a commercial application in mind, consider reaching out via info@paradigm4.com and we can discuss your needs.

Otherwise, you can consider some docker work that folks in the community have done: http://rvernica.github.io/2016/11/docker-debian