Re: building amanda on arm64

Siddharth Subramanian <[email protected]> Wed, 5 Mar 2025 14:36:13 -0700
Newsgroups gmane.comp.archivers.amanda.user
Message-ID <CAK93D7A+PvHbUyEO5_P+LRHs8qFLSWnXLm7d9BXHtNwQiXkrAg@mail.gmail.com>
--0000000000005fec27062f9f2e5e
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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=E2=80=AFPM gene heskett <[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. 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.
> --
> "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
>
>

--0000000000005fec27062f9f2e5e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>You can start=C2=A0by running the ./autogen script af=
ter unpacking the archive. That should configure Autotools and then proceed=
 with using ./configure.</div><div><br></div><div>Hope that helps.</div><di=
v><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signat=
ure"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"></div></d=
iv></div></div><div><br></div><div>~ Sid</div></div></div></div><br></div><=
br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=
=3D"gmail_attr">On Wed, Mar 5, 2025 at 1:57=E2=80=AFPM gene heskett &lt;<a =
href=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br=
></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;=
border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204=
,204);padding-left:1ex">I too am attempting to build 3.5.4. but on an arm64=
, which I&#39;ve setup <br>
with 6 4T SSD&#39;s<br>
<br>
on a usb3.1 interface. Not configured but intend to build a 20T LVM out <br=
>
of 5 of them and the 6th as a holding disk.<br>
<br>
At first, I have 7 other machines on this local network, possibly 9 if I <b=
r>
live long enough, cherry picking the work directory&#39;s so the individual=
 <br>
os can be updated and the work then recovered.<br>
<br>
unpacking the archive, I see no makefiles or configure so I assume I <br>
start with ./automake since I do have an <a href=3D"http://automake.am" rel=
=3D"noreferrer" target=3D"_blank">automake.am</a>. But it quickly <br>
spits out a missing:<br>
<br>
config/amanda/libs.m4:160: warning: macro &#39;AM_PATH_GLIB_2_0&#39; not fo=
und <br>
in library<br>
<br>
followed by around 10 screens full of tracing info, ending in:<br>
<br>
<a href=3D"http://configure.ac:27" rel=3D"noreferrer" target=3D"_blank">con=
figure.ac:27</a>: the top level<br>
<a href=3D"http://configure.ac:19" rel=3D"noreferrer" target=3D"_blank">con=
figure.ac:19</a>: error: possibly undefined macro: AC_DEFINE<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 If this token and others are legitimat=
e, please use m4_pattern_allow.<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 See the Autoconf documentation.<br>
<a href=3D"http://configure.ac:25" rel=3D"noreferrer" target=3D"_blank">con=
figure.ac:25</a>: error: possibly undefined macro: dnl<br>
configure:48225: error: possibly undefined macro: AM_PATH_GLIB_2_0<br>
configure:48226: error: possibly undefined macro: AC_MSG_ERROR<br>
autoconf failed<br>
<br>
I have not built amanda in several years and my aging memory at 90 yo <br>
does not remember what it took to build it on amd64 all those years ago. <b=
r>
And to further confuse the issue, this is aarch64, a bananapi m5, much <br>
like an rpi4b but somewhat faster and all usb sockets are usb-3.1, so <br>
the rw bandwidth to these 4T SSD&#39;s is around 500 megs/second. 4x faster=
 <br>
than the pair of spinning rust drives that died at 2 weeks spin time <br>
shortly after I upgraded to bookworm which wiped out my amanda setup <br>
back then.<br>
<br>
Any help pulling this off will be gratefully appreciated.=C2=A0 Thanks to a=
ll.<br>
<br>
Cheers, Gene Heskett, CET.<br>
-- <br>
&quot;There are four boxes to be used in defense of liberty:<br>
=C2=A0 soap, ballot, jury, and ammo. Please use in that order.&quot;<br>
-Ed Howdershelt (Author, 1940)<br>
If we desire respect for the law, we must first make the law respectable.<b=
r>
=C2=A0 - Louis D. Brandeis<br>
<br>
</blockquote></div>

--0000000000005fec27062f9f2e5e--