I found this discussion:

https://askubuntu.com/questions/1099392/compilation-of-m4-1-4-10-to-1-4-18-fails-due-to-please-port-gnulib-freadahead-c

It suggests the following stepwise solution:

if you want to build m4 from source then start by getting its build
dependencies from the repository:

enable Source code in the Software & Updates (software-properties-gtk)

install needed build tools

sudo apt-get install build-essential

get necessary build dependencies for current m4 binary package

sudo apt-get build-dep m4

get source code of the current m4 binary package (with all needed
patches provided by Debian and/or Ubuntu):

apt-get source m4
cd m4-*

Would a local compilation of m4 this fashion on my debian install help here?

Regards

NF
then compile it as usual

On Tue, 4 Jun 2019 at 12:14, Fabian Groffen <[email protected]> wrote:
>
> On 04-06-2019 12:01:42 +0100, Michael Fothergill wrote:
> > Many thanks again.
> >
> > I have posted the output at start of the install run which mentions
> > this m4 item:
> >
> > https://paste.debian.net/1085998/
>
> freadahead.c: In function 'freadahead':
> freadahead.c:92:3: error: #error "Please port gnulib freadahead.c to
> your platform! Look at the definition of fflush, fread, ungetc on your
> system, then report this to bug-gnulib."
>   #error "Please port gnulib freadahead.c to your platform! Look at the
> definition of fflush, fread, ungetc on your system, then report this to
> bug-gnulib."
>    ^~~~~
>
> ahem....
>
> I wonder what Debian $*$***$ up this time...
>
> --
> Fabian Groffen
> Gentoo on a different level

Reply via email to