Comments (18)
Hi @perry020, can you please let us know what compiler you were using, and what flags you passed to the script? Thanks!
from fluent.
[ 16%] No install step for 'zeromq'
[ 17%] Completed 'zeromq'
[ 17%] Built target zeromq
make: *** [all] Error 2
from fluent.
Hi @soarway, could you please let us know what operating system and compiler you are using? Thanks.
from fluent.
@cw75 CentOS Linux release 7.5.1804 (Core)
from fluent.
@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.
@soarway were you running with Debug mode or release mode? Did you pass any flag to scrpit/build-all.sh
?
from fluent.
@cw75 Release mode
from fluent.
@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.
@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.
@soarway which compiler are you using? g++ or clang++?
from fluent.
@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.
@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.
@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.
@cw75 My os : CentOS Linux release 7.5.1804 (Core)
from fluent.
@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.
@soarway Could you run ./scripts/build-all.sh -g
?
the -g
flag should set the compiler to g++
from fluent.
@cw75 Use g++, success。
[100%] Built target run_server_handler_tests
Thanks you!
from fluent.
@soarway
from fluent.
Related Issues (20)
- Infinite recursion error from FaaS tier HOT 1
- Merge causal & non-causal modes
- DAG not found when there are multiple schedulers HOT 2
- Enable DAGs to contain multiple instances of the same function
- Enable non-sink functions within a DAG to write to KVS HOT 5
- AWS getting started depends on non namespaced env vars HOT 1
- Proposal: Create Docker containers for initialising an AWS cluster HOT 2
- Can Anna loss update when node failed before send merge request to other node? HOT 3
- [zeromqcpp] from 4.3.1, use recv taking a reference to message_t and recv_flags HOT 2
- Consider renaming the project HOT 1
- Suggestion: move to DaemonSet deployments for tasks required on every node HOT 2
- Suggestion: Use Horizontal Pod Autoscaler to manage cluster size HOT 2
- Unify lattices in C++ under a single template HOT 1
- A detailed document HOT 3
- can't find function_server.py
- Support for distributed transactions HOT 5
- shebangs should use python3, not python3.6
- Can't find kvs.pb.h in repository HOT 2
- No module named 'fluent.sender'
- Random KVS server ZMQ error 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 fluent.