htop installation fails

Started by morphxyz, December 04, 2023, 10:37:20 PM

Previous topic - Next topic
My CPU used to sit pretty much idle.
Constantly at 20% now.

Decided to have a look with htop.
Tried to install with https://forum.opnsense.org/index.php?topic=7796.0


root@xxxxx:/usr/ports/sysutils/htop # make install
===>   htop-3.2.2_1 depends on package: pkgconf>=1.3.0_1 - found
===>   htop-3.2.2_1 depends on file: /usr/local/bin/python3.9 - found
===>   htop-3.2.2_1 depends on package: autoconf>=2.71 - not found
===>   autoconf-2.71 depends on executable: gm4 - not found
===>   m4-1.4.19,1 depends on package: libiconv>=1.14_11 - found
===>   m4-1.4.19,1 depends on file: /usr/local/bin/makeinfo - not found
===>   texinfo-7.1,1 depends on executable: help2man - found
===>   texinfo-7.1,1 depends on package: p5-Locale-libintl>=0 - not found
===>   p5-Locale-libintl-1.33 depends on package: perl5>=5.36<5.37 - found
===>   p5-Locale-libintl-1.33 depends on shared library: libiconv.so - found (/usr/local/lib/libiconv.so)
===>  Configuring for p5-Locale-libintl-1.33
env: /usr/local/bin/perl5.36.3: No such file or directory
*** Error code 127

Stop.
make[4]: stopped in /usr/ports/devel/p5-Locale-libintl
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/print/texinfo
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/devel/m4
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/autoconf
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/htop


Any help appreciated

Use top?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Or use mimugmail repo, htop is in there...
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 770 up, Bufferbloat A

ah welp. Thanks! should i remove any of the downloaded opnsense-code? Or is there no concern except disk space?

trying to install htop from mimugmail repo.... but its not there.
Am i missing something ?

Apparently.


# pkg search -f -r mimugmail htop
htop-3.2.2_1
Name           : htop
Version        : 3.2.2_1
Origin         : sysutils/htop
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Repository     : mimugmail [https://opn-repo.routerperformance.net/repo/FreeBSD:13:amd64]
Categories     : sysutils
Licenses       : GPLv2
Maintainer     : gaod@hychen.org
WWW            : https://htop.dev/
Comment        : Better top(1) - interactive process viewer
Options        :
        LSOF           : off
Annotations    :
        FreeBSD_version: 1301000
        cpe            : cpe:2.3:a:htop:htop:3.2.2:::::freebsd13:x64:1
Flat size      : 229KiB
Pkg size       : 89.6KiB
Description    :
htop is an enhanced version of top, the interactive process viewer,
which can display the list of processes in a tree form.

Comparison between 'htop' and 'top'

        * In 'htop' you can scroll the list vertically and horizontally
        to see all processes and full command lines.
        * In 'top' you are subject to a delay for each unassigned
        key you press (especially annoying when multi-key escape
        sequences are triggered by accident).
        * 'htop' starts faster ('top' seems to collect data for a while
        before displaying anything).
        * In 'htop' you don't need to type the process number to
        kill a process, in 'top' you do.
        * In 'htop' you don't need to type the process number or
        the priority value to renice a process, in 'top' you do.
        * In 'htop' you can kill multiple processes at once.
        * 'top' is older, hence, more tested.

I just install the pre-compiled version without issue using this command (assuming amd64 platform).

sudo pkg add https://pkg.freebsd.org/FreeBSD:13:amd64/quarterly/All/htop-3.2.2_1.pkg
HP T730/AMD  RX-427BB/8GB/500GB SSD
HP NC365T 4-PORT

Quote from: gpb on January 02, 2024, 06:24:11 PM
I just install the pre-compiled version without issue using this command (assuming amd64 platform).

sudo pkg add https://pkg.freebsd.org/FreeBSD:13:amd64/quarterly/All/htop-3.2.2_1.pkg

Do you have an updated link? I get back package not found, thank you

Looks like it's here now for current version of OPNsense.

https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/All/htop-3.3.0_2.pkg

When you need to update it, I "delete pkg htop" and then "add pkg htop <url>".  Just updated using this link and it works as expected.
HP T730/AMD  RX-427BB/8GB/500GB SSD
HP NC365T 4-PORT

Quote from: gpb on September 22, 2024, 03:56:03 PM
Looks like it's here now for current version of OPNsense.

https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/All/htop-3.3.0_2.pkg

When you need to update it, I "delete pkg htop" and then "add pkg htop <url>".  Just updated using this link and it works as expected.

Thanks a lot, appreciate the help

Quote from: gpb on September 22, 2024, 03:56:03 PM
Looks like it's here now for current version of OPNsense.

https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/All/htop-3.3.0_2.pkg

When you need to update it, I "delete pkg htop" and then "add pkg htop <url>".  Just updated using this link and it works as expected.

Is there a way to list the packages available and their respective versions from the pkg.freebsd.org site? I try to go there to look and I always get, I have tried different folders but always the same:

403 Forbidden

nginx

Thank you

To be honest, it was a pain to even find the htop binary/package.  I'm not going to be any help unfortunately...I could never find an easy way to do this either.
HP T730/AMD  RX-427BB/8GB/500GB SSD
HP NC365T 4-PORT

Quote from: gpb on September 26, 2024, 03:59:51 PM
To be honest, it was a pain to even find the htop binary/package.  I'm not going to be any help unfortunately...I could never find an easy way to do this either.

No worries, I agree it is a pain to find this type of information, thank you very much for the help