Comments (13)
I haven't faced such a problem so far...
brew update
might solve this?
from web-frameworks.
I've tried that already. Sadly it doesn't work.
For a bit more info, here's what I get when I run the command manually with the -v
flag
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
"/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -export_dynamic -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.12.0 -o /Users/kevin/tmp/which_is_the_fastest/benchmarker/bin/client -L/usr/lib -L/usr/local/lib -lz -lssl -lcrypto -lz -lcrypto -lz -lpcre -lgc -lpthread /usr/local/Cellar/crystal-lang/0.22.0/src/ext/libcrystal.a -levent -liconv -ldl -lSystem /Library/Developer/CommandLineTools/usr/bin/../lib/clang/8.1.0/lib/darwin/libclang_rt.osx.a
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
from web-frameworks.
Is the problem only for client? What's happen when make crystal
?
from web-frameworks.
make crystal
runs successfully. Here's the output:
make crystal
cd crystal/kemal; shards build --release
Updating https://github.com/kemalcr/kemal.git
Updating https://github.com/luislavena/radix.git
Updating https://github.com/jeromegn/kilt.git
Using kemal (0.18.3)
Using radix (0.3.8)
Installing kilt (0.3.3)
Building: server_crystal_kemal
ln -s -f ../crystal/kemal/bin/server_crystal_kemal bin/.
cd crystal/route.cr; shards build --release
Dependencies are satisfied
Building: server_crystal_route_cr
ln -s -f ../crystal/route.cr/bin/server_crystal_route_cr bin/.
from web-frameworks.
Hmm... 😅
from web-frameworks.
I'm sorry, finally I've solve this problem.
The directory which_is_the_fastest/benchmarker/bin is missing by default, so I've added it.
Could you fetch the lastest repository or make the directory manually?
The fix is here
Thanks and waiting for your feedback or PR!! 😄
from web-frameworks.
@tbrand, an empty directory is not committed on git, that's why is not downloading the benchmarker/bin
folder. You can create benchmarker/bin/.keep
file, then it will always download it. :)
from web-frameworks.
@kelvinst Thanks!
I did it already. Please pull the latest codes.
https://github.com/tbrand/which_is_the_fastest/tree/master/benchmarker
from web-frameworks.
@tbrand I fetched the latest version and I now have a different issue.
When I run the make
command, the benchmarker
binary is not present.
The README says that to run the benchmark, I need to run > bin/benchmarker
but the benchmarker
binary is not present in the bin
directory.
When I list out the files in the bin
directory, here's what I get:
ls bin
total 96
-rw-r--r-- 1 kevin staff 0B May 5 19:42 .gitkeep
lrwxr-xr-x 1 kevin staff 25B May 6 13:12 client -> ../benchmarker/bin/client
lrwxr-xr-x 1 kevin staff 41B May 6 13:11 server_crystal_kemal -> ../crystal/kemal/bin/server_crystal_kemal
lrwxr-xr-x 1 kevin staff 49B May 6 13:11 server_crystal_router_cr -> ../crystal/router.cr/bin/server_crystal_router_cr
lrwxr-xr-x 1 kevin staff 37B May 6 13:10 server_elixir_plug -> ../elixir/plug/bin/server_elixir_plug
lrwxr-xr-x 1 kevin staff 25B May 6 13:11 server_go_echo -> ../go/echo/server_go_echo
lrwxr-xr-x 1 kevin staff 39B May 6 13:11 server_go_gorilla_mux -> ../go/gorilla-mux/server_go_gorilla_mux
lrwxr-xr-x 1 kevin staff 39B May 6 13:10 server_node_express -> ../node/express/bin/server_node_express
lrwxr-xr-x 1 kevin staff 35B May 6 13:10 server_ruby_rails -> ../ruby/rails/bin/server_ruby_rails
lrwxr-xr-x 1 kevin staff 29B May 6 13:10 server_ruby_roda -> ../ruby/roda/server_ruby_roda
lrwxr-xr-x 1 kevin staff 35B May 6 13:10 server_ruby_sinatra -> ../ruby/sinatra/server_ruby_sinatra
lrwxr-xr-x 1 kevin staff 44B May 6 13:11 server_rust_iron -> ../rust/iron/target/release/server_rust_iron
lrwxr-xr-x 1 kevin staff 48B May 6 13:11 server_rust_nickel -> ../rust/nickel/target/release/server_rust_nickel
Listing out the contents of benchmarker/bin
shows only one file named client
from web-frameworks.
What's happen when run make benchmarker
?
from web-frameworks.
I get this message back when I run that command:
make: `benchmarker' is up to date
from web-frameworks.
I've commit a new fix. Could you fetch the latest codes again?
Sorry...
from web-frameworks.
I do close this issue since the problem might be solved.
from web-frameworks.
Related Issues (20)
- [Dart] Add more frameworks HOT 6
- Running tests without postgres
- [PHP] Add Bitrix HOT 2
- [Javascript] Add next.js HOT 2
- Add robyn python framework HOT 3
- drogon HOT 1
- [Gleam] Add mist HOT 8
- Bug in Framework Selection: All Frameworks Appear Regardless of Version and Language
- Check java version displayed HOT 3
- Add CodeBehind Framework HOT 1
- About elysiajs,gin benchmark HOT 3
- [RUST] Add Ntex
- [Go] Add `net/http` package’s router
- [Go] Add go-zero
- Use maven.compiler.release everywhere
- Do not apt-get update on containers if not required
- goravel framework HOT 2
- Real World frameworks flag HOT 13
- add ntex rs HOT 1
- Remove nanomux ? 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 web-frameworks.