Comments (8)
Firstly, Change work directory to
Then, try commands below step by step and see where error happens
patch -f -p1 -i zookeeper-3.4.5.patch)
./configure --prefix=$QCONF_PATH$/deps/zookeeper/_install
make
make install
from qconf.
I did, no errors
How to do the next
from qconf.
Change work directory to
And execute command "ar x libzookeeper_mt.a"
Let me know if the libzookeeper_mt.a is not exist or any other error happens
You may join our QQ group: 438042718
from qconf.
@CatKang I met the same problem. I executed the commands you mentioned as followed:
patch -f -p1 -i zookeeper-3.4.5.patch
./configure --prefix=$QCONF_PATH$/deps/zookeeper/_install
make
But error occured.The error info is lilke this:
'''
[root@bb089fa2dfae zookeeper]# make
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix=/root/workspace/src/QConf/deps/zookeeper/_install CC=/usr/bin/cc CXX=/usr/bin/c++ --no-create --no-recursion
checking for doxygen... /usr/bin/doxygen
checking for perl... /usr/bin/perl
checking for dot... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
./configure: line 4627: syntax error near unexpected token 1.10.2' ./configure: line 4627:
AM_PATH_CPPUNIT(1.10.2)'
make: *** [config.status] Error 2
'''
from qconf.
Hope this link can help you.
from qconf.
如果仍然有问题,可以联系我
from qconf.
hello @CatKang 我遇到了类似的问题,cmake失败。
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/root/lib/conf_center/QConf/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec2703508724/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec2703508724.dir/build.make CMakeFiles/cmTryCompileExec2703508724.dir/build
gmake[1]: Entering directory /home/root/lib/conf_center/QConf/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/root/lib/conf_center/QConf/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2703508724.dir/CheckFunctionExists.c.o /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec2703508724.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2703508724 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2703508724.dir/link.txt --verbose=1 /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec2703508724.dir/CheckFunctionExists.c.o -o cmTryCompileExec2703508724 -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: ld returned 1 exit status gmake[1]: Leaving directory
/home/root/lib/conf_center/QConf/build/CMakeFiles/CMakeTmp'
gmake[1]: *** [cmTryCompileExec2703508724] Error 1
gmake: *** [cmTryCompileExec2703508724/fast] Error 2
查看了本机的libpthread.a里是有pthread_create的。
from qconf.
可以试一下把deps/zookeeper/aclocal.m4里面的
LIBTOOL='$(SHELL) $(top_builddir)/libtool'改为
LIBTOOL=/usr/bin/libtool
from qconf.
Related Issues (20)
- php7 qconf_manager扩展QConfZK循环操作多个zookeeper报段错误
- python3.7 编译 qconf 扩展 error: command 'clang' failed with exit status 1 HOT 1
- init fail HOT 1
- mac cmake 通过 make 报错了 HOT 6
- qconf获取大量数据失败
- debian10 下编译报错 HOT 1
- how time support etcd
- MacOS 10.15 + Xcode 11.1 编译不过
- mac 启动 Failed to open gdbm file:/usr/local/qconf/dumps/_dump.gdbm; gdbm err:Can't be writer
- 网络中断又恢复后无法拉取配置
- cmake失败报错 HOT 2
- java client多线程调用导致crash
- make error on macOS
- /usr/bin/ld: 找不到 -lpthreads HOT 4
- 更新bash 5的sh启动脚本
- java driver set max buffer 256K in the method of getConf()
- cmake error HOT 3
- Cmake编译报错 HOT 1
- how to solve?
- GO 编译时在此[golang:1.20-alpine]docker镜像内编译失败? HOT 1
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 qconf.