GithubHelp home page GithubHelp logo

Comments (3)

EverlastingBugstopper avatar EverlastingBugstopper commented on June 11, 2024

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.

dflemstr avatar dflemstr commented on June 11, 2024

The latest version no longer depends on v8 and should build successfully on mac!

from rq.

EverlastingBugstopper avatar EverlastingBugstopper commented on June 11, 2024

Awesome!! Thanks for the update 😁

from rq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.