Code Monkey home page Code Monkey logo

Comments (18)

vsreekanti avatar vsreekanti commented on June 16, 2024

Hi @perry020, can you please let us know what compiler you were using, and what flags you passed to the script? Thanks!

from fluent.

soarway avatar soarway commented on June 16, 2024

[ 16%] No install step for 'zeromq'
[ 17%] Completed 'zeromq'
[ 17%] Built target zeromq
make: *** [all] Error 2

from fluent.

cw75 avatar cw75 commented on June 16, 2024

Hi @soarway, could you please let us know what operating system and compiler you are using? Thanks.

from fluent.

soarway avatar soarway commented on June 16, 2024

@cw75 CentOS Linux release 7.5.1804 (Core)

from fluent.

soarway avatar soarway commented on June 16, 2024

@cw75
[root@AAA vendor]# ls
spdlog yamlcpp zeromq zeromqcpp
[root@AAA vendor]# du -sh .
103M .
[root@AAA vendor]# ls zeromqcpp/
CMakeFiles cmake_install.cmake Makefile zeromqcpp-prefix
[root@AAA vendor]# ls zeromq
CMakeFiles cmake_install.cmake Makefile src tmp
[root@AAA vendor]#

from fluent.

cw75 avatar cw75 commented on June 16, 2024

@soarway were you running with Debug mode or release mode? Did you pass any flag to scrpit/build-all.sh?

from fluent.

soarway avatar soarway commented on June 16, 2024

@cw75 Release mode

from fluent.

cw75 avatar cw75 commented on June 16, 2024

@soarway there should be lines in the middle where it says certain error occurred (in addition to the make: *** [all] Error 2). Could you please let us know what these errors are? Thanks.

from fluent.

soarway avatar soarway commented on June 16, 2024

@cw75
-- [download 68% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 72% complete]
-- [download 73% complete]
-- [download 74% complete]
-- [download 75% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 81% complete]
-- [download 83% complete]
[ 12%] Building CXX object CMakeFiles/flproto.dir/requests.pb.cc.o
In file included from /root/fluent-master/build/requests.pb.cc:4:
/root/fluent-master/build/requests.pb.h:7:10: fatal error: 'string' file not found
#include
^
1 error generated.
make[2]: *** [CMakeFiles/flproto.dir/requests.pb.cc.o] Error 1
make[1]: *** [CMakeFiles/flproto.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
-- [download 84% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 88% complete]
-- [download 89% complete]
-- [download 90% complete]
-- [download 91% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 95% complete]
-- [download 96% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 99% complete]
-- [download 100% complete]
-- Downloading... done

from fluent.

cw75 avatar cw75 commented on June 16, 2024

@soarway which compiler are you using? g++ or clang++?

from fluent.

soarway avatar soarway commented on June 16, 2024

@cw75
[root@iz fluent-master]# ./scripts/build-all.sh
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is Clang 3.4.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done

from fluent.

cw75 avatar cw75 commented on June 16, 2024

@soarway have you run ./scripts/install-dependencies.sh?
could you paste the output when running this script? Your Clang version looks a bit old, and I am not sure if the libc++-dev libc++abi-dev are installed

from fluent.

soarway avatar soarway commented on June 16, 2024

@cw75
[root@aaz fluent-master]# ./scripts/install-dependencies.sh g++
Detected that this is a Fedora-based distribution.
Setting compiler to g++...
Installing the following packages via yum:
* autoconf
* automake
* libtool
* build-essential
* make
All dependencies installed!

[root@az fluent-master]# ./scripts/install-dependencies.sh
Detected that this is a Fedora-based distribution.
No compiler is specified. Default compiler is clang++.
We currently are unable to support clang++ installation on Fedora distributions.
[root@iaz fluent-master]#

[root@i4z fluent-master]# ./scripts/install-dependencies.sh clang++
Detected that this is a Fedora-based distribution.
Setting compiler to clang++...
We currently are unable to support clang++ installation on Fedora distributions.

I'm configuring G++, But when compiling, the compiler is clang++.

from fluent.

soarway avatar soarway commented on June 16, 2024

@cw75 My os : CentOS Linux release 7.5.1804 (Core)

from fluent.

soarway avatar soarway commented on June 16, 2024

@cw75
[root@i4z fluent-master]# yum install gcc-c++ libstdc++-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package gcc-c++-4.8.5-28.el7_5.1.x86_64 already installed and latest version
Package libstdc++-devel-4.8.5-28.el7_5.1.x86_64 already installed and latest version
Nothing to do
[root@i4z fluent-master]# yum install gcc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package gcc-4.8.5-28.el7_5.1.x86_64 already installed and latest version
Nothing to do

from fluent.

cw75 avatar cw75 commented on June 16, 2024

@soarway Could you run ./scripts/build-all.sh -g?
the -g flag should set the compiler to g++

from fluent.

soarway avatar soarway commented on June 16, 2024

@cw75 Use g++, success。
[100%] Built target run_server_handler_tests
Thanks you!

from fluent.

cw75 avatar cw75 commented on June 16, 2024

@soarway 👍

from fluent.

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.