Comments (3)
Tried building from source and got a different error
$ cargo install --git https://github.com/dflemstr/rq --branch master
...
error: failed to compile `record-query v0.10.4 (https://github.com/dflemstr/rq#8619ccf1)`, intermediate artifacts can be found at `/var/folders/xw/4ttxd3d12t79cv0cb78gwhzc0000gn/T/cargo-installeX6Mzw`
Caused by:
failed to run custom build command for `v8-sys v0.15.0`
Caused by:
process didn't exit successfully: `/var/folders/xw/4ttxd3d12t79cv0cb78gwhzc0000gn/T/cargo-installeX6Mzw/release/build/v8-sys-71d3e4b375a65ca8/build-script-build` (exit code: 1)
--- stdout
cargo:rerun-if-changed=src/v8-trampoline.h
cargo:rerun-if-changed=src/v8-glue.h
cargo:rerun-if-changed=src/v8-glue.cc
-I"/usr/local/include"
-I"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include"
-I"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include"
-I"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include"
-I"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks"
preferring static linking: true
cargo:warning=pkg-config failed, falling back to naïve lib search: Err(Failure { command: "\"pkg-config\" \"--static\" \"--libs\" \"--cflags\" \"v8\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package v8 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `v8.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'v8\' found\n" } })
cargo:rustc-link-search=native=/usr/lib
cargo:rustc-link-search=native=/usr/local/lib
cargo:rustc-link-search=native=/usr/local/opt/icu4c/lib
cargo:rustc-link-lib=static=v8_base
cargo:rustc-link-lib=static=v8_libbase
cargo:rustc-link-lib=static=v8_libsampler
cargo:rustc-link-lib=static=v8_nosnapshot
cargo:rustc-link-lib=static=icui18n
cargo:rustc-link-lib=static=icuuc
cargo:rustc-link-lib=static=icudata
TARGET = Some("x86_64-apple-darwin")
OPT_LEVEL = Some("3")
HOST = Some("x86_64-apple-darwin")
CXX_x86_64-apple-darwin = None
CXX_x86_64_apple_darwin = None
HOST_CXX = None
CXX = None
CXXFLAGS_x86_64-apple-darwin = None
CXXFLAGS_x86_64_apple_darwin = None
HOST_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,sse3,ssse3")
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "src" "-I" "/var/folders/xw/4ttxd3d12t79cv0cb78gwhzc0000gn/T/cargo-installeX6Mzw/release/build/v8-sys-792e4e7104e2248d/out" "-Wall" "-Wextra" "-std=c++11" "-Wall" "-o" "/var/folders/xw/4ttxd3d12t79cv0cb78gwhzc0000gn/T/cargo-installeX6Mzw/release/build/v8-sys-792e4e7104e2248d/out/src/v8-glue.o" "-c" "src/v8-glue.cc"
cargo:warning=In file included from src/v8-glue.cc:1:
cargo:warning=src/v8-glue.h:3:10: fatal error: 'v8.h' file not found
cargo:warning=#include <v8.h>
cargo:warning= ^~~~~~
cargo:warning=1 error generated.
exit code: 1
--- stderr
src/v8-trampoline.h:3:10: fatal error: 'v8.h' file not found
error occurred: Command "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "src" "-I" "/var/folders/xw/4ttxd3d12t79cv0cb78gwhzc0000gn/T/cargo-installeX6Mzw/release/build/v8-sys-792e4e7104e2248d/out" "-Wall" "-Wextra" "-std=c++11" "-Wall" "-o" "/var/folders/xw/4ttxd3d12t79cv0cb78gwhzc0000gn/T/cargo-installeX6Mzw/release/build/v8-sys-792e4e7104e2248d/out/src/v8-glue.o" "-c" "src/v8-glue.cc" with args "c++" did not execute successfully (status code exit code: 1).
from rq.
The latest version no longer depends on v8 and should build successfully on mac!
from rq.
Awesome!! Thanks for the update 😁
from rq.
Related Issues (20)
- fail to build on ubuntu 18.04 using cargo install record-query HOT 1
- JSON5 support? HOT 1
- Improve description
- rq failed to parse valid toml HOT 1
- Not able to select fields HOT 2
- Do not use git desribe in the release HOT 1
- "at" syntax doesn't work starting from 1.0.0 HOT 1
- Is rq still a *query* tool? HOT 4
- Discussion: rq query language HOT 12
- Ordered Map HOT 1
- Protobuf base directory behavior unclear
- Invalid syntax when tapping with Homebrew
- AUR Build fails HOT 4
- Support for config/ini files
- Round trip CBOR -> JSON -> CBOR not working HOT 1
- rq v1.0.2 fails to build with Rust 1.56.1 and Cargo 1.56.0 HOT 7
- How to select a specific field? HOT 1
- Generic installer fails in Docker container
- Package this tool for Debian (apt) repos
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 rq.