Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing INSTALLATION documentation #70

Open
fireproofsocks opened this issue Apr 5, 2019 · 7 comments
Open

Missing INSTALLATION documentation #70

fireproofsocks opened this issue Apr 5, 2019 · 7 comments

Comments

@fireproofsocks
Copy link

Did I overlook this critical info?

@HenkPoley
Copy link

HenkPoley commented May 27, 2019

It's sort of along the lines of:

git clone https://github.com/giltene/wrk2.git
cd wrk2
sudo apt install build-essential # or your distros equivalent of "fetch Clang/GCC and the rest". E.g. yum groupinstall "Development Tools"
make
# find . -type f -print0 | xargs -0 dos2unix # if you get "error: 'recff_rawlen'" during make, and run make again.

@indrayam
Copy link

Will this work on a Mac?

make
Building LuaJIT...
HOSTCC    host/minilua.o
HOSTLINK  host/minilua
ld: library not found for -lgcc_s.10.4
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [host/minilua] Error 1
make: *** [deps/luajit/src/libluajit.a] Error 2

@IRus
Copy link

IRus commented Jul 18, 2019

It described in wiki:
https://github.com/giltene/wrk2/wiki

@abelsromero
Copy link

I am having a slightly differnt issue compiling on MacOS, and none of the suggestions in the wiki work.

BUILDVM   lj_folddef.h
make[1]: *** [lj_folddef.h] Segmentation fault: 11
make[1]: *** Deleting file `lj_folddef.h'
make: *** [deps/luajit/src/libluajit.a] Error 2

@karianna
Copy link

@abelsromero - did you find a workaround? I have the same issue

@karianna
Copy link

make MACOSX_DEPLOYMENT_TARGET=10.14 WFM

@abelsromero
Copy link

😆 new one

LUAJIT src/wrk.lua
./luajit: cannot create state: not enough memory
make: *** [obj/bytecode.o] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants