Open dogcalas opened 7 years ago
Did you install the autoconf
package? It should provide autoreconf
.
I installed autoconf
when I run the command and I get this.
Compiling pagekite v0.1.0 (https://github.com/fabricedesre/pagekite-rs.git#0dc87dba)
error: failed to run custom build command for pagekite v0.1.0 (https://github.com/fabricedesre/pagekite-rs.git#0dc87dba)
process didn't exit successfully: /home/foxbox/foxbox/target/debug/build/pagekite-98502f1e7873fec1/build-script-build
(exit code: 101)
--- stderr
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
thread 'main' panicked at 'Failed to run libpagekite/configure', /home/foxbox/.cargo/git/checkouts/pagekite-rs-22b083423686e593/0dc87db/build.rs:71
stack backtrace:
1: 0x7ff7b5856ebc - std::sys::imp::backtrace::tracing::imp::write::h9c41d2f69e5caabf
at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:42
2: 0x7ff7b585c10e - std::panicking::default_hook::{{closure}}::h1f61f3c769fffe7a
at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/panicking.rs:351
3: 0x7ff7b585bd14 - std::panicking::default_hook::hd5bda4e453dfb4be
at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/panicking.rs:367
4: 0x7ff7b585c4eb - std::panicking::rust_panic_with_hook::hffbc74969c7b5d87
at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/panicking.rs:555
5: 0x7ff7b5831e03 - std::panicking::begin_panic::h0a82ee08bc6f08bc
at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/panicking.rs:517
6: 0x7ff7b5836ec8 - build_script_build::build::h30ee95210b4ff986
at /home/foxbox/.cargo/git/checkouts/pagekite-rs-22b083423686e593/0dc87db/build.rs:71
7: 0x7ff7b58372c0 - build_script_build::main::hb3750c4884967328
at /home/foxbox/.cargo/git/checkouts/pagekite-rs-22b083423686e593/0dc87db/build.rs:102
8: 0x7ff7b5864dca - __rust_maybe_catch_panic
at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libpanic_unwind/lib.rs:98
9: 0x7ff7b585cc56 - std::rt::lang_start::ha0568cc91d8c5b09
at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/panicking.rs:436
at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/panic.rs:361
at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/rt.rs:57
10: 0x7ff7b5837492 - main
11: 0x7ff7b4a3eb44 - __libc_start_main
12: 0x7ff7b5831068 -
Also is installed, shtool.
Look at the packages we install to cross compile in https://github.com/fxbox/foxbox/blob/master/tools/docker/armhf/Dockerfile and check that you have all the needed dependencies (eg. libtool).
After
aptitude install build-essential cpp gcc g++ cpp-4.8 gcc-4.8 g++-4.8 autoconf automake curl file libtool python3 shtool libasound2 libssl-dev libespeak-dev libupnp6-dev libudev-dev libavahi-client-dev libsqlite3-dev libev-dev
and
aptitude upgrade
Still the same error.
Which debian version do you use?
Debian GNU/Linux 8.0.0 Jessie - Official amd64
did you try to cargo clean
before running ./build.sh
again ?
Still troubles with pagekite. The same error. Can I build without that package? I want to get event logs to start my Process mining proyect
There's really no reason to not manage to build on debian. I'll see if I can get that to work with a docker image of debian 8.
Take a look at this PR: https://github.com/fxbox/foxbox/pull/584 This is providing a docker image based on debian jessie, building and packaging worked fine for me.
To use it locally, do:
cd tools/docker
./docker.sh debian8
to build the docker image.
./build.sh debian8
to build foxbox.
If you want a package, run ./package.sh debian8
I run $ RUST_BACKTRACE=1 cargo build
I get this