Entware-for-kernel-3x / Entware-ng-3x

Ultimate repo for embedded devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rrdtool-1.2.30-3a - deteriorated package

zd59 opened this issue · comments

commented

Package: <rrdtool-1.2.30-3a>

Package issued: 25-Sep-2017 04:57
For existing package:

  • expected behavior: full package
  • actual behavior: package deteriorated, unusable

This package is severely deteriorated and so unusable!
Entware opkg install rrdtool also installed all dependencies, so above is reality.
After adding several missing pm modules (RRDs.pm, DynaLoader.pm ..) I crashed to wall below:

Wed Oct 4 10:59:37 2017 - WARNING: unable to load module 'system'. Can't locate loadable object for module RRDs in @inc (@inc contains: /tmp/mnt/entware/entware/home/monitorix/lib /usr/lib/monitorix /opt/lib/perl5/5.24 .) at /tmp/mnt/entware/entware/home/monitorix/lib/system.pm line 26.
Compilation failed in require at /tmp/mnt/entware/entware/home/monitorix/lib/system.pm line 26.

As error above suggests, there is at least one missing object module RRDs.so (highly possible more missing).

Please rectify this package as soon as possible with adding ALL missng pm modules and dependent library objects (*.so).

Wish to add Monitorix http://www.monitorix.org/, which is rrdtool dependent, but it is impossible for the above reason.

Platform:

  • the device used was Netgear R7500 V1 Router, Firmware Version (Voxel) V1.0.1.13SF + Entware-ng-3x from 25-Sep-2017

rrdtool package does not have perl modules as dependencies.
Previous version of Entware-3x does not have RRDs.so in all packages.

Please give the exact (and simple) instructions to reproduce the bug with the fresh entware-3x install.

commented
commented

Thank you for a fast response!

Expecting Monitorix installation problems, I written every step I done.
So I attahed two files:

  1. R7500_install_Monitorix.txt - Monitorix install steps
  2. opkg_installed_20171004.txt - date & list of all installed Entware packages.

Please advice me with further instructions to correctly install all needed rrdtool packages, so Monitorix will work.

Big thanks in advance!

Best regards,

Zdenko Dolar

opkg_installed_20171004.txt
R7500_install_Monitorix.txt

Please read https://github.com/Entware-ng/Entware-ng/wiki/Self-installation-of-perl-modules
(take into account entware-ng and entware-3x differences).
The problem you have does not look like entware bug. Closing.

commented

From your post above:
"rrdtool package does not have perl modules as dependencies.
Previous version of Entware-3x does not have RRDs.so in all packages."

What do you mean by last sentence above - .. in all packages?

RRDs.so is a part of a rrdtools package after compilation. Must be compiled for right architecture. This is not a perl module.

Tried your advice to compile a module as you suggested but configure complains "gcc can not compile"
Desperately need full rrdtools compiled (not some parts removed from source) Take look at Monitorix program, that depends on full rrdtools package. Much better then netdata - can review ober a year long logs, which are reasonably small.

Kindly please for help

What do you mean by last sentence above - .. in all packages?

If you (fresh) install all 2000+ packages, you will not find RRDs.so file in /opt dir.

but configure complains "gcc can not compile"

Have you installed gcc and headers as wiki suggests? If gcc was installed - have you examined config.log file?

commented

Hi Again!

Followed your instructions to the letter:
https://github.com/Entware-ng/Entware-ng/wiki/Self-installation-of-perl-modules
and from there:
https://github.com/Entware-ng/Entware-ng/wiki/Using-gcc-%28native-compilation%29
Installed headers are from http://pkg.entware.net/binaries/armv7/include/include.tar.gz

rrdtool-1.2.30 sources, error at:
./configure --prefix=/opt

I included text file with error and following my system configuration and config.log generated.
rrdtool_config_error.txt
config.log

  1. You have used the instructions for Entware-ng without taking into account, that you use Entware-3x (by voxel).
  2. The instructions are for perl modules, not for rrdtool.
  3. We do not provide support for native compilation, sorry. We do not recommend it, you can use it at your own risk.
commented

without taking into account, that you use Entware-3x - Yes I am aware of that.
Can you please point out Entware-3x variant? Can not find it myself.

You should change headers url accordingly. I do not know if Voxel uploads headers.