Install.sh fails on nightly due to out-of-date deps and possible install script issue
xevix opened this issue · 5 comments
xevix commented
Note: Close this issue if #4 mentions that nightly is not supported.
The error on Rust nightly is the below. It seems regex needs an update.
$ ./install.sh
E: Generated files do not exists.
Build project [yn]: y
N: Build command: `cargo build --release`
Compiling regex v0.1.41
Compiling term-painter v0.2.1
/Users/foobar/.cargo/registry/src/github.com-88ac128001ac3a9a/regex-0.1.41/src/prefix.rs:46:12: 46:24 error: private type in public interface [E0446]
/Users/foobar/.cargo/registry/src/github.com-88ac128001ac3a9a/regex-0.1.41/src/prefix.rs:46 Single(SingleSearch),
^~~~~~~~~~~~
/Users/foobar/.cargo/registry/src/github.com-88ac128001ac3a9a/regex-0.1.41/src/prefix.rs:46:12: 46:24 help: run `rustc --explain E0446` to see a detailed explanation
error: aborting due to previous error
Could not compile `regex`.
To learn more, run the command again with --verbose.
I ran cargo update
then the install script which mostly worked but failed at the install stage.
./install.sh
E: Generated files do not exists.
Build project [yn]: y
N: Build command: `cargo build --release`
Compiling regex-syntax v0.2.5
Compiling libc v0.2.7
Compiling utf8-ranges v0.1.3
Compiling term v0.4.4
Compiling memchr v0.1.10
Compiling aho-corasick v0.5.1
Compiling term-painter v0.2.2
Compiling regex v0.1.55
Compiling dybuk v0.1.0 (file:///Users/foobar/dybuk)
src/main.rs:10:5: 10:27 warning: unused import, #[warn(unused_imports)] on by default
src/main.rs:10 use term_painter::Attr::*;
^~~~~~~~~~~~~~~~~~~~~~
N: Install `dybuk` into `/usr/local/bin/dybuk`
Password:
install: illegal option -- D
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
find: -printf: unknown primary or operator
ticki commented
This has to do with install
. What system are you on?
xevix commented
OSX 10.11.3. The Rust version is recent.
$ rustc --version
rustc 1.8.0-nightly (5a0308aba 2016-02-29)
ticki commented
I don't own an OS X computer, so I don't know how install
differ. If you want to, you could submit a PR.
xevix commented
Ok, I'll have a look.
xevix commented
Ok, cargo install
from the repo seems to work just fine after dependencies update (will open PR for that). I was running the install.sh
script directly.