You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
build fails with boost linking errors
This commit is contained in:
@ -6,10 +6,9 @@
|
|||||||
# following a git checkout. It copies static files and shared include
|
# following a git checkout. It copies static files and shared include
|
||||||
# files to the export tree prior to building the software.
|
# files to the export tree prior to building the software.
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
mkdir -p export/{include,lib,etc,share,bin,sbin,post,mysql}
|
mkdir -p export/{include,lib,etc,share,bin,sbin,post,mysql}
|
||||||
if [ ! $$ ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
#TODO: these prebuilt binaries may need to be fetched
|
#TODO: these prebuilt binaries may need to be fetched
|
||||||
#and built as dependencies
|
#and built as dependencies
|
||||||
@ -32,10 +31,6 @@ cp dbcon/mysql/install_calpont_mysql.sh export/mysql/ && \
|
|||||||
cp dbcon/mysql/my.cnf export/mysql/ && \
|
cp dbcon/mysql/my.cnf export/mysql/ && \
|
||||||
cp dbcon/mysql/mysql-Columnstore export/mysql/
|
cp dbcon/mysql/mysql-Columnstore export/mysql/
|
||||||
|
|
||||||
if [ ! $$ ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
cp -p -r utils/net-snmp export/include
|
cp -p -r utils/net-snmp export/include
|
||||||
|
|
||||||
#FIXME:
|
#FIXME:
|
||||||
@ -59,57 +54,29 @@ cp -p -r utils/net-snmp export/include
|
|||||||
## cp -p utils/net-snmp-built-libs/fc6bin/* export/sbin
|
## cp -p utils/net-snmp-built-libs/fc6bin/* export/sbin
|
||||||
## fi
|
## fi
|
||||||
## fi
|
## fi
|
||||||
|
d=utils/net-snmp-built-libs/lib64
|
||||||
## pushd export/lib >/dev/null
|
for lib in libnetsnmpagent.so libnetsnmphelpers.so libnetsnmpmibs.so libnetsnmp.so libnetsnmptrapd.so; do
|
||||||
## for lib in libnetsnmpagent.so libnetsnmphelpers.so libnetsnmpmibs.so libnetsnmp.so libnetsnmptrapd.so; do
|
ln -svf $lib.5.2.1 $d/$lib
|
||||||
## rm -f ${lib} ${lib}.5
|
done
|
||||||
## ln -s ${lib}.5.2.1 ${lib}.5
|
|
||||||
## ln -s ${lib}.5.2.1 ${lib}
|
|
||||||
## done
|
|
||||||
## popd >/dev/null
|
|
||||||
|
|
||||||
#FIXME:
|
#FIXME:
|
||||||
#This is not going to update the version in configure.ac
|
#This is not going to update the version in configure.ac
|
||||||
echo Generating version header
|
echo Generating version header
|
||||||
./build/genVersion.sh
|
./build/genVersion.sh
|
||||||
if [ ! $$ ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo Running GNU autotools to generate build environment
|
echo Running GNU autotools to generate build environment
|
||||||
aclocal
|
aclocal
|
||||||
if [ ! $$ ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
autoconf
|
autoconf
|
||||||
if [ ! $$ ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
autoheader
|
autoheader
|
||||||
if [ ! $$ ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
libtoolize
|
libtoolize
|
||||||
if [ ! $$ ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
automake --add-missing
|
automake --add-missing
|
||||||
if [ ! $$ ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
autoreconf
|
autoreconf
|
||||||
if [ ! $$ ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo GNU autotools environment generation completed successfully
|
echo GNU autotools environment generation completed successfully
|
||||||
|
|
||||||
echo Configuring MariaDB ColumnStore
|
echo Configuring MariaDB ColumnStore
|
||||||
|
|
||||||
./configure
|
./configure
|
||||||
if [ ! $$ ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
#for x in \
|
#for x in \
|
||||||
#$(find . -name '[mM]akefile' \
|
#$(find . -name '[mM]akefile' \
|
||||||
|
14
configure.ac
14
configure.ac
File diff suppressed because one or more lines are too long
@ -44,7 +44,7 @@
|
|||||||
#include "we_define.h"
|
#include "we_define.h"
|
||||||
#include "writeengine.h"
|
#include "writeengine.h"
|
||||||
#include "columnresult.h"
|
#include "columnresult.h"
|
||||||
#include "we_clients.h"
|
#include "../../writeengine/client/we_clients.h"
|
||||||
#include "liboamcpp.h"
|
#include "liboamcpp.h"
|
||||||
|
|
||||||
#if defined(_MSC_VER) && defined(DDLPKGPROC_DLLEXPORT)
|
#if defined(_MSC_VER) && defined(DDLPKGPROC_DLLEXPORT)
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
#include "sessionmanager.h"
|
#include "sessionmanager.h"
|
||||||
#include "distributedenginecomm.h"
|
#include "distributedenginecomm.h"
|
||||||
#include "brmtypes.h"
|
#include "brmtypes.h"
|
||||||
#include "we_clients.h"
|
#include "../../writeengine/client/we_clients.h"
|
||||||
#include "liboamcpp.h"
|
#include "liboamcpp.h"
|
||||||
#include "oamcache.h"
|
#include "oamcache.h"
|
||||||
#include "querystats.h"
|
#include "querystats.h"
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include <iosfwd>
|
#include <iosfwd>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
||||||
#include "we_typeext.h"
|
#include "../../writeengine/shared/we_typeext.h"
|
||||||
#include "columnresult.h"
|
#include "columnresult.h"
|
||||||
#include "bytestream.h"
|
#include "bytestream.h"
|
||||||
#include "joblisttypes.h"
|
#include "joblisttypes.h"
|
||||||
|
@ -49,7 +49,7 @@ using namespace joblist;
|
|||||||
#include "simplefilter.h"
|
#include "simplefilter.h"
|
||||||
#include "aggregatecolumn.h"
|
#include "aggregatecolumn.h"
|
||||||
#include "constantfilter.h"
|
#include "constantfilter.h"
|
||||||
#include "windowfunction.h"
|
#include "../../utils/windowfunction/windowfunction.h"
|
||||||
|
|
||||||
namespace execplan
|
namespace execplan
|
||||||
{
|
{
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include "jobstep.h"
|
#include "jobstep.h"
|
||||||
#include "tuplehashjoin.h"
|
#include "tuplehashjoin.h"
|
||||||
#include "joinpartition.h"
|
#include "joinpartition.h"
|
||||||
#include "prioritythreadpool.h"
|
#include "../../utils/threadpool/prioritythreadpool.h"
|
||||||
|
|
||||||
#ifndef DISKJOINSTEP_H
|
#ifndef DISKJOINSTEP_H
|
||||||
#define DISKJOINSTEP_H
|
#define DISKJOINSTEP_H
|
||||||
|
@ -50,7 +50,6 @@ using namespace dataconvert;
|
|||||||
|
|
||||||
#include "groupconcat.h"
|
#include "groupconcat.h"
|
||||||
|
|
||||||
#include "idborderby.h"
|
|
||||||
using namespace ordering;
|
using namespace ordering;
|
||||||
|
|
||||||
#include "jobstep.h"
|
#include "jobstep.h"
|
||||||
|
@ -34,12 +34,10 @@ using namespace logging;
|
|||||||
#include "rowgroup.h"
|
#include "rowgroup.h"
|
||||||
using namespace rowgroup;
|
using namespace rowgroup;
|
||||||
|
|
||||||
#include "idborderby.h"
|
|
||||||
using namespace ordering;
|
|
||||||
|
|
||||||
#include "jlf_common.h"
|
#include "jlf_common.h"
|
||||||
#include "limitedorderby.h"
|
#include "limitedorderby.h"
|
||||||
|
|
||||||
|
using namespace ordering;
|
||||||
|
|
||||||
namespace joblist
|
namespace joblist
|
||||||
{
|
{
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "rowgroup.h"
|
#include "rowgroup.h"
|
||||||
#include "idborderby.h"
|
#include "../../utils/windowfunction/idborderby.h"
|
||||||
|
|
||||||
|
|
||||||
namespace joblist
|
namespace joblist
|
||||||
|
@ -53,18 +53,17 @@ using namespace config;
|
|||||||
#include "windowfunctioncolumn.h"
|
#include "windowfunctioncolumn.h"
|
||||||
using namespace execplan;
|
using namespace execplan;
|
||||||
|
|
||||||
#include "windowfunction.h"
|
#include "../../utils/windowfunction/windowfunction.h"
|
||||||
#include "windowfunctiontype.h"
|
#include "../../utils/windowfunction/windowfunctiontype.h"
|
||||||
#include "framebound.h"
|
#include "../../utils/windowfunction/framebound.h"
|
||||||
#include "frameboundrange.h"
|
#include "../../utils/windowfunction/frameboundrange.h"
|
||||||
#include "frameboundrow.h"
|
#include "../../utils/windowfunction/frameboundrow.h"
|
||||||
#include "windowframe.h"
|
#include "../../utils/windowfunction/windowframe.h"
|
||||||
using namespace windowfunction;
|
using namespace windowfunction;
|
||||||
|
|
||||||
#include "rowgroup.h"
|
#include "rowgroup.h"
|
||||||
using namespace rowgroup;
|
using namespace rowgroup;
|
||||||
|
|
||||||
#include "idborderby.h"
|
|
||||||
using namespace ordering;
|
using namespace ordering;
|
||||||
|
|
||||||
#include "funcexp.h"
|
#include "funcexp.h"
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#ifndef JOBLIST_WINDOWFUNCTIONSTEP_H
|
#ifndef JOBLIST_WINDOWFUNCTIONSTEP_H
|
||||||
#define JOBLIST_WINDOWFUNCTIONSTEP_H
|
#define JOBLIST_WINDOWFUNCTIONSTEP_H
|
||||||
|
|
||||||
#include "idborderby.h"
|
#include "../../utils/windowfunction/idborderby.h"
|
||||||
#include "jobstep.h"
|
#include "jobstep.h"
|
||||||
#include "rowgroup.h"
|
#include "rowgroup.h"
|
||||||
#include "windowfunctioncolumn.h"
|
#include "windowfunctioncolumn.h"
|
||||||
|
@ -55,7 +55,7 @@ using namespace execplan;
|
|||||||
|
|
||||||
#include "writeengine.h"
|
#include "writeengine.h"
|
||||||
#include "cacheutils.h"
|
#include "cacheutils.h"
|
||||||
#include "we_clients.h"
|
#include "../writeengine/client/we_clients.h"
|
||||||
#include "dbrm.h"
|
#include "dbrm.h"
|
||||||
#include "IDBPolicy.h"
|
#include "IDBPolicy.h"
|
||||||
#include "utils_utf8.h"
|
#include "utils_utf8.h"
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
#include "bytestream.h"
|
#include "bytestream.h"
|
||||||
#include "dbrm.h"
|
#include "dbrm.h"
|
||||||
#include "batchloader.h"
|
#include "batchloader.h"
|
||||||
#include "we_clients.h"
|
#include "../writeengine/client/we_clients.h"
|
||||||
namespace dmlprocessor
|
namespace dmlprocessor
|
||||||
{
|
{
|
||||||
class BatchInsertProc
|
class BatchInsertProc
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#include "ddlpkg.h"
|
#include "ddlpkg.h"
|
||||||
#include "dmlpkg.h"
|
#include "../../dbcon/dmlpackage/dmlpkg.h"
|
||||||
#define LIBOAM_DLLEXPORT
|
#define LIBOAM_DLLEXPORT
|
||||||
#include "liboamcpp.h"
|
#include "liboamcpp.h"
|
||||||
#undef LIBOAM_DLLEXPORT
|
#undef LIBOAM_DLLEXPORT
|
||||||
|
@ -45,7 +45,6 @@
|
|||||||
#include "batchprimitiveprocessor.h"
|
#include "batchprimitiveprocessor.h"
|
||||||
#include "primitiveserver.h"
|
#include "primitiveserver.h"
|
||||||
#include "umsocketselector.h"
|
#include "umsocketselector.h"
|
||||||
#include "prioritythreadpool.h"
|
|
||||||
|
|
||||||
namespace primitiveprocessor
|
namespace primitiveprocessor
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
#include <boost/thread.hpp>
|
#include <boost/thread.hpp>
|
||||||
|
|
||||||
#include "threadpool.h"
|
#include "threadpool.h"
|
||||||
#include "prioritythreadpool.h"
|
#include "../../utils/threadpool/prioritythreadpool.h"
|
||||||
#include "messagequeue.h"
|
#include "messagequeue.h"
|
||||||
#include "blockrequestprocessor.h"
|
#include "blockrequestprocessor.h"
|
||||||
#include "batchprimitiveprocessor.h"
|
#include "batchprimitiveprocessor.h"
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef NULLVALUEMANIP_H
|
#ifndef NULLVALUEMANIP_H
|
||||||
#define NULLVALUEMANIP_H
|
#define NULLVALUEMANIP_H
|
||||||
|
|
||||||
#include "calpontsystemcatalog.h"
|
#include "../../dbcon/execplan/calpontsystemcatalog.h"
|
||||||
|
|
||||||
namespace utils {
|
namespace utils {
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ using namespace execplan;
|
|||||||
using namespace joblist;
|
using namespace joblist;
|
||||||
|
|
||||||
#ifndef SKIP_UDF
|
#ifndef SKIP_UDF
|
||||||
#include "udfsdk.h"
|
#include "../udfsdk/udfsdk.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace funcexp
|
namespace funcexp
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include <tr1/unordered_map>
|
#include <tr1/unordered_map>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "simpleallocator.h"
|
#include "../common/simpleallocator.h"
|
||||||
|
|
||||||
#ifndef _HASHFIX_
|
#ifndef _HASHFIX_
|
||||||
#define _HASHFIX_
|
#define _HASHFIX_
|
||||||
@ -54,7 +54,7 @@ namespace tr1
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define NO_DATALISTS
|
#define NO_DATALISTS
|
||||||
#include <elementtype.h>
|
#include "../joblist/elementtype.h"
|
||||||
#undef NO_DATALISTS
|
#undef NO_DATALISTS
|
||||||
|
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#include "joiner.h"
|
#include "joiner.h"
|
||||||
#include "fixedallocator.h"
|
#include "fixedallocator.h"
|
||||||
#include "joblisttypes.h"
|
#include "joblisttypes.h"
|
||||||
#include "funcexpwrapper.h"
|
#include "../funcexp/funcexpwrapper.h"
|
||||||
#include "stlpoolallocator.h"
|
#include "stlpoolallocator.h"
|
||||||
#include "hasher.h"
|
#include "hasher.h"
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#include "branchpred.h"
|
#include "branchpred.h"
|
||||||
|
|
||||||
#include "winport.h"
|
#include "../winport/winport.h"
|
||||||
|
|
||||||
namespace rowgroup
|
namespace rowgroup
|
||||||
{
|
{
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#include <boost/thread/condition.hpp>
|
#include <boost/thread/condition.hpp>
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
#include <boost/function.hpp>
|
#include <boost/function.hpp>
|
||||||
#include "winport.h"
|
#include "../winport/winport.h"
|
||||||
|
|
||||||
namespace threadpool
|
namespace threadpool
|
||||||
{
|
{
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|
||||||
#include <my_config.h>
|
//#include <my_config.h>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -23,7 +23,7 @@ using namespace messageqcpp;
|
|||||||
#include "we_messages.h"
|
#include "we_messages.h"
|
||||||
#include "we_clients.h"
|
#include "we_clients.h"
|
||||||
#include "resourcemanager.h"
|
#include "resourcemanager.h"
|
||||||
#include "dmlpkg.h"
|
#include "../../dbcon/dmlpackage/dmlpkg.h"
|
||||||
#include "ddlpackageprocessor.h"
|
#include "ddlpackageprocessor.h"
|
||||||
#include <boost/date_time/gregorian/gregorian.hpp>
|
#include <boost/date_time/gregorian/gregorian.hpp>
|
||||||
using namespace boost::gregorian;
|
using namespace boost::gregorian;
|
||||||
|
@ -24,7 +24,7 @@ using namespace messageqcpp;
|
|||||||
|
|
||||||
#include "we_messages.h"
|
#include "we_messages.h"
|
||||||
#include "we_message_handlers.h"
|
#include "we_message_handlers.h"
|
||||||
#include "dmlpkg.h"
|
#include "../../dbcon/dmlpackage/dmlpkg.h"
|
||||||
#include "we_dmlcommandproc.h"
|
#include "we_dmlcommandproc.h"
|
||||||
using namespace dmlpackage;
|
using namespace dmlpackage;
|
||||||
#include "dmlpackageprocessor.h"
|
#include "dmlpackageprocessor.h"
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#include "brmtypes.h"
|
#include "brmtypes.h"
|
||||||
#include "we_dbrootextenttracker.h"
|
#include "we_dbrootextenttracker.h"
|
||||||
#include "we_tablemetadata.h"
|
#include "we_tablemetadata.h"
|
||||||
#include "we_dctnry.h"
|
#include "../dictionary/we_dctnry.h"
|
||||||
#if defined(_MSC_VER) && defined(WRITEENGINE_DLLEXPORT)
|
#if defined(_MSC_VER) && defined(WRITEENGINE_DLLEXPORT)
|
||||||
#define EXPORT __declspec(dllexport)
|
#define EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "we_dctnry.h"
|
#include "../dictionary/we_dctnry.h"
|
||||||
#include "we_chunkmanager.h"
|
#include "we_chunkmanager.h"
|
||||||
#if defined(_MSC_VER) && defined(WRITEENGINE_DLLEXPORT)
|
#if defined(_MSC_VER) && defined(WRITEENGINE_DLLEXPORT)
|
||||||
#define EXPORT __declspec(dllexport)
|
#define EXPORT __declspec(dllexport)
|
||||||
|
@ -41,7 +41,6 @@ using namespace std;
|
|||||||
#include "brm.h"
|
#include "brm.h"
|
||||||
#include "stopwatch.h"
|
#include "stopwatch.h"
|
||||||
#include "we_colop.h"
|
#include "we_colop.h"
|
||||||
#include "we_dctnry.h"
|
|
||||||
#include "we_type.h"
|
#include "we_type.h"
|
||||||
|
|
||||||
#include "we_colopcompress.h"
|
#include "we_colopcompress.h"
|
||||||
|
@ -39,7 +39,6 @@
|
|||||||
|
|
||||||
#include "we_brm.h"
|
#include "we_brm.h"
|
||||||
#include "we_colop.h"
|
#include "we_colop.h"
|
||||||
#include "we_dctnry.h"
|
|
||||||
#include "we_index.h"
|
#include "we_index.h"
|
||||||
#include "we_tablemetadata.h"
|
#include "we_tablemetadata.h"
|
||||||
#include "we_dbrootextenttracker.h"
|
#include "we_dbrootextenttracker.h"
|
||||||
|
Reference in New Issue
Block a user