• building packages the debian way

    From MJ Inabnit@21:1/5 to All on Thu Apr 13 04:30:01 2023
    Hello again,

    I'm stumped with broken hamlibs. I've tried to install hamlibs from
    testing using dpkg, however, it fails. Bugger. apt install -f fixed
    this by removing them and all my ham apps. Bugger.

    My brother made a wonderful howto years back on building packages from
    source the debian way. He died and so did that helpful howto he made.

    I know you can download source code and build it, but it isn't seen by
    apt and gets tricky.

    1. Is there a good howto that non-coders like me can use to hopefully
    download and build the source(s) needed for hamlib and hamlib-utils?

    2. Is there a trick to the final naming of the binary so apt won't try
    to downgrade these to stable?

    Tnx for any help/tips

    73
    Jaye ke6sls

    --

    wishing you well
    Jaye, ke6sls--via the toshiba w/thunderchicken

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ervin =?utf-8?Q?Heged=C3=BCs?=@21:1/5 to MJ Inabnit on Thu Apr 13 08:50:01 2023
    Hi Jaye,

    On Wed, Apr 12, 2023 at 07:06:17PM -0700, MJ Inabnit wrote:

    1. Is there a good howto that non-coders like me can use to hopefully download and build the source(s) needed for hamlib and hamlib-utils?

    I think if you use a Debian system, the best thing is that you
    install packages via apt.

    If you want to use the latest release of any software (like
    Hamlib), you can download the source and compile it - but with
    the installed components. Eg. you use the installed compiler, and
    dependent libs.

    If you want to compile Hamlib, you should try to review this
    section:

    https://github.com/Hamlib/Hamlib#recompiling

    and as this section stands, this file:

    https://github.com/Hamlib/Hamlib/blob/master/INSTALL


    73, Ervin
    HA2OS

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From MJ Inabnit@21:1/5 to All on Thu Apr 13 19:40:01 2023
    Hi Ervin,

    If I do a generic build/install, will that coexist with the current
    broken hamlib? Many of the ham packages depend on hamlib and
    hamlib-utils. I don't think I can remove just hamlib* without then
    removing those ham programs. Then, if the system doesn't know I've
    built a generic build, then adding the packages back would then pull in
    the broken hamlibs*.

    How should I proceed?

    TU & 73

    Jaye ke6sls

    On 4/12/23 11:45 PM, Ervin Hegedüs wrote:
    Hi Jaye,

    On Wed, Apr 12, 2023 at 07:06:17PM -0700, MJ Inabnit wrote:

    1. Is there a good howto that non-coders like me can use to hopefully
    download and build the source(s) needed for hamlib and hamlib-utils?

    I think if you use a Debian system, the best thing is that you
    install packages via apt.

    If you want to use the latest release of any software (like
    Hamlib), you can download the source and compile it - but with
    the installed components. Eg. you use the installed compiler, and
    dependent libs.

    If you want to compile Hamlib, you should try to review this
    section:

    https://github.com/Hamlib/Hamlib#recompiling

    and as this section stands, this file:

    https://github.com/Hamlib/Hamlib/blob/master/INSTALL


    73, Ervin
    HA2OS



    --

    wishing you well
    Jaye, ke6sls--via the toshiba w/thunderchicken

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Christoph Berg@21:1/5 to All on Thu Apr 13 20:20:01 2023
    Re: MJ Inabnit
    I'm stumped with broken hamlibs. I've tried to install hamlibs from
    testing using dpkg, however, it fails. Bugger. apt install -f fixed
    this by removing them and all my ham apps. Bugger.

    Hi,

    this likely means you should be fully upgrading to testing so the
    dependencies don't mess with everything. bookworm is already in deep
    freeze so there shouldn't be much surprises compared to a plain
    "stable" system now.

    2. Is there a trick to the final naming of the binary so apt won't try
    to downgrade these to stable?

    Do you mean if it's possible to install the "testing" hamlib packages
    under different names so they don't conflict with the stable ones? No,
    that would be very much non-trivial. (It's doable by editing
    debian/control and the rest of the world, but don't go there.)

    Christoph DF7CB

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tony mancill@21:1/5 to Christoph Berg on Mon Apr 17 16:30:02 2023
    On Thu, Apr 13, 2023 at 11:10:47AM -0700, Christoph Berg wrote:
    Re: MJ Inabnit
    I'm stumped with broken hamlibs. I've tried to install hamlibs from testing using dpkg, however, it fails. Bugger. apt install -f fixed
    this by removing them and all my ham apps. Bugger.

    Hi,

    this likely means you should be fully upgrading to testing so the dependencies don't mess with everything. bookworm is already in deep
    freeze so there shouldn't be much surprises compared to a plain
    "stable" system now.

    2. Is there a trick to the final naming of the binary so apt won't try
    to downgrade these to stable?

    Do you mean if it's possible to install the "testing" hamlib packages
    under different names so they don't conflict with the stable ones? No,
    that would be very much non-trivial. (It's doable by editing
    debian/control and the rest of the world, but don't go there.)

    Not exactly the same, but if you want to run software from testing,
    unstable, experimental, ${whatever} without mixing distributions, you
    can install that software into a chroot. There is documentation on how
    to get started here: https://wiki.debian.org/chroot

    How well this works for your depends on your use case and how much
    access that software needs to hardware, etc., but it might give you a
    way to test newer versions of some software prior to performing a
    dist-upgrade.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)