Hello,

To fix issue #1 of
rust-pcre<https://github.com/cadencemarseille/rust-pcre/issues/1>,
I am working on a package script that will automatically determine the
proper link_args to use and build the rust-pcre wrapper using those link
args.

For a while I was encountering the following error:
task <unnamed> failed at 'called `Result::unwrap()` on `Err` value: error
opening /usr/local/rustpkg_db.json: Permission denied',
/private/tmp/-DSIK/rust-0.8/src/libstd/result.rs:109
Command return code = 101
task <unnamed> failed at 'Error running custom build command',
/private/tmp/-DSIK/rust-0.8/src/librustpkg/rustpkg.rs:410

but I am working around this issue by copying a rustpkg_db.json file to
/usr/local.

I believe that I have a working "install" command implementation:
https://github.com/cadencemarseille/rust-pcre/blob/master/src/pcre/pkg.rs
However, rustpkg is still failing with:
Running program (configs):
/Users/cadencemarseille/Projects/rust-pcre/build/x86_64-apple-darwin/pcre/pkg
/usr/local configs
Command return code = 101
task <unnamed> failed at 'Error running custom build command',
/private/tmp/-DSIK/rust-0.8/src/librustpkg/rustpkg.rs:410

I think that I now need to write a "configs" command, but I don't know what
this is supposed to do.

What do I need to do for "configs"?

Cadence
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to