HI,
I recently set up my VoCore2 and got it updated to the latest firmware.
It's a cool little device I'd like to use it for some small projects around the house.
I'm trying to use Monit to monitor various sensors but the version of Monit in the opkg repository is a bit out of date and so the alerts don't work the way I would like.
Could someone point me in the right direction on how to build the latest version of Monit from source? (or already has the binary? or could update the opkg repo?). I was able to compile the latest version with a Chip (similar to a RaspberryPi) but the VoCore2 doesn't seem to have the required tools (or space) on it to do this.
Cheers,
Andy
How to build/update Monit package
- SoundWave
- Posts: 3
- Joined: Mon Aug 14, 2017 1:04 am
- Vonger
- Posts: 898
- Joined: Sun Oct 19, 2014 6:00 am
Re: How to build/update Monit package
It must use cross-compile. First you will need to install a Linux computer VM, then download source code or toolchain from vocore.io/v2 or vocore.io/v2.html, you will able to compile it from command line, once it is down, use scp copy it to VoCore.
- SoundWave
- Posts: 3
- Joined: Mon Aug 14, 2017 1:04 am
Re: How to build/update Monit package
Thanks for your reply Vonger.
I set up a Ubuntu 14.04 VM with the toolchain (ensuring it was in the PATH) and ran "./configure --host=mipsel-openwrt-linux-uclibc --without-zlib --without-pam --without-ssl" but I get the error "configure: error: POSIX thread library is required". I have installed all packages I can think of but it still persists. I've tried it on a Ubuntu 16.04 system and that does the same thing.
I know this is getting slightly off topic for the board, but does anyone have any ideas?
Many thanks,
Andy
I set up a Ubuntu 14.04 VM with the toolchain (ensuring it was in the PATH) and ran "./configure --host=mipsel-openwrt-linux-uclibc --without-zlib --without-pam --without-ssl" but I get the error "configure: error: POSIX thread library is required". I have installed all packages I can think of but it still persists. I've tried it on a Ubuntu 16.04 system and that does the same thing.
I know this is getting slightly off topic for the board, but does anyone have any ideas?
Many thanks,
Andy
- Vonger
- Posts: 898
- Joined: Sun Oct 19, 2014 6:00 am
Re: How to build/update Monit package
SoundWave wrote:Thanks for your reply Vonger.
I set up a Ubuntu 14.04 VM with the toolchain (ensuring it was in the PATH) and ran "./configure --host=mipsel-openwrt-linux-uclibc --without-zlib --without-pam --without-ssl" but I get the error "configure: error: POSIX thread library is required". I have installed all packages I can think of but it still persists. I've tried it on a Ubuntu 16.04 system and that does the same thing.
I know this is getting slightly off topic for the board, but does anyone have any ideas?
Many thanks,
Andy
Try to directly compile openwrt from its offical site, might not compatible already.
- SoundWave
- Posts: 3
- Joined: Mon Aug 14, 2017 1:04 am
Re: How to build/update Monit package
When setting up openwrt I couldn't find the correct CPU/architecture type to use in their setup menu so stopped as I didn't think it would work.
5 posts
Page 1 of 1
Who is online
Users browsing this forum: No registered users and 13 guests