Comments (7)
提供一下系统环境,版本,gcc版本等信息
from doris.
系统版本:
CentOS Linux release 7.2.1511 (Core)
Derived from Red Hat Enterprise Linux 7.2 (Source)
CentOS Linux release 7.2.1511 (Core)
CentOS Linux release 7.2.1511 (Core)
cpe:/o:centos:centos:7
内核版本:
Linux version 3.10.0-327.el7.x86_64 ([email protected]) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Nov 19 22:10:57 UTC 2015
gcc版本:
[root@localhost ~]# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)
from doris.
贴一下完整的输出日志吧,你是已经编译完成thirdparty,然后使用build.sh编译palo时报的错是吧?
from doris.
是的,thirdparty已经编译完成了
[root@localhost palo-master]# sh build.sh
Apache Ant(TM) version 1.9.2 compiled on June 10 2014
Get params:
BUILD_BE -- 1
BUILD_FE -- 1
CLEAN -- 0
RUN_UT -- 0
Build generated code
make -C script
make[1]: Entering directory `/root/palo/palo-master/gensrc/script'
/root/palo/palo-master/gensrc/script/gen_build_version.sh
make[1]: Leaving directory `/root/palo/palo-master/gensrc/script'
make -C proto
make[1]: Entering directory `/root/palo/palo-master/gensrc/proto'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/palo/palo-master/gensrc/proto'
make -C thrift
make[1]: Entering directory `/root/palo/palo-master/gensrc/thrift'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/palo/palo-master/gensrc/thrift'
make -C parser
make[1]: Entering directory `/root/palo/palo-master/gensrc/parser'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/palo/palo-master/gensrc/parser'
Build Backend
-- GCC version: 4.8.5
-- GCC major version: 4
-- GCC minor version: 8
-- defined PIC_LIB_PATH
-- build gensrc if necessary
make: Entering directory `/root/palo/palo-master/gensrc'
make -C script
make[1]: Entering directory `/root/palo/palo-master/gensrc/script'
/root/palo/palo-master/gensrc/script/gen_build_version.sh
make[1]: Leaving directory `/root/palo/palo-master/gensrc/script'
make -C proto
make[1]: Entering directory `/root/palo/palo-master/gensrc/proto'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/palo/palo-master/gensrc/proto'
make -C thrift
make[1]: Entering directory `/root/palo/palo-master/gensrc/thrift'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/palo/palo-master/gensrc/thrift'
make -C parser
make[1]: Entering directory `/root/palo/palo-master/gensrc/parser'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/palo/palo-master/gensrc/parser'
make: Leaving directory `/root/palo/palo-master/gensrc'
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version 106400
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1315 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:85 (find_package)
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version 106400
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1315 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:85 (find_package)
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version 106400
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1315 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:85 (find_package)
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version 106400
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1315 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:85 (find_package)
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version 106400
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1315 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:85 (find_package)
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version 106400
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1315 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:85 (find_package)
-- Boost version: 1.64.0
-- Found the following Boost libraries:
-- thread
-- regex
-- system
-- filesystem
-- date_time
-- program_options
--
-- LLVM llvm-config found at: /root/palo/palo-master/thirdparty/installed/bin/llvm-config
-- LLVM clang++ found at: /root/palo/palo-master/thirdparty/installed/bin/clang++
-- LLVM opt found at: /root/palo/palo-master/thirdparty/installed/bin/opt
-- GCC version is less than 5.0.0, no need to set -D__GLIBCXX_BITSIZE_INT_N_0=128 and -D__GLIBCXX_TYPE_INT_N_0=__int128
-- CLANG_IR_CXX_FLAGS: -std=gnu++11;-c;-emit-llvm;-D__STDC_CONSTANT_MACROS;-D__STDC_FORMAT_MACROS;-D__STDC_LIMIT_MACROS;-DIR_COMPILE;-DNDEBUG;-DHAVE_INTTYPES_H;-DHAVE_NETINET_IN_H;-DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG;-D__GLIBCXX_BITSIZE_INT_N_0=128;-D__GLIBCXX_TYPE_INT_N_0=__int128;-U_GLIBCXX_USE_FLOAT128
-- LLVM include dir: /root/palo/palo-master/thirdparty/installed/include
-- LLVM lib dir: /root/palo/palo-master/thirdparty/installed/lib
-- LLVM libs: -ldl;/root/palo/palo-master/thirdparty/installed/lib/libLLVMBitReader.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMipo.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMVectorize.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMX86Disassembler.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMX86AsmParser.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMX86CodeGen.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMSelectionDAG.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMAsmPrinter.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMMCParser.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMX86Desc.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMX86Info.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMX86AsmPrinter.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMX86Utils.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMJIT.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMRuntimeDyld.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMExecutionEngine.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMCodeGen.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMObjCARCOpts.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMScalarOpts.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMInstCombine.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMTransformUtils.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMipa.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMAnalysis.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMTarget.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMMC.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMObject.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMCore.a;/root/palo/palo-master/thirdparty/installed/lib/libLLVMSupport.a
-- LLVM compile flags: -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
CMake Error at CMakeLists.txt:272 (string):
string no output variable specified
--
CMake Error at CMakeLists.txt:291 (message):
Currently not support system
-- Configuring incomplete, errors occurred!
See also "/root/palo/palo-master/be/build/CMakeFiles/CMakeOutput.log".
See also "/root/palo/palo-master/be/build/CMakeFiles/CMakeError.log".
CMakeError.log:
Determining if the pthread_create exist failed with the following output:
Change Dir: /root/palo/palo-master/be/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_709a2/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_709a2.dir/build.make CMakeFiles/cmTC_709a2.dir/build
gmake[1]: Entering directory `/root/palo/palo-master/be/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_709a2.dir/CheckSymbolExists.c.o
/usr/bin/cc -o CMakeFiles/cmTC_709a2.dir/CheckSymbolExists.c.o -c /root/palo/palo-master/be/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_709a2
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_709a2.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_709a2.dir/CheckSymbolExists.c.o -o cmTC_709a2 -rdynamic
CMakeFiles/cmTC_709a2.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTC_709a2] Error 1
gmake[1]: Leaving directory `/root/palo/palo-master/be/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTC_709a2/fast] Error 2
File /root/palo/palo-master/be/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /root/palo/palo-master/be/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_69589/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_69589.dir/build.make CMakeFiles/cmTC_69589.dir/build
gmake[1]: Entering directory `/root/palo/palo-master/be/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_69589.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_69589.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_69589
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_69589.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_69589.dir/CheckFunctionExists.c.o -o cmTC_69589 -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTC_69589] Error 1
gmake[1]: Leaving directory `/root/palo/palo-master/be/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTC_69589/fast] Error 2
from doris.
你看下你的系统是否有 lsb_release 这个命令,如果没有,需要安装下
from doris.
还有 有可能需要安装 vim-common
from doris.
感谢,已经编译完成。
from doris.
Related Issues (20)
- [Bug] SQL: INSERT INTO table1 WITH test1 as () SELECT * FROM test Error HOT 1
- [Bug] Routine Load Kafka import error: Offset out of range HOT 4
- [Bug] error msg wrong for set global show_hidden_columns = true
- SparkLoad 同步数据时DateTime 类型数据写入失败[Bug] HOT 1
- [Bug] 集群空载情况下内存过高 没有执行查询 导入等任务 HOT 5
- [Bug] 2.02 streamload 异常 HOT 4
- [Bug] FE 频繁打满64G内存导致宕机,集群上只有Broker Load在定时执行,过一段时间内存就满了 HOT 6
- [Feature] doris外表支持控制读写速度
- [Bug] create table statement doesn't inherit the tag.location.default value in database properties HOT 2
- [Bug] Function signature nowInt8 is not found, Function now get failed, expr is VectorizedFnCall[now](arguments=,return=DateTimeV2) and return type is DateTimeV2 HOT 1
- [Enhancement] Error message indicates an error
- [Bug] be http server not ok HOT 4
- [Bug] Spark doris connector link failure
- [Bug] Be node RPCException HOT 2
- [Bug] [nereids]when query sql uses OR ,incorrect results may be returned HOT 1
- [Bug] [jdbc-catalog]When writing to an external table, it is not written in the field order of insert, but in the field order of the table HOT 2
- [Bug] 2.0.2启动报错 [root@doris-be1_pro bin]# ./start_be.sh ./start_be.sh: 行 353: 102898 非法指令 HOT 1
- [Bug] Hive外部表读取Orc表结构的decimal数据类型时,数据不一致 HOT 3
- [Bug] Doris升级添加FE节点报错 BDBJEJournal.write()catch an exception when writing to database. sleep and retry Commit policy: SIMPLE_MAJORITY required 1 replica. But none were active with this master. HOT 3
- [Bug] Query export with SELECT * INTO OUTFILE does not properly close connection when enable_parallel_outfile = true HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doris.