pkumod / gstore Goto Github PK
View Code? Open in Web Editor NEWgStore - a graph based RDF triple store.
Home Page: https://www.gstore.cn
License: BSD 3-Clause "New" or "Revised" License
gStore - a graph based RDF triple store.
Home Page: https://www.gstore.cn
License: BSD 3-Clause "New" or "Revised" License
$ sudo ./scripts/setup/setup_$(ARCH).sh
$ make pre
$ make
when I follow these steps and run make under gStore root, I got one error:
g++ -O2 -pthread -std=c++11 -o bin/gbuild .objs/gbuild.o .objs/KVstore.o .objs/SITree.o .objs/SIStorage.o .objs/SINode.o .objs/SIIntlNode.o .objs/SILeafNode.o .objs/SIHeap.o .objs/ISTree.o .objs/ISStorage.o .objs/ISNode.o .objs/ISIntlNode.o .objs/ISLeafNode.o .objs/ISHeap.o .objs/IVTree.o .objs/IVStorage.o .objs/IVNode.o .objs/IVIntlNode.o .objs/IVLeafNode.o .objs/IVHeap.o .objs/IVArray.o .objs/IVEntry.o .objs/IVBlockManager.o .objs/ISArray.o .objs/ISEntry.o .objs/ISBlockManager.o .objs/VSTree.o .objs/EntryBuffer.o .objs/LRUCache.o .objs/VNode.o .objs/StringIndex.o .objs/RDFParser.o .objs/SparqlParser.o .objs/DBparser.o .objs/SparqlLexer.o .objs/TurtleParser.o .objs/QueryParser.o .objs/Operation.o .objs/Server.o .objs/Client.o .objs/Socket.o .objs/Database.o .objs/Join.o .objs/Strategy.o .objs/Util.o .objs/Bstr.o .objs/Stream.o .objs/Triple.o .objs/BloomFilter.o .objs/VList.o .objs/SigEntry.o .objs/Signature.o .objs/SPARQLquery.o .objs/BasicQuery.o .objs/ResultSet.o .objs/IDList.o .objs/Varset.o .objs/QueryTree.o .objs/TempResult.o .objs/QueryCache.o .objs/GeneralEvaluation.o .objs/Trie.o .objs/TrieNode.o -lreadline -L./lib -L/usr/local/lib -lantlr -lgcov -lboost_thread -lboost_filesystem -lboost_system -lboost_regex -lpthread -I/usr/local/include/boost -lcurl -fopenmp -march=native
/usr/bin/ld: cannot find -lcurl
collect2: error: ld returned 1 exit status
make: *** [bin/gbuild] Error 1
did I miss something?
I wonder what is IVtree, IStree and SItree?
I would like to start a gStore server listening to HTTP request. This would be really useful because other programs could query the database using HTTP. For example people could send a SPARQL query to example.org/sparql/query/
and get a JSON in return with the results. Right now, it only seems possible to query the server through the gclient
via a local unix socket...
你好,
对于某些实体,通过Python代码查询的时候,返回结果为0条,但是在网页端复制sparql语句进行查询,是有结果的,请问可能是什么原因导致了这一问题呢?
Hi,
When I query in the pkubase, I get the encoding error. What's the encoding should I set.
I get an error when running make
and am not really sure how to fix it...
[...]
rm -rf lib/libantlr.a
ar -crv lib/libantlr.a tools/libantlr3c-3.4/*.o
a - tools/libantlr3c-3.4/antlr3baserecognizer.o
a - tools/libantlr3c-3.4/antlr3basetreeadaptor.o
a - tools/libantlr3c-3.4/antlr3basetree.o
a - tools/libantlr3c-3.4/antlr3bitset.o
a - tools/libantlr3c-3.4/antlr3collections.o
a - tools/libantlr3c-3.4/antlr3commontoken.o
a - tools/libantlr3c-3.4/antlr3commontreeadaptor.o
a - tools/libantlr3c-3.4/antlr3commontreenodestream.o
a - tools/libantlr3c-3.4/antlr3commontree.o
a - tools/libantlr3c-3.4/antlr3convertutf.o
a - tools/libantlr3c-3.4/antlr3cyclicdfa.o
a - tools/libantlr3c-3.4/antlr3debughandlers.o
a - tools/libantlr3c-3.4/antlr3encodings.o
a - tools/libantlr3c-3.4/antlr3exception.o
a - tools/libantlr3c-3.4/antlr3filestream.o
a - tools/libantlr3c-3.4/antlr3inputstream.o
a - tools/libantlr3c-3.4/antlr3intstream.o
a - tools/libantlr3c-3.4/antlr3lexer.o
a - tools/libantlr3c-3.4/antlr3parser.o
a - tools/libantlr3c-3.4/antlr3rewritestreams.o
a - tools/libantlr3c-3.4/antlr3string.o
a - tools/libantlr3c-3.4/antlr3tokenstream.o
a - tools/libantlr3c-3.4/antlr3treeparser.o
#NOTICE: update the sparql.tar.gz if Sparql* in Parser are changed manually
rm -rf Parser/Sparql*
cd tools; tar -xzvf sparql.tar.gz; mv Sparql* ../Parser/;
SparqlLexer.c
SparqlLexer.h
SparqlParser.c
SparqlParser.h
ccache g++ -c -Wall -O2 Main/gbuild.cpp -I./tools/libantlr3c-3.4/ -I./tools/libantlr3c-3.4/include -o .objs/gbuild.o
In file included from Main/../Database/../Parser/DBparser.h:14:0,
from Main/../Database/Database.h:23,
from Main/gbuild.cpp:11:
Main/../Database/../Parser/SparqlParser.h:2477:0: warning: "ADD" redefined
#define ADD 6
In file included from /usr/include/arpa/nameser.h:527:0,
from ./tools/libantlr3c-3.4/include/antlr3defs.h:311,
from ./tools/libantlr3c-3.4/include/antlr3.h:33,
from Main/../Database/../Parser/SparqlParser.h:435,
from Main/../Database/../Parser/DBparser.h:14,
from Main/../Database/Database.h:23,
from Main/gbuild.cpp:11:
/usr/include/arpa/nameser_compat.h:128:0: note: this is the location of the previous definition
#define ADD ns_uop_add
In file included from Main/../Database/../Parser/DBparser.h:14:0,
from Main/../Database/Database.h:23,
from Main/gbuild.cpp:11:
Main/../Database/../Parser/SparqlParser.h:2519:0: warning: "DELETE" redefined
#define DELETE 48
In file included from /usr/include/arpa/nameser.h:527:0,
from ./tools/libantlr3c-3.4/include/antlr3defs.h:311,
from ./tools/libantlr3c-3.4/include/antlr3.h:33,
from Main/../Database/../Parser/SparqlParser.h:435,
from Main/../Database/../Parser/DBparser.h:14,
from Main/../Database/Database.h:23,
from Main/gbuild.cpp:11:
/usr/include/arpa/nameser_compat.h:127:0: note: this is the location of the previous definition
#define DELETE ns_uop_delete
In file included from Main/../Database/../Parser/DBparser.h:14:0,
from Main/../Database/Database.h:23,
from Main/gbuild.cpp:11:
Main/../Database/../Parser/SparqlParser.h:2616:0: warning: "QUERY" redefined
#define QUERY 145
In file included from /usr/include/arpa/nameser.h:527:0,
from ./tools/libantlr3c-3.4/include/antlr3defs.h:311,
from ./tools/libantlr3c-3.4/include/antlr3.h:33,
from Main/../Database/../Parser/SparqlParser.h:435,
from Main/../Database/../Parser/DBparser.h:14,
from Main/../Database/Database.h:23,
from Main/gbuild.cpp:11:
/usr/include/arpa/nameser_compat.h:105:0: note: this is the location of the previous definition
#define QUERY ns_o_query
In file included from Main/../Database/Database.h:14:0,
from Main/gbuild.cpp:11:
Main/../Database/Join.h:58:36: error: ‘constexpr’ needed for in-class initialization of static data member ‘const double Join::JUDGE_LIMIT’ of non-integral type [-fpermissive]
static const double JUDGE_LIMIT = 0.5;
^~~
In file included from Main/../Database/../Query/../Parser/QueryParser.h:13:0,
from Main/../Database/../Query/GeneralEvaluation.h:21,
from Main/../Database/Database.h:26,
from Main/gbuild.cpp:11:
Main/../Database/../Query/../Parser/../Query/QueryTree.h: In constructor ‘QueryTree::QueryTree()’:
Main/../Database/../Query/../Parser/../Query/QueryTree.h:196:15: warning: ‘QueryTree::update_type’ will be initialized after [-Wreorder]
UpdateType update_type;
^~~~~~~~~~~
Main/../Database/../Query/../Parser/../Query/QueryTree.h:185:23: warning: ‘QueryTree::ProjectionModifier QueryTree::projection_modifier’ [-Wreorder]
ProjectionModifier projection_modifier;
^~~~~~~~~~~~~~~~~~~
In file included from Main/../Database/../Query/../Parser/QueryParser.h:13:0,
from Main/../Database/../Query/GeneralEvaluation.h:21,
from Main/../Database/Database.h:26,
from Main/gbuild.cpp:11:
Main/../Database/../Query/../Parser/../Query/QueryTree.h:18:3: warning: when initialized here [-Wreorder]
QueryTree():
^~~~~~~~~
In file included from Main/../Database/Database.h:26:0,
from Main/gbuild.cpp:11:
Main/../Database/../Query/GeneralEvaluation.h: In constructor ‘GeneralEvaluation::GeneralEvaluation(VSTree*, KVstore*, StringIndex*, TNUM*, int, int)’:
Main/../Database/../Query/GeneralEvaluation.h:40:16: warning: ‘GeneralEvaluation::stringindex’ will be initialized after [-Wreorder]
StringIndex *stringindex;
^~~~~~~~~~~
Main/../Database/../Query/GeneralEvaluation.h:37:9: warning: ‘TNUM* GeneralEvaluation::pre2num’ [-Wreorder]
TNUM* pre2num;
^~~~~~~
Main/../Database/../Query/GeneralEvaluation.h:46:12: warning: when initialized here [-Wreorder]
explicit GeneralEvaluation(VSTree *_vstree, KVstore *_kvstore, StringIndex *_stringindex, TNUM* _pre2num, int _limitID_predicate, int _limitID_literal):
^~~~~~~~~~~~~~~~~
makefile:140: recipe for target '.objs/gbuild.o' failed
make: *** [.objs/gbuild.o] Error 1
https://github.com/pkumod/gStore/blob/master/docs/ESSAY.md 这个链接里面的 http://www.icst.pku.edu.cn/intro/leizou/projects/papers/demo.pdf 这个链接,我打开之后是 Not Found
The gStore handbook says on page 1 "The mailing list is given in Chapter 12.", but there is no mailing list address on Chapter 12, only personal emails. This is a bit confusing.
Hi,
Can I get the data from the kg published on ccks2019 by the http request now and can I build a connector by GstoreConnector("dbpedia.gstore-pku.com", 80, "endpoint", "123") . Thank you for your reply.
我正在基于gStore做一个课程实验,需要用到增删数据库中部分数据的功能,但是在API中没有找到对应的函数,只能考虑调用gadd
、gsub
命令实现,以后会增加这两个API吗?
What's the relation of gStoreD with this repository? Is one a fork of the other?
Thanks
Error response from daemon: pull access denied for pkmud/gstore, repository does not exist or may require 'docker login'
there is something wrong with shuadown.cpp,when the client.h is quoted instead of GstoreConnector.h,the terminator says no defination for ‘GstoreConnector::Get(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator >&)’
and
GstoreConnector::GstoreConnector()
if the client.h and GstoreConnector.h are both quoted, it says redefination for GstoreConnector, what should I do?
when i install gstore,i found i should install so many package
Would be useful to have a list
command in the gconsole to show a list of databases available to load.
the origin dockerfile needs user run make pre
on the host, according to the directions on docker build from source, which violates the docker's principle.
it's better to do all the dirty job inside build container and reduce the image size if possible.
the base image should also be uniformed for global use.
I cloned the codes and ran make
. It seemed something went wrong. It was driving me crazy, can u help me?
libboost-all-dev 1.65 installed.
g++ 7.4.0 installed.
g++ -c -Wall -O2 -pthread -std=c++11 Main/gexport.cpp -I./tools/libantlr3c-3.4/ -I./tools/libantlr3c-3.4/include -o .objs/gexport.o -fopenmp -march=native
In file included from /usr/local/include/boost/thread/detail/platform.hpp:17:0,
from /usr/local/include/boost/thread/mutex.hpp:12,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:17,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:15,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
from /usr/local/include/boost/spirit/home/classic/core.hpp:42,
from /usr/local/include/boost/spirit/home/classic.hpp:24,
from /usr/local/include/boost/spirit/include/classic.hpp:11,
from /usr/local/include/boost/property_tree/detail/json_parser_read.hpp:18,
from /usr/local/include/boost/property_tree/json_parser.hpp:14,
from Main/../Database/../Util/Util.h:88,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/config/requires_threads.hpp:29:4: error: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
^~~~~
In file included from /usr/local/include/boost/thread/mutex.hpp:12:0,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:17,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:15,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
from /usr/local/include/boost/spirit/home/classic/core.hpp:42,
from /usr/local/include/boost/spirit/home/classic.hpp:24,
from /usr/local/include/boost/spirit/include/classic.hpp:11,
from /usr/local/include/boost/property_tree/detail/json_parser_read.hpp:18,
from /usr/local/include/boost/property_tree/json_parser.hpp:14,
from Main/../Database/../Util/Util.h:88,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no boost threads are available for this platform."
^~~~~
In file included from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:17:0,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:15,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
from /usr/local/include/boost/spirit/home/classic/core.hpp:42,
from /usr/local/include/boost/spirit/home/classic.hpp:24,
from /usr/local/include/boost/spirit/include/classic.hpp:11,
from /usr/local/include/boost/property_tree/detail/json_parser_read.hpp:18,
from /usr/local/include/boost/property_tree/json_parser.hpp:14,
from Main/../Database/../Util/Util.h:88,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/thread/mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
#error "Boost threads unavailable on this platform"
^~~~~
In file included from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:18:0,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:15,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
from /usr/local/include/boost/spirit/home/classic/core.hpp:42,
from /usr/local/include/boost/spirit/home/classic.hpp:24,
from /usr/local/include/boost/spirit/include/classic.hpp:11,
from /usr/local/include/boost/property_tree/detail/json_parser_read.hpp:18,
from /usr/local/include/boost/property_tree/json_parser.hpp:14,
from Main/../Database/../Util/Util.h:88,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/thread/once.hpp:18:2: error: #error "Boost threads unavailable on this platform"
#error "Boost threads unavailable on this platform"
^~~~~
In file included from /usr/local/include/boost/thread/tss.hpp:10:0,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:24,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
from /usr/local/include/boost/spirit/home/classic/core.hpp:42,
from /usr/local/include/boost/spirit/home/classic.hpp:24,
from /usr/local/include/boost/spirit/include/classic.hpp:11,
from /usr/local/include/boost/property_tree/detail/json_parser_read.hpp:18,
from /usr/local/include/boost/property_tree/json_parser.hpp:14,
from Main/../Database/../Util/Util.h:88,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/thread/detail/thread_heap_alloc.hpp:19:2: error: #error "Boost threads unavailable on this platform"
#error "Boost threads unavailable on this platform"
^~~~~
In file included from Main/../Database/../Parser/DBparser.h:14:0,
from Main/../Database/Database.h:23,
from Main/gexport.cpp:8:
Main/../Database/../Parser/SparqlParser.h:2477:0: warning: "ADD" redefined
#define ADD 6
In file included from /usr/include/arpa/nameser.h:440:0,
from ./tools/libantlr3c-3.4/include/antlr3defs.h:311,
from ./tools/libantlr3c-3.4/include/antlr3.h:33,
from Main/../Database/../Parser/SparqlParser.h:435,
from Main/../Database/../Parser/DBparser.h:14,
from Main/../Database/Database.h:23,
from Main/gexport.cpp:8:
/usr/include/arpa/nameser_compat.h:121:0: note: this is the location of the previous definition
#define ADD ns_uop_add
In file included from Main/../Database/../Parser/DBparser.h:14:0,
from Main/../Database/Database.h:23,
from Main/gexport.cpp:8:
Main/../Database/../Parser/SparqlParser.h:2519:0: warning: "DELETE" redefined
#define DELETE 48
In file included from /usr/include/arpa/nameser.h:440:0,
from ./tools/libantlr3c-3.4/include/antlr3defs.h:311,
from ./tools/libantlr3c-3.4/include/antlr3.h:33,
from Main/../Database/../Parser/SparqlParser.h:435,
from Main/../Database/../Parser/DBparser.h:14,
from Main/../Database/Database.h:23,
from Main/gexport.cpp:8:
/usr/include/arpa/nameser_compat.h:120:0: note: this is the location of the previous definition
#define DELETE ns_uop_delete
In file included from Main/../Database/../Parser/DBparser.h:14:0,
from Main/../Database/Database.h:23,
from Main/gexport.cpp:8:
Main/../Database/../Parser/SparqlParser.h:2616:0: warning: "QUERY" redefined
#define QUERY 145
In file included from /usr/include/arpa/nameser.h:440:0,
from ./tools/libantlr3c-3.4/include/antlr3defs.h:311,
from ./tools/libantlr3c-3.4/include/antlr3.h:33,
from Main/../Database/../Parser/SparqlParser.h:435,
from Main/../Database/../Parser/DBparser.h:14,
from Main/../Database/Database.h:23,
from Main/gexport.cpp:8:
/usr/include/arpa/nameser_compat.h:98:0: note: this is the location of the previous definition
#define QUERY ns_o_query
In file included from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:18:0,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:15,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
from /usr/local/include/boost/spirit/home/classic/core.hpp:42,
from /usr/local/include/boost/spirit/home/classic.hpp:24,
from /usr/local/include/boost/spirit/include/classic.hpp:11,
from /usr/local/include/boost/property_tree/detail/json_parser_read.hpp:18,
from /usr/local/include/boost/property_tree/json_parser.hpp:14,
from Main/../Database/../Util/Util.h:88,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/thread/once.hpp:25:42: error: variable or field ‘call_once’ declared void
inline void call_once(void (func)(),once_flag& flag)
^~~~~~~~~
/usr/local/include/boost/thread/once.hpp:25:34: error: ‘func’ was not declared in this scope
inline void call_once(void (func)(),once_flag& flag)
^~~~
/usr/local/include/boost/thread/once.hpp:25:34: note: suggested alternative: ‘sync’
inline void call_once(void (func)(),once_flag& flag)
^~~~
sync
/usr/local/include/boost/thread/once.hpp:25:42: error: ‘once_flag’ was not declared in this scope
inline void call_once(void (func)(),once_flag& flag)
^~~~~~~~~
/usr/local/include/boost/thread/once.hpp:25:42: note: suggested alternative:
In file included from Main/../Database/../Util/Util.h:73:0,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/include/c++/7/mutex:629:10: note: ‘std::once_flag’
struct once_flag
^~~~~~~~~
In file included from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:18:0,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:15,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
from /usr/local/include/boost/spirit/home/classic/core.hpp:42,
from /usr/local/include/boost/spirit/home/classic.hpp:24,
from /usr/local/include/boost/spirit/include/classic.hpp:11,
from /usr/local/include/boost/property_tree/detail/json_parser_read.hpp:18,
from /usr/local/include/boost/property_tree/json_parser.hpp:14,
from Main/../Database/../Util/Util.h:88,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/thread/once.hpp:25:53: error: ‘flag’ was not declared in this scope
inline void call_once(void (func)(),once_flag& flag)
^~~~
/usr/local/include/boost/thread/once.hpp:25:53: note: suggested alternative: ‘log’
inline void call_once(void (func)(),once_flag& flag)
^~~~
log
In file included from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:15:0,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
from /usr/local/include/boost/spirit/home/classic/core.hpp:42,
from /usr/local/include/boost/spirit/home/classic.hpp:24,
from /usr/local/include/boost/spirit/include/classic.hpp:11,
from /usr/local/include/boost/property_tree/detail/json_parser_read.hpp:18,
from /usr/local/include/boost/property_tree/json_parser.hpp:14,
from Main/../Database/../Util/Util.h:88,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:40:20: error: ‘mutex’ in namespace ‘boost’ does not name a type
boost::mutex mutex;
^~~~~
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:63:27: error: ‘mutex’ in namespace ‘boost’ does not name a type
static boost::mutex &mutex_instance();
^~~~~
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp: In member function ‘IdT boost::spirit::classic::impl::object_with_id_base_supply::acquire()’:
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:102:20: error: ‘boost::mutex’ has not been declared
boost::mutex::scoped_lock lock(mutex);
^~~~~
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp: In member function ‘void boost::spirit::classic::impl::object_with_id_base_supply::release(IdT)’:
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:124:20: error: ‘boost::mutex’ has not been declared
boost::mutex::scoped_lock lock(mutex);
^~~~~
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp: In member function ‘IdT boost::spirit::classic::impl::object_with_id_base<TagT, IdT>::acquire_object_id()’:
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:139:31: error: ‘once_flag’ in namespace ‘boost’ does not name a type
static boost::once_flag been_here = BOOST_ONCE_INIT;
^~~~~~~~~
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:140:24: error: ‘call_once’ is not a member of ‘boost’
boost::call_once(been_here, mutex_init);
^~~~~~~~~
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:140:24: note: suggested alternative:
In file included from Main/../Database/../Util/Util.h:73:0,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/include/c++/7/mutex:667:5: note: ‘std::call_once’
call_once(once_flag& __once, _Callable&& __f, _Args&&... __args)
^~~~~~~~~
In file included from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:15:0,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
from /usr/local/include/boost/spirit/home/classic/core.hpp:42,
from /usr/local/include/boost/spirit/home/classic.hpp:24,
from /usr/local/include/boost/spirit/include/classic.hpp:11,
from /usr/local/include/boost/property_tree/detail/json_parser_read.hpp:18,
from /usr/local/include/boost/property_tree/json_parser.hpp:14,
from Main/../Database/../Util/Util.h:88,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:140:34: error: ‘been_here’ was not declared in this scope
boost::call_once(been_here, mutex_init);
^~~~~~~~~
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:141:24: error: ‘mutex’ is not a member of ‘boost’
boost::mutex &mutex = mutex_instance();
^~~~~
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:141:24: note: suggested alternative:
In file included from /usr/include/c++/7/mutex:43:0,
from Main/../Database/../Util/Util.h:73,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/include/c++/7/bits/std_mutex.h:86:9: note: ‘std::mutex’
class mutex : private mutex_base
^~~~~
In file included from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:15:0,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
from /usr/local/include/boost/spirit/home/classic/core.hpp:42,
from /usr/local/include/boost/spirit/home/classic.hpp:24,
from /usr/local/include/boost/spirit/include/classic.hpp:11,
from /usr/local/include/boost/property_tree/detail/json_parser_read.hpp:18,
from /usr/local/include/boost/property_tree/json_parser.hpp:14,
from Main/../Database/../Util/Util.h:88,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:141:31: error: ‘mutex’ was not declared in this scope
boost::mutex &mutex = mutex_instance();
^~~~~
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:141:31: note: suggested alternative:
In file included from /usr/include/c++/7/mutex:43:0,
from Main/../Database/../Util/Util.h:73,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/include/c++/7/bits/std_mutex.h:86:9: note: ‘std::mutex’
class mutex : private mutex_base
^~~~~
In file included from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:15:0,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
from /usr/local/include/boost/spirit/home/classic/core.hpp:42,
from /usr/local/include/boost/spirit/home/classic.hpp:24,
from /usr/local/include/boost/spirit/include/classic.hpp:11,
from /usr/local/include/boost/property_tree/detail/json_parser_read.hpp:18,
from /usr/local/include/boost/property_tree/json_parser.hpp:14,
from Main/../Database/../Util/Util.h:88,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:141:39: error: there are no arguments to ‘mutex_instance’ that depend on a template parameter, so a declaration of ‘mutex_instance’ must be available [-fpermissive]
boost::mutex &mutex = mutex_instance();
^~~~~~~~~~~~~~
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:141:39: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:142:24: error: ‘boost::mutex’ has not been declared
boost::mutex::scoped_lock lock(mutex);
^~~~~
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp: At global scope:
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:166:23: error: ‘mutex’ in namespace ‘boost’ does not name a type
inline boost::mutex &
^~~~~
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp: In static member function ‘static void boost::spirit::classic::impl::object_with_id_base<TagT, IdT>::mutex_init()’:
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:180:13: error: there are no arguments to ‘mutex_instance’ that depend on a template parameter, so a declaration of ‘mutex_instance’ must be available [-fpermissive]
mutex_instance();
^~~~~~~~~~~~~~
In file included from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:23:0,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
from /usr/local/include/boost/spirit/home/classic/core.hpp:42,
from /usr/local/include/boost/spirit/home/classic.hpp:24,
from /usr/local/include/boost/spirit/include/classic.hpp:11,
from /usr/local/include/boost/property_tree/detail/json_parser_read.hpp:18,
from /usr/local/include/boost/property_tree/json_parser.hpp:14,
from Main/../Database/../Util/Util.h:88,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/static.hpp: At global scope:
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/static.hpp:107:16: error: ‘once_flag’ does not name a type
static once_flag constructed;
^~~~~~~~~
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/static.hpp: In constructor ‘boost::spirit::classic::static<T, Tag>::static(Tag)’:
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/static.hpp:72:20: error: ‘call_once’ is not a member of ‘boost’
boost::call_once(&default_ctor::construct, constructed);
^~~~~~~~~
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/static.hpp:72:20: note: suggested alternative:
In file included from Main/../Database/../Util/Util.h:73:0,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/include/c++/7/mutex:667:5: note: ‘std::call_once’
call_once(once_flag& __once, _Callable&& f, Args&&... args)
^~~~~~~~~
In file included from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:23:0,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
from /usr/local/include/boost/spirit/home/classic/core.hpp:42,
from /usr/local/include/boost/spirit/home/classic.hpp:24,
from /usr/local/include/boost/spirit/include/classic.hpp:11,
from /usr/local/include/boost/property_tree/detail/json_parser_read.hpp:18,
from /usr/local/include/boost/property_tree/json_parser.hpp:14,
from Main/../Database/../Util/Util.h:88,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/static.hpp:72:56: error: ‘constructed’ was not declared in this scope
boost::call_once(&default_ctor::construct, constructed);
^~~~~~~~~~~~
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/static.hpp:72:56: note: suggested alternative: ‘destructor’
boost::call_once(&default_ctor::construct, constructed);
^~~~~~~~~~~~
destructor
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/static.hpp: At global scope:
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/static.hpp:114:5: error: ‘once_flag’ does not name a type
once_flag static<T, Tag>::constructed = BOOST_ONCE_INIT;
^~~~~~~~~
In file included from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:24:0,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
from /usr/local/include/boost/spirit/home/classic/core.hpp:42,
from /usr/local/include/boost/spirit/home/classic.hpp:24,
from /usr/local/include/boost/spirit/include/classic.hpp:11,
from /usr/local/include/boost/property_tree/detail/json_parser_read.hpp:18,
from /usr/local/include/boost/property_tree/json_parser.hpp:14,
from Main/../Database/../Util/Util.h:88,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/thread/tss.hpp: In constructor ‘boost::thread_specific_ptr::thread_specific_ptr()’:
/usr/local/include/boost/thread/tss.hpp:68:29: error: ‘heap_new’ is not a member of ‘boost::detail’
cleanup(detail::heap_new<delete_data>(),detail::do_heap_delete<delete_data>())
^~~~~~~~
/usr/local/include/boost/thread/tss.hpp:68:49: error: expected primary-expression before ‘>’ token
cleanup(detail::heap_new<delete_data>(),detail::do_heap_delete<delete_data>())
^
/usr/local/include/boost/thread/tss.hpp:68:51: error: expected primary-expression before ‘)’ token
cleanup(detail::heap_new<delete_data>(),detail::do_heap_delete<delete_data>())
^
/usr/local/include/boost/thread/tss.hpp:68:61: error: ‘do_heap_delete’ is not a member of ‘boost::detail’
cleanup(detail::heap_new<delete_data>(),detail::do_heap_delete<delete_data>())
^~~~~~~~~~~~~~
/usr/local/include/boost/thread/tss.hpp:68:87: error: expected primary-expression before ‘>’ token
cleanup(detail::heap_new<delete_data>(),detail::do_heap_delete<delete_data>())
^
/usr/local/include/boost/thread/tss.hpp:68:89: error: expected primary-expression before ‘)’ token
cleanup(detail::heap_new<delete_data>(),detail::do_heap_delete<delete_data>())
^
/usr/local/include/boost/thread/tss.hpp: In constructor ‘boost::thread_specific_ptr::thread_specific_ptr(void ()(T))’:
/usr/local/include/boost/thread/tss.hpp:74:39: error: ‘heap_new’ is not a member of ‘boost::detail’
cleanup.reset(detail::heap_new<run_custom_cleanup_function>(func_),detail::do_heap_delete<run_custom_cleanup_function>());
^~~~~~~~
/usr/local/include/boost/thread/tss.hpp:74:75: error: expected primary-expression before ‘>’ token
cleanup.reset(detail::heap_new<run_custom_cleanup_function>(func_),detail::do_heap_delete<run_custom_cleanup_function>());
^
/usr/local/include/boost/thread/tss.hpp:74:92: error: ‘do_heap_delete’ is not a member of ‘boost::detail’
.reset(detail::heap_new<run_custom_cleanup_function>(func_),detail::do_heap_delete<run_custom_cleanup_function>());
^~~~~~~~~~~~~~
/usr/local/include/boost/thread/tss.hpp:74:134: error: expected primary-expression before ‘>’ token
leanup_function>(func_),detail::do_heap_delete<run_custom_cleanup_function>());
^
/usr/local/include/boost/thread/tss.hpp:74:136: error: expected primary-expression before ‘)’ token
leanup_function>(func_),detail::do_heap_delete<run_custom_cleanup_function>());
^
In file included from /usr/local/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21:0,
from /usr/local/include/boost/spirit/home/classic/core.hpp:42,
from /usr/local/include/boost/spirit/home/classic.hpp:24,
from /usr/local/include/boost/spirit/include/classic.hpp:11,
from /usr/local/include/boost/property_tree/detail/json_parser_read.hpp:18,
from /usr/local/include/boost/property_tree/json_parser.hpp:14,
from Main/../Database/../Util/Util.h:88,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp: At global scope:
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:110:16: error: ‘mutex’ in namespace ‘boost’ does not name a type
boost::mutex & mutex()
^~~~~
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:118:16: error: ‘mutex’ in namespace ‘boost’ does not name a type
boost::mutex m;
^~~~~
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp: In member function ‘boost::spirit::classic::impl::grammar_helper<GrammarT, DerivedT, ScannerT>::definition_t& boost::spirit::classic::impl::grammar_helper<GrammarT, DerivedT, ScannerT>::define(const grammar_t)’:
/usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:181:20: error: ‘boost::mutex’ has not been declared
boost::mutex::scoped_lock lock(helpers.mutex());
^~~~~
In file included from /usr/local/include/boost/multi_index/identity.hpp:24:0,
from /usr/local/include/boost/multi_index_container_fwd.hpp:17,
from /usr/local/include/boost/multi_index_container.hpp:30,
from /usr/local/include/boost/property_tree/ptree.hpp:21,
from Main/../Database/../Util/Util.h:87,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/type_traits/is_convertible.hpp: In instantiation of ‘const bool boost::detail::is_convertible_basic_impl<boost::filesystem3::directory_iterator&, boost::filesystem3::directory_iterator>::value’:
/usr/local/include/boost/type_traits/is_convertible.hpp:295:5: required from ‘const bool boost::detail::is_convertible_impl<boost::filesystem3::directory_iterator, boost::filesystem3::directory_iterator>::value’
/usr/local/include/boost/type_traits/is_convertible.hpp:418:1: required from ‘struct boost::is_convertible<boost::filesystem3::directory_iterator, boost::filesystem3::directory_iterator>’
/usr/local/include/boost/mpl/aux_/nested_type_wknd.hpp:26:31: required from ‘struct boost::mpl::aux::nested_type_wknd<boost::is_convertible<boost::filesystem3::directory_iterator, boost::filesystem3::directory_iterator> >’
/usr/local/include/boost/mpl/aux_/preprocessed/gcc/or.hpp:48:8: required from ‘struct boost::mpl::or_<boost::is_convertible<boost::filesystem3::directory_iterator, boost::filesystem3::directory_iterator>, boost::is_convertible<boost::filesystem3::directory_iterator, boost::filesystem3::directory_iterator>, mpl_::bool_, mpl_::bool_, mpl_::bool_ >’
/usr/local/include/boost/iterator/detail/enable_if.hpp:68:12: required from ‘struct boost::iterators::enable_if<boost::mpl::or_<boost::is_convertible<boost::filesystem3::directory_iterator, boost::filesystem3::directory_iterator>, boost::is_convertible<boost::filesystem3::directory_iterator, boost::filesystem3::directory_iterator>, mpl_::bool_, mpl_::bool_, mpl_::bool_ >, bool>’
/usr/local/include/boost/iterator/iterator_facade.hpp:67:12: required from ‘struct boost::detail::enable_if_interoperable<boost::filesystem3::directory_iterator, boost::filesystem3::directory_iterator, bool>’
/usr/local/include/boost/iterator/iterator_facade.hpp:837:3: required by substitution of ‘template<class Derived1, class V1, class TC1, class Reference1, class Difference1, class Derived2, class V2, class TC2, class Reference2, class Difference2> typename boost::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::detail::always_bool2, Derived1, Derived2>::type>::type boost::operator!=(const boost::iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const boost::iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = boost::filesystem3::directory_iterator; V1 = boost::filesystem3::directory_entry; TC1 = boost::single_pass_traversal_tag; Reference1 = boost::filesystem3::directory_entry&; Difference1 = long int; Derived2 = boost::filesystem3::directory_iterator; V2 = boost::filesystem3::directory_entry; TC2 = boost::single_pass_traversal_tag; Reference2 = boost::filesystem3::directory_entry&; Difference2 = long int]’
/usr/local/include/boost/filesystem/v3/operations.hpp:691:49: required from here
/usr/local/include/boost/type_traits/is_convertible.hpp:135:75: error: use of deleted function ‘boost::filesystem3::directory_iterator::directory_iterator(const boost::filesystem3::directory_iterator&)’
atic bool const value = sizeof( boost::detail::checker::_m_check(_m_from, 0) )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /usr/local/include/boost/filesystem.hpp:36:0,
from Main/../Database/../Util/Util.h:91,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/filesystem/v3/operations.hpp:581:9: note: ‘boost::filesystem3::directory_iterator::directory_iterator(const boost::filesystem3::directory_iterator&)’ is implicitly deleted because the default definition would be ill-formed:
class directory_iterator
^~~~~~~~~~~~~~~~~~
/usr/local/include/boost/filesystem/v3/operations.hpp:581:9: error: use of deleted function ‘boost::shared_ptrboost::filesystem3::detail::dir_itr_imp::shared_ptr(const boost::shared_ptrboost::filesystem3::detail::dir_itr_imp&)’
In file included from /usr/local/include/boost/shared_ptr.hpp:17:0,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:14,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:15,
from /usr/local/include/boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
from /usr/local/include/boost/spirit/home/classic/core.hpp:42,
from /usr/local/include/boost/spirit/home/classic.hpp:24,
from /usr/local/include/boost/spirit/include/classic.hpp:11,
from /usr/local/include/boost/property_tree/detail/json_parser_read.hpp:18,
from /usr/local/include/boost/property_tree/json_parser.hpp:14,
from Main/../Database/../Util/Util.h:88,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/smart_ptr/shared_ptr.hpp:168:25: note: ‘boost::shared_ptrboost::filesystem3::detail::dir_itr_imp::shared_ptr(const boost::shared_ptrboost::filesystem3::detail::dir_itr_imp&)’ is implicitly declared as deleted because ‘boost::shared_ptrboost::filesystem3::detail::dir_itr_imp’ declares a move constructor or move assignment operator
template class shared_ptr
^~~~~~~~~~
In file included from /usr/local/include/boost/multi_index/identity.hpp:24:0,
from /usr/local/include/boost/multi_index_container_fwd.hpp:17,
from /usr/local/include/boost/multi_index_container.hpp:30,
from /usr/local/include/boost/property_tree/ptree.hpp:21,
from Main/../Database/../Util/Util.h:87,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/type_traits/is_convertible.hpp:128:41: note: initializing argument 1 of ‘static boost::type_traits::yes_type boost::detail::checker::_m_check(T, int) [with T = boost::filesystem3::directory_iterator; boost::type_traits::yes_type = char]’
static boost::type_traits::yes_type _m_check(T, int);
^~~~~~~~
In file included from Main/../Database/../Util/Util.h:96:0,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/include/boost/utility/string_ref.hpp: At global scope:
/usr/include/boost/utility/string_ref.hpp:65:43: error: expected ‘;’ at end of member declaration
BOOST_CONSTEXPR basic_string_ref () BOOST_NOEXCEPT
^
/usr/include/boost/utility/string_ref.hpp:65:45: error: ‘BOOST_NOEXCEPT’ does not name a type; did you mean ‘BOOST_NO_CONCEPTS’?
BOOST_CONSTEXPR basic_string_ref () BOOST_NOEXCEPT
^~~~~~~~~~~~~~
BOOST_NO_CONCEPTS
/usr/include/boost/utility/string_ref.hpp:70:70: error: expected ‘;’ at end of member declaration
BOOST_CONSTEXPR basic_string_ref (const basic_string_ref &rhs) BOOST_NOEXCEPT
^
/usr/include/boost/utility/string_ref.hpp:70:72: error: ‘BOOST_NOEXCEPT’ does not name a type; did you mean ‘BOOST_NO_CONCEPTS’?
BOOST_CONSTEXPR basic_string_ref (const basic_string_ref &rhs) BOOST_NOEXCEPT
^~~~~~~~~~~~~~
BOOST_NO_CONCEPTS
/usr/include/boost/utility/string_ref.hpp:77:64: error: expected ‘;’ at end of member declaration
basic_string_ref& operator=(const basic_string_ref &rhs) BOOST_NOEXCEPT
^
/usr/include/boost/utility/string_ref.hpp:77:66: error: ‘BOOST_NOEXCEPT’ does not name a type; did you mean ‘BOOST_NO_CONCEPTS’?
basic_string_ref& operator=(const basic_string_ref &rhs) BOOST_NOEXCEPT
^~~~~~~~~~~~~~
BOOST_NO_CONCEPTS
/usr/include/boost/utility/string_ref.hpp:88:42: error: expected ‘;’ at end of member declaration
basic_string_ref(const charT str) BOOST_NOEXCEPT
^
/usr/include/boost/utility/string_ref.hpp:88:44: error: ‘BOOST_NOEXCEPT’ does not name a type; did you mean ‘BOOST_NO_CONCEPTS’?
basic_string_ref(const charT str) BOOST_NOEXCEPT
^~~~~~~~~~~~~~
BOOST_NO_CONCEPTS
/usr/include/boost/utility/string_ref.hpp:102:73: error: expected ‘;’ at end of member declaration
BOOST_CONSTEXPR basic_string_ref(const charT str, size_type len) BOOST_NOEXCEPT
^
/usr/include/boost/utility/string_ref.hpp:102:75: error: ‘BOOST_NOEXCEPT’ does not name a type; did you mean ‘BOOST_NO_CONCEPTS’?
BOOST_CONSTEXPR basic_string_ref(const charT* str, size_type len) BOOST_NOEXCEPT
^~~~~~~~~~~~~~
BOOST_NO_CONCEPTS
In file included from /usr/local/include/boost/functional/hash/hash.hpp:535:0,
from /usr/local/include/boost/functional/hash.hpp:6,
from Main/../Database/../Util/Util.h:98,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/functional/hash/extensions.hpp:38:33: error: ‘template<class T, class A> std::size_t boost::hash_value’ conflicts with a previous declaration
std::size_t hash_value(std::list<T, A> const& v);
^~~~
/usr/local/include/boost/functional/hash/extensions.hpp:36:17: note: previous declaration ‘namespace boost { }::hash_value’
std::size_t hash_value(std::vector<T, A> const&);
^~~~~~~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:38:28: error: reference to ‘list’ is ambiguous
std::size_t hash_value(std::list<T, A> const& v);
^~~
In file included from /usr/local/include/boost/functional/hash/extensions.hpp:17:0,
from /usr/local/include/boost/functional/hash/hash.hpp:535,
from /usr/local/include/boost/functional/hash.hpp:6,
from Main/../Database/../Util/Util.h:98,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/detail/container_fwd.hpp:85:47: note: candidates are: template<class T, class Allocator> class std::list
template <class T, class Allocator> class list;
^~~~
In file included from /usr/include/c++/7/list:63:0,
from Main/../Database/../Util/Util.h:63,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/include/c++/7/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from /usr/local/include/boost/functional/hash/hash.hpp:535:0,
from /usr/local/include/boost/functional/hash.hpp:6,
from Main/../Database/../Util/Util.h:98,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/functional/hash/extensions.hpp:38:39: error: expected primary-expression before ‘,’ token
std::size_t hash_value(std::list<T, A> const& v);
^
/usr/local/include/boost/functional/hash/extensions.hpp:38:42: error: expected primary-expression before ‘>’ token
std::size_t hash_value(std::list<T, A> const& v);
^
/usr/local/include/boost/functional/hash/extensions.hpp:38:44: error: expected primary-expression before ‘const’
std::size_t hash_value(std::list<T, A> const& v);
^~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:38:52: error: expression list treated as compound expression in initializer [-fpermissive]
std::size_t hash_value(std::list<T, A> const& v);
^
/usr/local/include/boost/functional/hash/extensions.hpp:69:33: error: ‘template<class T, class A> std::size_t boost::hash_value’ conflicts with a previous declaration
std::size_t hash_value(std::list<T, A> const& v)
^~~~
/usr/local/include/boost/functional/hash/extensions.hpp:51:17: note: previous declaration ‘namespace boost { }::hash_value’
std::size_t hash_value(std::complex const&);
^~~~~~~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:69:28: error: reference to ‘list’ is ambiguous
std::size_t hash_value(std::list<T, A> const& v)
^~~
In file included from /usr/local/include/boost/functional/hash/extensions.hpp:17:0,
from /usr/local/include/boost/functional/hash/hash.hpp:535,
from /usr/local/include/boost/functional/hash.hpp:6,
from Main/../Database/../Util/Util.h:98,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/detail/container_fwd.hpp:85:47: note: candidates are: template<class T, class Allocator> class std::list
template <class T, class Allocator> class list;
^~~~
In file included from /usr/include/c++/7/list:63:0,
from Main/../Database/../Util/Util.h:63,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/include/c++/7/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from /usr/local/include/boost/functional/hash/hash.hpp:535:0,
from /usr/local/include/boost/functional/hash.hpp:6,
from Main/../Database/../Util/Util.h:98,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/functional/hash/extensions.hpp:69:39: error: expected primary-expression before ‘,’ token
std::size_t hash_value(std::list<T, A> const& v)
^
/usr/local/include/boost/functional/hash/extensions.hpp:69:42: error: expected primary-expression before ‘>’ token
std::size_t hash_value(std::list<T, A> const& v)
^
/usr/local/include/boost/functional/hash/extensions.hpp:69:44: error: expected primary-expression before ‘const’
std::size_t hash_value(std::list<T, A> const& v)
^~~~~
/usr/local/include/boost/functional/hash/extensions.hpp:69:52: error: expression list treated as compound expression in initializer [-fpermissive]
std::size_t hash_value(std::list<T, A> const& v)
^
/usr/local/include/boost/functional/hash/extensions.hpp:70:5: error: expected ‘;’ before ‘{’ token
{
^
In file included from Main/../Database/Database.h:14:0,
from Main/gexport.cpp:8:
Main/../Database/Join.h:20:9: error: reference to ‘list’ is ambiguous
typedef list TableType;
^~~~
In file included from /usr/include/c++/7/list:63:0,
from Main/../Database/../Util/Util.h:63,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/include/c++/7/bits/stl_list.h:503:11: note: candidates are: template<class _Tp, class _Alloc> class std::__cxx11::list
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from /usr/local/include/boost/functional/hash/extensions.hpp:17:0,
from /usr/local/include/boost/functional/hash/hash.hpp:535,
from /usr/local/include/boost/functional/hash.hpp:6,
from Main/../Database/../Util/Util.h:98,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/detail/container_fwd.hpp:85:47: note: template<class T, class Allocator> class std::list
template <class T, class Allocator> class list;
^~~~
In file included from Main/../Database/Database.h:14:0,
from Main/gexport.cpp:8:
Main/../Database/Join.h:21:9: error: reference to ‘list’ is ambiguous
typedef list::iterator TableIterator;
^~~~
In file included from /usr/include/c++/7/list:63:0,
from Main/../Database/../Util/Util.h:63,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/include/c++/7/bits/stl_list.h:503:11: note: candidates are: template<class _Tp, class _Alloc> class std::__cxx11::list
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from /usr/local/include/boost/functional/hash/extensions.hpp:17:0,
from /usr/local/include/boost/functional/hash/hash.hpp:535,
from /usr/local/include/boost/functional/hash.hpp:6,
from Main/../Database/../Util/Util.h:98,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/detail/container_fwd.hpp:85:47: note: template<class T, class Allocator> class std::list
template <class T, class Allocator> class list;
^~~~
In file included from Main/../Database/Database.h:14:0,
from Main/gexport.cpp:8:
Main/../Database/Join.h:22:9: error: reference to ‘list’ is ambiguous
typedef list::reverse_iterator TableReverseIterator;
^~~~
In file included from /usr/include/c++/7/list:63:0,
from Main/../Database/../Util/Util.h:63,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/include/c++/7/bits/stl_list.h:503:11: note: candidates are: template<class _Tp, class _Alloc> class std::__cxx11::list
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from /usr/local/include/boost/functional/hash/extensions.hpp:17:0,
from /usr/local/include/boost/functional/hash/hash.hpp:535,
from /usr/local/include/boost/functional/hash.hpp:6,
from Main/../Database/../Util/Util.h:98,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/detail/container_fwd.hpp:85:47: note: template<class T, class Allocator> class std::list
template <class T, class Allocator> class list;
^~~~
In file included from Main/../Database/Database.h:14:0,
from Main/gexport.cpp:8:
Main/../Database/Join.h:67:2: error: ‘TableType’ does not name a type
TableType current_table;
^~~~~~~~~
Main/../Database/Join.h:68:2: error: ‘TableIterator’ does not name a type; did you mean ‘RecordIterator’?
TableIterator new_start; //keep to end() as default
^~~~~~~~~~~~~
RecordIterator
Main/../Database/Join.h:118:26: error: ‘TableIterator’ has not been declared
void add_new_to_results(TableIterator it, unsigned id);
^~~~~~~~~~~~~
In file included from Main/../Database/Database.h:20:0,
from Main/gexport.cpp:8:
Main/../Database/../VSTree/VSTree.h:85:2: error: reference to ‘list’ is ambiguous
std::list free_nid_list;
^~~
In file included from /usr/local/include/boost/functional/hash/extensions.hpp:17:0,
from /usr/local/include/boost/functional/hash/hash.hpp:535,
from /usr/local/include/boost/functional/hash.hpp:6,
from Main/../Database/../Util/Util.h:98,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/local/include/boost/detail/container_fwd.hpp:85:47: note: candidates are: template<class T, class Allocator> class std::list
template <class T, class Allocator> class list;
^~~~
In file included from /usr/include/c++/7/list:63:0,
from Main/../Database/../Util/Util.h:63,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/include/c++/7/bits/stl_list.h:503:11: note: template<class _Tp, class _Alloc> class std::__cxx11::list
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from Main/../Database/Database.h:27:0,
from Main/gexport.cpp:8:
Main/../Database/../Query/GeneralEvaluation.h: In constructor ‘GeneralEvaluation::GeneralEvaluation(VSTree*, KVstore*, StringIndex*, QueryCache*, TYPE_TRIPLE_NUM*, TYPE_TRIPLE_NUM*, TYPE_TRIPLE_NUM*, TYPE_PREDICATE_ID, TYPE_ENTITY_LITERAL_ID, TYPE_ENTITY_LITERAL_ID)’:
Main/../Database/../Query/GeneralEvaluation.h:62:18: warning: ‘GeneralEvaluation::temp_result’ will be initialized after [-Wreorder]
TempResultSet temp_result;
^~~~~~~~~~~
In file included from Main/../Database/Database.h:27:0,
from Main/gexport.cpp:8:
Main/../Database/../Query/GeneralEvaluation.h:46:12: warning: ‘FILE GeneralEvaluation::fp’ [-Wreorder]
FILE* fp;
^~
Main/../Database/../Query/GeneralEvaluation.h:50:3: warning: when initialized here [-Wreorder]
GeneralEvaluation(VSTree _vstree, KVstore _kvstore, StringIndex _stringindex, QueryCache _query_cache, TYPE_TRIPLE_NUM _pre2num,TYPE_TRIPLE_NUM _pre2sub, TYPE_TRIPLE_NUM _pre2obj, TYPE_PREDICATE_ID _limitID_predicate, TYPE_ENTITY_LITERAL_ID _limitID_literal, TYPE_ENTITY_LITERAL_ID _limitID_entity):
^~~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0,
from /usr/include/c++/7/bits/allocator.h:46,
from /usr/include/c++/7/string:41,
from /usr/include/c++/7/bitset:47,
from Main/../Database/../Util/Util.h:51,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/include/c++/7/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up, _Args&& ...) [with _Up = boost::filesystem3::directory_iterator; _Args = {boost::filesystem3::directory_iterator}; _Tp = boost::filesystem3::directory_iterator]’:
/usr/include/c++/7/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up, _Args&& ...) [with _Up = boost::filesystem3::directory_iterator; _Args = {boost::filesystem3::directory_iterator}; _Tp = boost::filesystem3::directory_iterator; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocatorboost::filesystem3::directory_iterator]’
/usr/include/c++/7/bits/vector.tcc:100:30: required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {boost::filesystem3::directory_iterator}; _Tp = boost::filesystem3::directory_iterator; _Alloc = std::allocatorboost::filesystem3::directory_iterator]’
/usr/include/c++/7/bits/stl_vector.h:954:21: required from ‘void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = boost::filesystem3::directory_iterator; _Alloc = std::allocatorboost::filesystem3::directory_iterator; std::vector<_Tp, _Alloc>::value_type = boost::filesystem3::directory_iterator]’
/usr/include/c++/7/bits/stl_stack.h:231:9: required from ‘void std::stack<_Tp, _Sequence>::push(std::stack<_Tp, _Sequence>::value_type&&) [with _Tp = boost::filesystem3::directory_iterator; _Sequence = std::vectorboost::filesystem3::directory_iterator; std::stack<_Tp, _Sequence>::value_type = boost::filesystem3::directory_iterator]’
/usr/local/include/boost/filesystem/v3/operations.hpp:685:65: required from here
/usr/include/c++/7/ext/new_allocator.h:136:4: error: use of deleted function ‘boost::filesystem3::directory_iterator::directory_iterator(const boost::filesystem3::directory_iterator&)’
{ ::new((void )__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/7/deque:62:0,
from /usr/include/c++/7/stack:60,
from Main/../Database/../Util/Util.h:59,
from Main/../Database/Database.h:12,
from Main/gexport.cpp:8:
/usr/include/c++/7/bits/stl_construct.h: In instantiation of ‘void std::_Construct(_T1, _Args&& ...) [with _T1 = boost::filesystem3::directory_iterator; _Args = {boost::filesystem3::directory_iterator}]’:
/usr/include/c++/7/bits/stl_uninitialized.h:83:18: required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iteratorboost::filesystem3::directory_iterator*; _ForwardIterator = boost::filesystem3::directory_iterator; bool _TrivialValueTypes = false]’
/usr/include/c++/7/bits/stl_uninitialized.h:134:15: required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iteratorboost::filesystem3::directory_iterator*; _ForwardIterator = boost::filesystem3::directory_iterator]’
/usr/include/c++/7/bits/stl_uninitialized.h:289:37: required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = std::move_iteratorboost::filesystem3::directory_iterator*; _ForwardIterator = boost::filesystem3::directory_iterator; _Tp = boost::filesystem3::directory_iterator]’
/usr/include/c++/7/bits/stl_uninitialized.h:311:2: required from ‘_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = boost::filesystem3::directory_iterator; _ForwardIterator = boost::filesystem3::directory_iterator; _Allocator = std::allocatorboost::filesystem3::directory_iterator]’
/usr/include/c++/7/bits/vector.tcc:426:6: required from ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {boost::filesystem3::directory_iterator}; _Tp = boost::filesystem3::directory_iterator; _Alloc = std::allocatorboost::filesystem3::directory_iterator; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<boost::filesystem3::directory_iterator*, std::vectorboost::filesystem3::directory_iterator >; typename std::_Vector_base<_Tp, _Alloc>::pointer = boost::filesystem3::directory_iterator*]’
/usr/include/c++/7/bits/vector.tcc:105:21: required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {boost::filesystem3::directory_iterator}; _Tp = boost::filesystem3::directory_iterator; _Alloc = std::allocatorboost::filesystem3::directory_iterator]’
/usr/include/c++/7/bits/stl_vector.h:954:21: required from ‘void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = boost::filesystem3::directory_iterator; _Alloc = std::allocatorboost::filesystem3::directory_iterator; std::vector<_Tp, _Alloc>::value_type = boost::filesystem3::directory_iterator]’
/usr/include/c++/7/bits/stl_stack.h:231:9: required from ‘void std::stack<_Tp, _Sequence>::push(std::stack<_Tp, _Sequence>::value_type&&) [with _Tp = boost::filesystem3::directory_iterator; _Sequence = std::vectorboost::filesystem3::directory_iterator; std::stack<_Tp, _Sequence>::value_type = boost::filesystem3::directory_iterator]’
/usr/local/include/boost/filesystem/v3/operations.hpp:685:65: required from here
/usr/include/c++/7/bits/stl_construct.h:75:7: error: use of deleted function ‘boost::filesystem3::directory_iterator::directory_iterator(const boost::filesystem3::directory_iterator&)’
{ ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
makefile:179: recipe for target '.objs/gexport.o' failed
make: *** [.objs/gexport.o] Error 1
The url in the repo description http://www.icst.pku.edu.cn/intro/leizou/projects/gStore.htm seems to be broken, I get 404
Traceback (most recent call last):
command to send to server:
File "D:/Projects/pcProject/conv_txt/example/PythonAPIExample.py", line 9, in <module>
load LUBM10
gc.load('LUBM10')
File "C:\python\GstoreConnector.py", line 92, in wrapper
if not self._send(full_cmd):
File "C:\python\GstoreConnector.py", line 30, in _send
data = self._pack(msg)
File "C:\python\GstoreConnector.py", line 50, in _pack
data_context.extend(msg)
TypeError: an integer is required
want some help^-^
Can I load n-quads into the store, such as subject predicate object label
or does gStore only work with triples such as subject predicate object
?
after install by docker,bin/gbuild report error
[root@tj03 ~]# docker run -p 9000:80 -it pkumod/gstore:latest
root@5b9bb26750a2:/usr/src/gstore# bin/gbuild lumb ./data/lubm/lubm.nt
Illegal instruction (core dumped)
root@5b9bb26750a2:/usr/src/gstore#
root@5b9bb26750a2:/usr/src/gstore# bin/gbuild lumb1 ./data/lubm1/lubm1.nt
Illegal instruction (core dumped)
on this side: https://github.com/Caesar11/gStore/blob/master/docs/FAQ.md
the link to formats on the FAQ.md file is broken.
Why does gStore report errors that the format of some RDF datasets are not supported?
gStore does not support all RDF formats currently, please see **formats** for details.
The handbook shows this example:
[bookug@localhost gStore]$ bin/gbuild LUBM10.db ./data/LUBM_10.n3
but I get the following error
$ ./bin/gbuild LUBM10.db ./data/LUBM_10.n3
profile: init.conf
the current settings are as below:
key : value
------------------------------------------------------------
buffer_maxium : 100
db_home : .
db_suffix : .db
debug_level : simple
gstore_mode : single
operation_logs : true
thread_maxium : 1000
gbuild...
argc: 3 DB_store:LUBM10.db RDF_data: ./data/LUBM_10.n3
your database can not end with .db
Why are you putting any restriction on the name of the database anyway? It doesn't make sense to me.
cannot find -lclient
there's no rule in makefile to build libclient.a into api/http/cpp/lib
and this directory is empty
Server/web/textarea-caret-position
is an empty git submodule and there's no .gitsubmodule for me to fetch
which cause dockerhub CI autobuild fails
dockerhub autobuild logs attached:
Building in Docker Cloud's infrastructure...
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '140.82.113.3' to the list of known hosts.
fatal: no submodule mapping found in .gitmodules for path 'Server/web/textarea-caret-position'
please ensure the correct public key is added to the list of trusted keys for this repository and the remote branch exists. (128)
Could you please setup an IRC channel for gStore? Perhaps on freenode. Would be really useful to chat and get support.
您好,请问如何统计一次SPARQL查询的冗余结果的数量?谢谢。
gStore/scripts/setup/setup_ubuntu.sh
Line 23 in 4bd610c
there's no package naming libcurl4, which causes libcurl4-openssl-dev
installation ignored. and make
failed with cannot find -lcurl
.
I mean this kind of inference:
Dolphin -> isA -> Mammal
Mammal -> isA -> Animal
Cat -> isA -> Animal
"SELECT Animal" will return both Cat and Dolphin
Main/../Database/../Query/../KVstore/IVTree/node/IVNode.h:87:95: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion]
virtual bool getValue(VList* _vlist, int _index, char*& _str, unsigned& _len) const { return NULL; };
~~~~~~ ^~~~
false
KVstore/IVTree/node/IVNode.h:87:95: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion]
virtual bool getValue(VList* _vlist, int _index, char*& _str, unsigned& _len) const { return NULL; };
~~~~~~ ^~~~
false
KVstore/IVTree/node/IVLeafNode.cpp:123:10: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion]
return NULL;
~~~~~~ ^~~~
false
VSTree/LRUCache.cpp:106:9: warning: unused variable 'vNodeSize' [-Wunused-variable]
size_t vNodeSize = VNode::VNODE_SIZE;
^
Util/Util.cpp:210:7: warning: unused variable 'AppName' [-Wunused-variable]
char AppName[] = "setting";
^
Util/Util.cpp:212:22: warning: unused variable 'keyname' [-Wunused-variable]
char appname[len1], keyname[len1];
^
Util/Util.cpp:214:17: warning: unused variable 'c' [-Wunused-variable]
char *buf, *c;
^
Util/Util.cpp:211:10: warning: unused variable 'KeyName' [-Wunused-variable]
char KeyName[] = "mode";
^
Util/Util.cpp:216:11: warning: unused variable 'fp' [-Wunused-variable]
FILE *fp = NULL;
^
Util/Util.cpp:215:10: warning: unused variable 'buf_i' [-Wunused-variable]
char buf_i[len1], buf_o[len1];
^
Util/Util.cpp:213:10: warning: unused variable 'KeyVal' [-Wunused-variable]
char KeyVal[len1];
^
Util/Util.cpp:209:20: warning: unused variable 'len2' [-Wunused-variable]
const unsigned len2 = 505;
^
Util/Util.cpp:217:9: warning: unused variable 'status' [-Wunused-variable]
int status = 0; // 1 AppName 2 KeyName
^
Util/Util.cpp:212:7: warning: unused variable 'appname' [-Wunused-variable]
char appname[len1], keyname[len1];
^
Util/Util.cpp:214:11: warning: unused variable 'buf' [-Wunused-variable]
char *buf, *c;
^
Util/Util.cpp:215:23: warning: unused variable 'buf_o' [-Wunused-variable]
char buf_i[len1], buf_o[len1];
^
Util/Util.cpp:228:7: warning: unused variable 'appname' [-Wunused-variable]
char appname[len1], keyname[len1];
^
Util/Util.cpp:230:11: warning: unused variable 'buf' [-Wunused-variable]
char *buf, *c;
^
Util/Util.cpp:231:23: warning: unused variable 'buf_o' [-Wunused-variable]
char buf_i[len1], buf_o[len1];
^
Util/Util.cpp:231:10: warning: unused variable 'buf_i' [-Wunused-variable]
char buf_i[len1], buf_o[len1];
^
Util/Util.cpp:233:9: warning: unused variable 'status' [-Wunused-variable]
int status = 0; // 1 AppName 2 KeyName
^
Util/Util.cpp:229:10: warning: unused variable 'KeyVal' [-Wunused-variable]
char KeyVal[len1];
^
Util/Util.cpp:226:7: warning: unused variable 'AppName' [-Wunused-variable]
char AppName[] = "setting";
^
Util/Util.cpp:227:10: warning: unused variable 'KeyName' [-Wunused-variable]
char KeyName[] = "mode";
^
Util/Util.cpp:225:20: warning: unused variable 'len2' [-Wunused-variable]
const unsigned len2 = 505;
^
Util/Util.cpp:228:22: warning: unused variable 'keyname' [-Wunused-variable]
char appname[len1], keyname[len1];
^
Util/Util.cpp:230:17: warning: unused variable 'c' [-Wunused-variable]
char *buf, *c;
^
Util/Util.cpp:232:11: warning: unused variable 'fp' [-Wunused-variable]
FILE *fp = NULL;
^
In file included from Main/gbuild.cpp:11:
In file included from Main/../Database/Database.h:26:
In file included from Main/../Database/../Query/GeneralEvaluation.h:21:
In file included from Main/../Database/../Query/../Parser/QueryParser.h:13:
Main/../Database/../Parser/../Query/QueryTree.h:60:23: error: non-friend class member 'Pattern' cannot have a qualified name
class GroupPattern::Pattern
~~~~~~~~~~~~~~^
Main/../Database/../Parser/../Query/QueryTree.h:85:23: error: non-friend class member 'FilterTree' cannot have a qualified name
class GroupPattern::FilterTree
~~~~~~~~~~~~~~^
Main/../Database/../Parser/../Query/QueryTree.h:119:52: error: non-friend class member 'FilterTreeChild' cannot have a qualified name
class GroupPattern::FilterTree::FilterTreeNode::FilterTreeChild
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
Main/../Database/../Parser/../Query/QueryTree.h:133:23: error: non-friend class member 'Bind' cannot have a qualified name
class GroupPattern::Bind
~~~~~~~~~~~~~~^
Main/../Database/../Parser/../Query/QueryTree.h:142:23: error: non-friend class member 'SubGroupPattern' cannot have a qualified name
class GroupPattern::SubGroupPattern
~~~~~~~~~~~~~~^
... or is it inactive/dead?
It looks very buggy and with very little activity.
Everything I try to do, either I stumble on a bug or get a segfault. I can't even get it to load a single dataset... :-/
First I've built a new database like this
$ ./bin/gbuild LUBM10 ./data/LUBM_10.n3
Then opened the gconsole and this happened
gstore>load LUBM10.db
You should use exactly the same db name as building, which should not end with ".db"
gstore>load LUBM10
load VSTree...
size of VNODE: 23440
LRUCache initial...
LRUCache initial finish
LRU cache built
error, can not open tree file:[./LUBM10.db.db/vs_store/tree_info_file.dat]@VSTree::loadTreeInfo
[1] 16957 segmentation fault ./bin/gconsole
新版改为bin/ghttp lumd启动后,如果还想启动small怎么操作
Operations related with uncertain predicates are more commonly used query request. Why dose the gStore support such operations? Is it due to the efficiency of storage or query?
import sys
sys.path.append('../gStore-master/api/http/python/src')
import GstoreConnector
IP = "http://pkubase.gstore-pku.com"
Port = 80
username = "endpoint"
password = "123"
sparql = """
select ?x where { <澳大利亚> <道路通行> ?z.?x <道路通行> ?z}
"""
gc = GstoreConnector.GstoreConnector(IP, Port, username, password)
res = gc.query("pkubase", "json", sparql)
print(res)
➜ gStore git:(master) make
g++ -c -Wall -O2 -pthread -std=c++11 Main/gbuild.cpp -I./tools/libantlr3c-3.4/ -I./tools/libantlr3c-3.4/include -o .objs/gbuild.o -fopenmp -march=native
clang: error: unsupported option '-fopenmp'
make: *** [.objs/gbuild.o] Error 1
➜ gStore git:(master) which gcc
/usr/bin/gcc
➜ gStore git:(master) gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
用Dockor部署了gStore,通过Java调用接口(gStore文件内提供的GstoreConnector.java内的方法)这个GstoreConnector.java里面只有查询和用户相关的一些接口,没有找到增删改功能。
我怎么才能实现对gStore数据的增删改呢?
20190522 09:21:34 Wait for input...
20190522 09:21:34 Server stopped abnormally, restarting server...
20190522 09:21:34 cannot bind to port 3307. @server::createConnection
20190522 09:21:34 Failed to create connection at port 3307.
请问怎么解决,多谢多谢。
objs/gload.o: file not recognized: file format not recognized.
collect2:ld returned 1 exit status
make:*** [gload] Error 1
Linux OS is CentOS 6.5 x86_64.
Can you tell me what version is the default installed Linux?
1 # -- coding: UTF-8 --
2
3 import sys
4 sys.path.append('/home/z50002826/gStore-master/api/http/python/src')
5 import GstoreConnector
6
8 ## 需要在linux下编译得到可执行文件,才可调用
9 """
10 cd gStore/
11 sudo ./scripts/setup/setup_ubuntu.sh
12 sudo make pre
13 make -j4
14 """
15
16 IP = "pkubase.gstore-pku.com"
17 Port = 80
18 username = "endpoint"
19 password = "123"
34
35 sparql = "select ?x where { <莫妮卡·贝鲁奇> <代表作品> ?x. }"
39 gc = GstoreConnector.GstoreConnector(IP, Port, username, password)
42 res = gc.query("pkubase", "json", sparql, 'GET')
50 print(res)
api 调用的结果 和 网页http://pkubase.gstore-pku.com/上面 运行的结果不一样,编码有问题?
在win下有些测试的需求,比如做benchmark测试,请求都走网络会浪费带宽而且延时也大
Hi,I have gcc,readline,mpich,make installed,but still make failed at last.
[root@localhost gStore]# make
mpicxx -c -Wall -g Main/gloadD.cpp -I./tools/libantlr3c-3.4/ -I./tools/libantlr3c-3.4/include -o .objs/gloadD.o
make: mpicxx: Command not found
make: *** [.objs/gloadD.o] Error 12
Should I install mpicxx?
What's more, the last version, which is with docs details,I excute command :
[root@localhost mygStore]# bin/gload aaa ./data/LUBM_10.n3
profile: init.conf
appname: [setting]
app found!
keyname: mode
key found!
KeyVal: single
gload...
argc: 3 DB_store:aaa RDF_data: ./data/LUBM_10.n3
realpath ./data/LUBM_10.n3 > .tmp/ans.txt
sh: realpath: command not found
ans:
begin encode RDF from : ...
sub2id&pre2id&obj2id: Fail to open :
The docs ,I can't find it in this vesion
My OS is cent os 6.6 x86_64.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.