Comments (9)
Hi Samuel,
I'm trying to figure out what's causing this, have a spare RPi 3B+ to reproduce the error. Thank you for reporting this.
from monolith.
Awesome! Thank you. I'm pretty new to Rust/Cargo but let me know if I can do anything to help.
from monolith.
Hi there Samuel,
I was able to build monolith from the master branch on raspbian with no errors. I used rustup and had to install libssl-dev.
The error that you're getting is likely related to some sort of network issue when cargo tries to retrieve the needed crate. I found a couple of similar issues for other rust projects and that's what people seem to suspect regarding this kind of errors, balena-os/balena-raspberrypi#261
You could also try doing something like mv Cargo.lock Cargo.lock.bak
and trying to build again, maybe it's some sort of issue caused by package versions
from monolith.
I'm encountering the same issue.
bjorn@bjorn-ThinkPad-T420:~/project/monolith$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
bjorn@bjorn-ThinkPad-T420:~/project/monolith$ make
Updating crates.io index
Updating crates.io index
error: no matching package named `native-tls-crate` found
location searched: registry `https://github.com/rust-lang/crates.io-index`
required by package `reqwest v0.10.0`
... which is depended on by `monolith v2.1.2 (/home/bjorn/project/monolith)`
make: *** [Makefile:7: build] Error 101
from monolith.
I was able to cross-compile monolith on my Ubuntu machine using Cargo's built-in cross-compilation functionality:
rustup target add arm-unknown-linux-gnueabihf
git clone https://github.com/raspberrypi/tools.git rpi_tools
RUSTFLAGS="-C linker=rpi_tools/arm-bcm2708/arm-rpi-4.9.3-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc" cargo build --release --target=arm-unknown-linux-gnueabihf
target/arm-unknown-linux-gnueabihf/release/monolith -V
Could you please let me know if you're able to run the binary compiled that way on your Pi? If so, I'll include that into the CI/CD pipeline to release RPi artifacts along with Windows builds.
from monolith.
The latest release includes a prebuilt binary for Raspberry Pi. I tested it on mine RPi 3B+, it works fine.
from monolith.
@snshn Can you also make the pipeline build and upload an x86_64/AMD64 executable with every new release?
from monolith.
Will do!
from monolith.
@snshn Thanks! I'd love to add support for monolith in ginstall.sh once that's done.
from monolith.
Related Issues (20)
- Use sitemap to download cohesive full site? HOT 2
- JS module imports not captured HOT 3
- Outdated Project Reference in README HOT 2
- The page you need to log in cannot be saved after logging in HOT 1
- whole progress failed caused by get favicon.ico HOT 1
- Unicode mangling
- [Feature request] Simple way to permanently store and use Blacklist of domains HOT 13
- [Bug] Data URLs exceed length limits HOT 8
- Incomplete output on broken HTML like https://distrowatch.com/table.php?distribution=void HOT 5
- Save apple-touch-icon too HOT 3
- "https://mp.weixin.qq.com" web title and CSS switch image on click not work
- How to get just HTML, no <script> HOT 1
- Additionally fetch dynamic content HOT 3
- [proposal] An option to remove alternative sources for media urls HOT 1
- HTML page content partially invisible HOT 2
- Site doesnt work HOT 1
- download path ? HOT 1
- Site doesn't work, redirected towards ct.captcha-delivery.com HOT 1
- What's the default location sites are being saved to? HOT 3
- Relax glibc version requirement HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monolith.