Giter VIP home page Giter VIP logo

Comments (8)

CatKang avatar CatKang commented on September 4, 2024

Firstly, Change work directory to $QCONF_PATH$/deps/zookeeper

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.

playgamelxh avatar playgamelxh commented on September 4, 2024

I did, no errors
How to do the next

from qconf.

CatKang avatar CatKang commented on September 4, 2024

Change work directory to $QCONF_PATH$/deps/zookeeper/_install/lib
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.

jimmy1911 avatar jimmy1911 commented on September 4, 2024

@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.

CatKang avatar CatKang commented on September 4, 2024

http://zookeeper-user.578899.n2.nabble.com/AM-PATH-CPPUNIT-not-found-in-library-when-doing-autoreconf-and-or-configure-td3628553.html

Hope this link can help you.

from qconf.

CatKang avatar CatKang commented on September 4, 2024

如果仍然有问题,可以联系我

from qconf.

txl1290 avatar txl1290 commented on September 4, 2024

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.

gaodq avatar gaodq commented on September 4, 2024

可以试一下把deps/zookeeper/aclocal.m4里面的
LIBTOOL='$(SHELL) $(top_builddir)/libtool'改为
LIBTOOL=/usr/bin/libtool

from qconf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.