[Apt-cacher-ng-users] Building under FreeBSD 9

Eduard Bloch edi at gmx.de
Wed Jan 27 23:06:48 UTC 2016


Hallo,
* Adam Baxter [Tue, Jan 26 2016, 07:31:01PM]:
> Hi all,
> I'd like to run an apt-cacher-ng instance in a FreeBSD 9 jail (host is
> FreeNAS 9.3)
> I realise this is completely unsupported, but is there something in
> acng that would make it incompatible?

> -- Performing Test GC_SECTIONS
> -- Performing Test GC_SECTIONS - Success
> -- Performing Test COMPILER_SUPPORTS_GNU11
> -- Performing Test COMPILER_SUPPORTS_GNU11 - Success

Well... I remember having changed my "UINT" typedef which originally
refered to "unsigned int" to just uint since I assumed it's a valid type
in C++11 for some reason. This is apparently not the case.

> /root/apt-cacher-ng-0.8.9/include/meta.h: In function 'mstring offttosH(off_t)':
> /root/apt-cacher-ng-0.8.9/include/meta.h:322:6: error: 'uint' was not
> declared in this scope
>   for(uint i=0;i<_countof(pref)-1; i++)

All the errors have the same reason.

Please try the latest version:

https://anonscm.debian.org/cgit/apt-cacher-ng/apt-cacher-ng.git/commit/?h=upstream/sid

Regards,
Eduard.

-- 
<Treibholz> Was gibt es denn für Alternativen zu file-roller?
<frobnic> 100er Block Kästchenpapier und weicher Bleistift?
<Treibholz> frobnic: Ich wollte eigentlich keine Hardware-Lösung



More information about the Apt-cacher-ng-users mailing list