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

Ultimate repo for embedded devices
GNU General Public License v2.0
42 stars 5 forks source link

rrdtool-1.2.30-3a - deteriorated package #46

Closed zd59 closed 6 years ago

zd59 commented 6 years ago

Package:

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

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:

zyxmon commented 6 years ago

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.

zd59 commented 6 years ago

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

On Wed, Oct 4, 2017 at 2:10 PM, zyxmon notifications@github.com wrote:

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 instructions to reproduce the bug with the fresh entware-3x install.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Entware-for-kernel-3x/Entware-ng-3x/issues/46#issuecomment-334135024, or mute the thread https://github.com/notifications/unsubscribe-auth/AexJ0sSu9RzIhBj4vE43LjAbxFUjZp2kks5so3WZgaJpZM4PteqO .

zd59 commented 6 years ago

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

zyxmon commented 6 years ago

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.

zd59 commented 6 years ago

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

zyxmon commented 6 years ago

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?

zd59 commented 6 years ago

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

zyxmon commented 6 years ago
  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.
zd59 commented 6 years ago

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.

zyxmon commented 6 years ago

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