[Maria-discuss] Compiling
Hi guys, i installed slackware-14 downloaded the mariadb-source of 10.0.3 tar -zxf mariadb.tgz cd mariadb-10.0.3 BUILD/configure-pentium64-max and it stoped at: [ 37%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_yacc.cc.o Linking CXX static library libsql_embedded.a [ 37%] Built target sql_embedded gmake: *** [all] Error 2 the point is... why? any log or something like it to check what happened? -- Roberto Spadim
On 2 Aug 2013, at 12:10, Roberto Spadim <roberto@spadim.com.br> wrote:
Hi guys, i installed slackware-14 downloaded the mariadb-source of 10.0.3 tar -zxf mariadb.tgz cd mariadb-10.0.3 BUILD/configure-pentium64-max
and it stoped at: [ 37%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/sql_yacc.cc.o Linking CXX static library libsql_embedded.a [ 37%] Built target sql_embedded gmake: *** [all] Error 2
the point is... why? any log or something like it to check what happened?
We don't use BUILD/ scripts anymore with MariaDB 5.5 and greater (this includes 10.0.3) See: https://kb.askmonty.org/en/generic-build-instructions/#about-cmake Just do cmake . then make
-- Roberto Spadim
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp
-- Colin Charles, http://bytebot.net/blog/ | twitter: @bytebot | skype: colincharles MariaDB: an enhanced MySQL. Download it at: http://www.mariadb.org/ Open MariaDB/MySQL documentation at the Knowledgebase: http://kb.askmonty.org/
hummmm nice to know, i was using BUILD/ at archlinux without problems... i will try to understand the cmake now, thanks colin! =) i changed to slackware this week, any news is wellcome, archlinux was full of dependency hell, since i'm using servers i think slackware is a bit more stable thanks again
other doubt... if i want the pentium64-max configuration what command should i use ? just cmake .; make ?
nice, i done the configure, but... it don't compile the embedded and the oqgraph engine there's any log that i could send and maybe you (mariadb team) could helpme? 2013/8/2 Roberto Spadim <roberto@spadim.com.br>:
other doubt... if i want the pentium64-max configuration what command should i use ? just cmake .; make ?
-- Roberto Spadim SPAEmpresarial
here the errors of oqgraph that stoped the compiler it's a new compiler (last version of gcc i think) maybe some changes are need most warnings are like this one (virtual function): ---------------- In file included from /home/src/mariadb-10.0.3/mariadb-10.0.3-test/storage/connect/myconn.cpp:45:0: /home/src/mariadb-10.0.3/mariadb-10.0.3-test/storage/connect/valblk.h:27:7: warning: 'class VALBLK' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] class VALBLK : public BLOCK { ---------------- but what stoped compile (make) was this one: ---------------- In file included from /usr/include/boost/graph/adjacency_list.hpp:45:0, from /home/src/mariadb-10.0.3/mariadb-10.0.3-test/storage/oqgraph/graphcore.cc:40: /usr/include/boost/graph/named_graph.hpp: In instantiation of 'void boost::graph::named_graph<Graph, Vertex, VertexProperty>::removing_vertex(Vertex, VertexIterStability) [with VertexIterStability = boost::graph_detail::unstable_tag; Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo>; Vertex = long unsigned int; VertexProperty = open_query::VertexInfo]': /usr/include/boost/graph/detail/adjacency_list.hpp:2203:7: required from 'void boost::remove_vertex(typename Config::vertex_descriptor, boost::vec_adj_list_impl<G, C, B>&) [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo>; Config = boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo>, boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo, boost::no_property, boost::listS>::config; Base = boost::bidirectional_graph_helper_with_property<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo>, boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo, boost::no_property, boost::listS>::config>; typename Config::vertex_descriptor = long unsigned int]' /home/src/mariadb-10.0.3/mariadb-10.0.3-test/storage/oqgraph/graphcore.cc:578:35: required from here /usr/include/boost/graph/named_graph.hpp:318:46: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>' BOOST_STATIC_ASSERT_MSG ((boost::is_base_of<boost::graph_detail::stable_tag, VertexIterStability>::value), "Named graphs cannot use vecS as vertex container and remove vertices; the lack of vertex descriptor stability (which iterator stability is a proxy for) means that the name -> vertex mapping would need to be completely rebuilt after each deletion. See https://svn.boost.org/trac/boost/ticket/7863 for more information and a test case."); ^ make[2]: *** [storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o] Error 1 make[1]: *** [storage/oqgraph/CMakeFiles/oqgraph.dir/all] Error 2 make: *** [all] Error 2 ---------------- here compilers and tools versions (it's slackware linux 14, with last slackware-current packages): ---------------- root@spd1:/home/src/mariadb-10.0.3/mariadb-10.0.3-test# ld --version GNU ld (Linux/GNU Binutils) 2.23.52.0.1.20130226 Copyright 2013 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. root@spd1:/home/src/mariadb-10.0.3/mariadb-10.0.3-test# ldd --version ldd (GNU libc) 2.17 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper. root@spd1:/home/src/mariadb-10.0.3/mariadb-10.0.3-test# gcc --version gcc (GCC) 4.8.1 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. root@spd1:/home/src/mariadb-10.0.3/mariadb-10.0.3-test# g++ --version g++ (GCC) 4.8.1 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. root@spd1:/home/src/mariadb-10.0.3/mariadb-10.0.3-test# make --version GNU Make 3.82 Built for x86_64-slackware-linux-gnu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. root@spd1:/home/src/mariadb-10.0.3/mariadb-10.0.3-test# cmake --version cmake version 2.8.10.2
hum... sorry guys i think the problem is the boost lib, not included in slackware.. i will try to compile without oqgraph only, and try again
On 5 Aug 2013, at 11:48, Roberto Spadim <roberto@spadim.com.br> wrote:
nice, i done the configure, but... it don't compile the embedded and the oqgraph engine there's any log that i could send and maybe you (mariadb team) could helpme?
We have disabled the oqgraph engine since 5.5. Our documentation reflects this now as well
2013/8/2 Roberto Spadim <roberto@spadim.com.br>:
other doubt... if i want the pentium64-max configuration what command should i use ? just cmake .; make ?
-- Roberto Spadim SPAEmpresarial
-- Colin Charles, http://bytebot.net/blog/ | twitter: @bytebot | skype: colincharles MariaDB: an enhanced MySQL. Download it at: http://www.mariadb.org/ Open MariaDB/MySQL documentation at the Knowledgebase: http://kb.askmonty.org/
hum, ok colin, well i know now that BUILD/ is 'disabled' too, but i used the ./configure of BUILD/compile-pentium64-max the plugin=max should now disable the oqgraph right? about the oqgraph, why it was disabled? they stoped the engine development? thanks colin 2013/8/5 Colin Charles <byte@mariadb.com>:
On 5 Aug 2013, at 11:48, Roberto Spadim <roberto@spadim.com.br> wrote:
nice, i done the configure, but... it don't compile the embedded and the oqgraph engine there's any log that i could send and maybe you (mariadb team) could helpme?
We have disabled the oqgraph engine since 5.5. Our documentation reflects this now as well
2013/8/2 Roberto Spadim <roberto@spadim.com.br>:
other doubt... if i want the pentium64-max configuration what command should i use ? just cmake .; make ?
-- Roberto Spadim SPAEmpresarial
-- Colin Charles, http://bytebot.net/blog/ | twitter: @bytebot | skype: colincharles MariaDB: an enhanced MySQL. Download it at: http://www.mariadb.org/ Open MariaDB/MySQL documentation at the Knowledgebase: http://kb.askmonty.org/
-- Roberto Spadim SPAEmpresarial
On 5 Aug 2013, at 22:12, Roberto Spadim <roberto@spadim.com.br> wrote:
hum, ok colin, well i know now that BUILD/ is 'disabled' too, but i used the ./configure of BUILD/compile-pentium64-max the plugin=max should now disable the oqgraph right?
about the oqgraph, why it was disabled? they stoped the engine development? thanks colin
It was always an engine that was "experimental". Maybe it will come back in a later release of if there is more interest (commercial or otherwise). https://kb.askmonty.org/en/mariadb-vs-mysql-features/ The official reason is here: https://kb.askmonty.org/en/oqgraph/ (Due to lack of maintenance, OQGRAPH is disabled in MariaDB 5.5 and later.)
2013/8/5 Colin Charles <byte@mariadb.com>:
On 5 Aug 2013, at 11:48, Roberto Spadim <roberto@spadim.com.br> wrote:
nice, i done the configure, but... it don't compile the embedded and the oqgraph engine there's any log that i could send and maybe you (mariadb team) could helpme?
We have disabled the oqgraph engine since 5.5. Our documentation reflects this now as well
2013/8/2 Roberto Spadim <roberto@spadim.com.br>:
other doubt... if i want the pentium64-max configuration what command should i use ? just cmake .; make ?
-- Roberto Spadim SPAEmpresarial
-- Colin Charles, http://bytebot.net/blog/ | twitter: @bytebot | skype: colincharles MariaDB: an enhanced MySQL. Download it at: http://www.mariadb.org/ Open MariaDB/MySQL documentation at the Knowledgebase: http://kb.askmonty.org/
-- Roberto Spadim SPAEmpresarial
-- Colin Charles, http://bytebot.net/blog/ | twitter: @bytebot | skype: colincharles MariaDB: an enhanced MySQL. Download it at: http://www.mariadb.org/ Open MariaDB/MySQL documentation at the Knowledgebase: http://kb.askmonty.org/
participants (2)
-
Colin Charles
-
Roberto Spadim