1 |
I found this discussion: |
2 |
|
3 |
https://askubuntu.com/questions/1099392/compilation-of-m4-1-4-10-to-1-4-18-fails-due-to-please-port-gnulib-freadahead-c |
4 |
|
5 |
It suggests the following stepwise solution: |
6 |
|
7 |
if you want to build m4 from source then start by getting its build |
8 |
dependencies from the repository: |
9 |
|
10 |
enable Source code in the Software & Updates (software-properties-gtk) |
11 |
|
12 |
install needed build tools |
13 |
|
14 |
sudo apt-get install build-essential |
15 |
|
16 |
get necessary build dependencies for current m4 binary package |
17 |
|
18 |
sudo apt-get build-dep m4 |
19 |
|
20 |
get source code of the current m4 binary package (with all needed |
21 |
patches provided by Debian and/or Ubuntu): |
22 |
|
23 |
apt-get source m4 |
24 |
cd m4-* |
25 |
|
26 |
Would a local compilation of m4 this fashion on my debian install help here? |
27 |
|
28 |
Regards |
29 |
|
30 |
NF |
31 |
then compile it as usual |
32 |
|
33 |
On Tue, 4 Jun 2019 at 12:14, Fabian Groffen <grobian@g.o> wrote: |
34 |
> |
35 |
> On 04-06-2019 12:01:42 +0100, Michael Fothergill wrote: |
36 |
> > Many thanks again. |
37 |
> > |
38 |
> > I have posted the output at start of the install run which mentions |
39 |
> > this m4 item: |
40 |
> > |
41 |
> > https://paste.debian.net/1085998/ |
42 |
> |
43 |
> freadahead.c: In function 'freadahead': |
44 |
> freadahead.c:92:3: error: #error "Please port gnulib freadahead.c to |
45 |
> your platform! Look at the definition of fflush, fread, ungetc on your |
46 |
> system, then report this to bug-gnulib." |
47 |
> #error "Please port gnulib freadahead.c to your platform! Look at the |
48 |
> definition of fflush, fread, ungetc on your system, then report this to |
49 |
> bug-gnulib." |
50 |
> ^~~~~ |
51 |
> |
52 |
> ahem.... |
53 |
> |
54 |
> I wonder what Debian $*$***$ up this time... |
55 |
> |
56 |
> -- |
57 |
> Fabian Groffen |
58 |
> Gentoo on a different level |