Re: building amanda on arm64

gene heskett <[email protected]> Thu, 6 Mar 2025 17:58:32 -0500
Newsgroups gmane.comp.archivers.amanda.user
Message-ID <[email protected]>
On 3/5/25 18:25, Pieter Bowman wrote:
> You can get past the AM_PATH_GLIB_2_0 by installing the package:
>
> apt install libglib2.0-dev
>
> Then use the "autogen" script in the amanda distribution.
>
> However, that's not quite enough to complete the build.  In looking at 
> what the debian folks have done, there are other issues.  You can see 
> their patches at (the former one is for amanda 3.5.1 on bookworm, the 
> latter is for amanda 3.5.4 on trixie/sid):
>
> https://sources.debian.org/patches/amanda/1:3.5.1-11%2Bdeb12u2/
>
> and
>
> https://sources.debian.org/patches/amanda/1:3.5.4-2/
>
> There are packages for amanda 3.5.1 from debian, which might be the 
> easier way to go.

I still need a starter amanda.conf, or as below. LVM working for starters.

Reading man lvm, then asking for devtypes does NOT get me LVM, only md. 
Did they use a different name? Odd...


>
> Pieter
>
> On 3/5/25 1:17 PM, gene heskett 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. 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: the top level
>> 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: 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.
> .

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