Comments (9)
Thanks @herrBez . Got that by install restclient.cpp and libcurl to compile driver
from blockbench.
Hi, I'm not sure about what you ask (and I'm not sure if with the following procedure you will install more things than needed. After all I'm not the developer of this repo)
I report instruction for Ubuntu/Linux not Windows nor Mac:
You need essentially the libcurl
library with the headers and restclient-cpp
with both headers and binary. For the former you can try with the following command:
sudo apt-get install libcurl4-openssl-dev
While for the latter. You need to download the latest release of rest-client https://github.com/mrtazz/restclient-cpp/archive/0.4.4.zip, unzip it and follow the instructions of the README:
./autogen.sh
./configure
make install
Obviously you need the automake tool (sudo apt-get install automake
)
Now you have to go in the directory with the driver source code and execute make. Et voilà you have the binary.
from blockbench.
@starrycheng
Hi it seems that the gcc command that is not known is -fgnu-tm which is
When the option -fgnu-tm is specified, the compiler generates code for the Linux variant of Intel’s current Transactional Memory ABI specification document (Revision 1.1, May 6 2009)
Since you're using Mac OS this could be a problem
from blockbench.
Hi, as pointed out in the README.md you need for the compilation and execution of driver the restclient-cpp library.
from blockbench.
Did you succeed with the configuration of blockbench? (I'm stuck :/)
from blockbench.
@herrBez : Which problem did you see in your configuration? Let me know, hope to help you quickly..
from blockbench.
Hi! @herrBez May I ask what is the concrete command line of the compilation and execution of driver the restclient-cpp library to build the ./driver binary? Thank you!
from blockbench.
@herrBez Hi, thank you for your suggestion. My system is Mac OS and I believe I have install the libcurl and res-client successfully according to the install instructions customized for Mac. when I go to the directory of /blockbench/src/macro/kvstore(which is one of the driver source code directory?) when I execute make
, I encounter the following errors:
bogon:kvstore starry$ make │bogon:macro starry$ kvscore -db parity -threads 1 -P workloads/workloada.spec -txrate 5 -endpoint lo
/Library/Developer/CommandLineTools/usr/bin/make -C core │calhost:8545 -wl ycsb -wt 20
make[1]: Nothing to be done for `all'. │-bash: kvscore: command not found
/Library/Developer/CommandLineTools/usr/bin/make -C db │bogon:macro starry$ kvstore -db parity -threads 1 -P workloads/workloada.spec -txrate 5 -endpoint lo
g++ -std=c++11 -c -g -Wall -fgnu-tm -I../ db_factory.cc -o db_factory.o │calhost:8545 -wl ycsb -wt 20
clang: error: unknown argument: '-fgnu-tm' │-bash: kvstore: command not found
make[1]: *** [db_factory.o] Error 1 │bogon:macro starry$ make
make: *** [db] Error 2
Is the error related to gcc compiler? Or is the error that is caused by mistakenly intalled res-client and libcurl?
from blockbench.
@Bigboss88
Hi, I think I have fixed by removing the -fgnu-tm in the make
file and it works well.
from blockbench.
Related Issues (20)
- missing token address in report resutls HOT 3
- DoNothing experiment in ethereum 2.0
- hyperledger/start-root.sh:.:4: no such file or directory: env.sh HOT 2
- etherstart-mining.sh geth connection refuse HOT 1
- Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease HOT 2
- Please compile the driver in .../src/macro/kvstore HOT 1
- How to send invalid transactions within smallbank?
- Fatal: Unable to attach to remote geth: connection refused HOT 2
- Can a computer be used as a node and a client at the same time HOT 1
- ./driver -db fabric-v1.4 -ops 1000 -threads 4 -txrate 100 -fp stat.txt -endpoint localhost:7041,localhost:7051 HOT 7
- Tendermint configuration
- Can blockbench be used to test the stale (orphan) block rate?
- Does ycsb execute other operations than insert ? (Fabric v2.2)
- A transaction sending problem in the latest version of Ethereum HOT 1
- When Ethereum experiment, the client has no target address
- What shall I do after I change configtx.yaml(Fabric v1.4) HOT 2
- How to adjust parameters in benchmark? HOT 2
- Saturation experience
- fabricv2.2 HOT 4
- Need help with implementing Quorum_raft
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 blockbench.