Git Product home page Git Product logo

duktape-rs's Issues

Unable to compile on Mac OS X

rustc -V
rustc 1.11.0-nightly (5c2a5d449 2016-06-11)

cargo -V
cargo 0.12.0-nightly (ffa147d 2016-06-10)
โžœ  duktape-rs git:(master) cargo build               
    Updating registry `https://github.com/rust-lang/crates.io-index`
 Downloading abort_on_panic v1.0.0
 Downloading log v0.3.6
 Downloading rustc-serialize v0.3.19
 Downloading cesu8 v1.1.0
 Downloading gcc v0.3.28
   Compiling gcc v0.3.28
   Compiling cesu8 v1.1.0
   Compiling rustc-serialize v0.3.19
   Compiling abort_on_panic v1.0.0
   Compiling log v0.3.6
   Compiling duktape_sys v0.0.2 (file:///Users/fro/ethereum/duktape-rs/duktape_sys)
duktape_sys/build.rs:8:15: 8:21 error: unresolved import `std::os::getenv`. There is no `getenv` in `std::os` [E0432]
duktape_sys/build.rs:8 use std::os::{getenv, setenv};
                                     ^~~~~~
duktape_sys/build.rs:8:15: 8:21 help: run `rustc --explain E0432` to see a detailed explanation
duktape_sys/build.rs:8:23: 8:29 error: unresolved import `std::os::setenv`. There is no `setenv` in `std::os` [E0432]
duktape_sys/build.rs:8 use std::os::{getenv, setenv};
                                             ^~~~~~
duktape_sys/build.rs:8:23: 8:29 help: run `rustc --explain E0432` to see a detailed explanation
duktape_sys/build.rs:18:35: 18:44 error: failed to resolve. Use of undeclared type or module `Path` [E0433]
duktape_sys/build.rs:18         include_directories: vec!(Path::new("duktape/src")),
                                                          ^~~~~~~~~
duktape_sys/build.rs:18:30: 18:60 note: in this expansion of vec! (defined in <std macros>)
duktape_sys/build.rs:18:35: 18:44 help: run `rustc --explain E0433` to see a detailed explanation
duktape_sys/build.rs:17:5: 20:49 error: this function takes 2 parameters but 3 parameters were supplied [E0061]
duktape_sys/build.rs:17     gcc::compile_library("libduktape.a", &gcc::Config {
                            ^
duktape_sys/build.rs:17:5: 20:49 help: run `rustc --explain E0061` to see a detailed explanation
duktape_sys/build.rs:19:12: 19:28 error: the trait bound `gcc::Config: std::default::Default` is not satisfied [E0277]
duktape_sys/build.rs:19         .. Default::default()
                                   ^~~~~~~~~~~~~~~~
duktape_sys/build.rs:19:12: 19:28 help: run `rustc --explain E0277` to see a detailed explanation
duktape_sys/build.rs:19:12: 19:28 note: required by `std::default::Default::default`
error: aborting due to 2 previous errors
Build failed, waiting for other jobs to finish...
error: Could not compile `duktape_sys`.

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.