Comments (23)
@q534953428
how did you install Erlang/OTP?
what does which erl
say? Could you run ls
in the directory where you have erl
?
from emqtt-bench.
换成dorker后可以,我想可能master代码有些兼容问题。谢谢回答!It can be changed to dorker. I think there may be some compatibility issues with the master code. Thank you for your answer
from emqtt-bench.
I tried otp_src_20.3/ and otp_src_22.3 and it didn't work
from emqtt-bench.
Ask for advice
from emqtt-bench.
@q534953428 looks like escript
is not in $PATH. Please make sure that bin
directory of Erlang/OTP distribution is in the $PATH.
from emqtt-bench.
from emqtt-bench.
How do I check?
from emqtt-bench.
wget http://erlang.org/download/otp_src_22.3.tar.gz
tar xzf otp_src_22.3.tar.gz
cd otp_src_22.3
./configure --prefix=/home/erlang --without-javac
make & make install
ln -s /home/erlang/bin/erl /usr/local/bin/erl
export PATH=$PATH:/home/erlang/bin
from emqtt-bench.
Does your distribution have Erlang available? It might be simpler to install from that.
Also, note that OTP 22 is quite old by now, emqtt-bench supports OTP 24 and higher.
from emqtt-bench.
你的发行版有 Erlang 可用吗?从那里安装可能更简单。
另外请注意,OTP 22 现在已经很老了,emqtt-bench 支持 OTP 24 及更高版本。
ok,我试试OTP 24
from emqtt-bench.
A new error message has been reported
Submodule path 'submodules/openssl/wycheproof': checked out '2196000605e45d91097147c9c71f26b72af58003'
./build.sh: 18: ./build.sh: cmake: not found
Makefile:11: recipe for target 'build-nif' failed
make[1]: *** [build-nif] Error 127
make[1]: Leaving directory '/home/deploy/emqtt-bench/_build/default/lib/quicer'
===> Hook for compile failed!
Makefile:12: recipe for target 'compile' failed
make: *** [compile] Error 1
from emqtt-bench.
@q534953428 try this
BUILD_WITHOUT_QUIC=1 make
from emqtt-bench.
Thank you but still failBUILD_WITHOUT_QUIC=1 make
from emqtt-bench.
@q534953428 it's again the old error about escript
. How did you manage to solve it previously?
from emqtt-bench.
Also if you have docker, it might be easier to build binaries using our docker image. For example, for Debian 11 it will look like this:
rm -rf _build
docker run -it --rm -v $(pwd):/w -w /w ghcr.io/emqx/emqx-builder/5.0-33:1.13.4-24.3.4.2-3-debian11 make
We have emqx/emqx-builder images available for many different linux distros, see https://github.com/emqx/emqx-builder/pkgs/container/emqx-builder%2F5.0-33/versions?filters%5Bversion_type%5D=tagged.
from emqtt-bench.
@q534953428这又是关于 的旧错误
escript
。你以前是怎么解决的?
The original otp22, now I use the new otp24, the screenshot above
from emqtt-bench.
A new error message has been reported
Submodule path 'submodules/openssl/wycheproof': checked out '2196000605e45d91097147c9c71f26b72af58003' ./build.sh: 18: ./build.sh: cmake: not found Makefile:11: recipe for target 'build-nif' failed make[1]: *** [build-nif] Error 127 make[1]: Leaving directory '/home/deploy/emqtt-bench/_build/default/lib/quicer' ===> Hook for compile failed!
Makefile:12: recipe for target 'compile' failed make: *** [compile] Error 1
![]()
@q534953428 here you don't have problem with escript. How did you solve it?
from emqtt-bench.
报告了新的错误消息
子模块路径'submodules/openssl/wycheproof':签出'2196000605e45d91097147c9c71f26b72af58003'./build.sh:18:./build.sh:cmake:未找到Makefile:11:目标'build-nif'的配方失败[1] : *** [build-nif] Error 127 make[1]: Leaving directory '/home/deploy/emqtt-bench/_build/default/lib/quicer' ===> Hook for compile failed!
Makefile:12: 目标“编译”的配方失败 make: *** [编译] 错误 1
@q534953428在这里,您对 escript 没有问题。你是怎么解决的?
Upgrade otp24, try again and this is the result
from emqtt-bench.
Yes, I understand. So can you run this command on otp24 where you have escript
?
BUILD_WITHOUT_QUIC=1 make`
from emqtt-bench.
是的我明白。那么你可以在你拥有的 otp24 上运行这个命令吗
escript
?BUILD_WITHOUT_QUIC=1 make`
from emqtt-bench.
是的我明白。那么你可以在你拥有的 otp24 上运行这个命令吗
escript
?BUILD_WITHOUT_QUIC=1 make`
escript
After an error is reported, it is an old error
from emqtt-bench.
The problem is that you linked erl
to /usr/local/bin, but not the rest of erlang binaries.
ln -s /home/erlang/bin/erl /usr/local/bin/erl
Try this:
export PATH=$PATH:/home/erlang/bin
BUILD_WITHOUT_QUIC=1 make
from emqtt-bench.
No, I guess I'll have to use docker. Thank you
from emqtt-bench.
Related Issues (20)
- 最新源码编译最低要求23.2
- exception exit: econnrefused HOT 1
- Problem with ./emqtt_bench conn HOT 2
- Sometimes the `-c` is not work HOT 2
- Getting connect error - eaddrnotavail HOT 1
- window 上应该如何运行此工具 HOT 1
- 0.4.12 and 0.4.13 no bin and escript directories.
- Instead of username+password, how to use clientId+password with emqtt-bench?
- bench script start error HOT 1
- IPv6 support HOT 2
- docker build error HOT 1
- print receive message when run benchmark
- How to define payload content?
- Parameter setting of ca certificate is not supported HOT 1
- Mismatched payload makes emqttbench crash HOT 2
- 980 connection limit HOT 2
- add the option of Reconnect in readme
- client(43769): connect error - {tcp_closed,#Port<0.99717>} client(43769): EXIT for {shutdown,tcp_closed}
- emqtt-bench压测时如何打印客户端的报文信息 HOT 4
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 emqtt-bench.