Re: building amanda on arm64

Jens Berg <[email protected]> Thu, 6 Mar 2025 08:24:48 +0100
Newsgroups gmane.comp.archivers.amanda.user
Organization Vtech IAD GmbH
Message-ID <[email protected]>
You may run into further problems in the next steps:

-  "GLIB version >= 2.2.0: no"
-> Install packages libglib2.0-0 and libglib2.0-dev, then run
    ./configure again

-  "undefined reference to SSLv3_server_method"
-> Install package libssl-dev, then run
    make distclean
    ./configure ...
    make

-  "SWIG not found"
-> Install package swig, then run
    make distclean
    ./configure ...
    make

After you successfully compiled and installed the amanda programs you 
might see that e.g. amcheck is complaining about missing JSON support. 
You can install it by running
cpan JSON

Hope this saves you some headaches.

Jens

Am 05.03.2025 um 22:36 schrieb Siddharth Subramanian:
> You can start by running the ./autogen script after unpacking the 
> archive. That should configure Autotools and then proceed with using ./ 
> configure.
> 
> Hope that helps.
> 
> ~ Sid
> 
> 
> On Wed, Mar 5, 2025 at 1:57 PM gene heskett <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     I too am attempting to build 3.5.4. but on an arm64, which I've setup
>     with 6 4T SSD's
> 
>     on a usb3.1 interface. Not configured but intend to build a 20T LVM out
>     of 5 of them and the 6th as a holding disk.
> 
>     At first, I have 7 other machines on this local network, possibly 9
>     if I
>     live long enough, cherry picking the work directory's so the individual
>     os can be updated and the work then recovered.
> 
>     unpacking the archive, I see no makefiles or configure so I assume I
>     start with ./automake since I do have an automake.am <http://
>     automake.am>. But it quickly
>     spits out a missing:
> 
>     config/amanda/libs.m4:160: warning: macro 'AM_PATH_GLIB_2_0' not found
>     in library
> 
>     followed by around 10 screens full of tracing info, ending in:
> 
>     configure.ac:27 <http://configure.ac:27>: the top level
>     configure.ac:19 <http://configure.ac:19>: error: possibly undefined
>     macro: AC_DEFINE
>             If this token and others are legitimate, please use
>     m4_pattern_allow.
>             See the Autoconf documentation.
>     configure.ac:25 <http://configure.ac:25>: error: possibly undefined
>     macro: dnl
>     configure:48225: error: possibly undefined macro: AM_PATH_GLIB_2_0
>     configure:48226: error: possibly undefined macro: AC_MSG_ERROR
>     autoconf failed
> 
>     I have not built amanda in several years and my aging memory at 90 yo
>     does not remember what it took to build it on amd64 all those years
>     ago.
>     And to further confuse the issue, this is aarch64, a bananapi m5, much
>     like an rpi4b but somewhat faster and all usb sockets are usb-3.1, so
>     the rw bandwidth to these 4T SSD's is around 500 megs/second. 4x faster
>     than the pair of spinning rust drives that died at 2 weeks spin time
>     shortly after I upgraded to bookworm which wiped out my amanda setup
>     back then.
> 
>     Any help pulling this off will be gratefully appreciated.  Thanks to
>     all.
> 
>     Cheers, Gene Heskett, CET.
>     -- 
>     "There are four boxes to be used in defense of liberty:
>        soap, ballot, jury, and ammo. Please use in that order."
>     -Ed Howdershelt (Author, 1940)
>     If we desire respect for the law, we must first make the law
>     respectable.
>        - Louis D. Brandeis
>