1 |
Many thanks to Fabian and Olivier. |
2 |
|
3 |
I have installed m4 in debian: |
4 |
root@fart:/home/mikef# apt-get install m4 |
5 |
Reading package lists... Done |
6 |
Building dependency tree |
7 |
Reading state information... Done |
8 |
Suggested packages: |
9 |
m4-doc |
10 |
The following NEW packages will be installed: |
11 |
m4 |
12 |
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. |
13 |
Need to get 203 kB of archives. |
14 |
After this operation, 361 kB of additional disk space will be used. |
15 |
Get:1 http://ukdebian.mirror.anlx.net/debian buster/main amd64 m4 |
16 |
amd64 1.4.18-2 [203 kB] |
17 |
Fetched 203 kB in 0s (489 kB/s) |
18 |
Selecting previously unselected package m4. |
19 |
(Reading database ... 188609 files and directories currently installed.) |
20 |
Preparing to unpack .../archives/m4_1.4.18-2_amd64.deb ... |
21 |
Unpacking m4 (1.4.18-2) ... |
22 |
Setting up m4 (1.4.18-2) ... |
23 |
Processing triggers for install-info (6.5.0.dfsg.1-4+b1) ... |
24 |
Processing triggers for man-db (2.8.5-2) ... |
25 |
root@fart:/home/mikef# |
26 |
|
27 |
I will try running the gentoo prefix install and see how I get on.... |
28 |
|
29 |
Regards |
30 |
|
31 |
MF |
32 |
|
33 |
On Tue, 4 Jun 2019 at 12:54, Fabian Groffen <grobian@g.o> wrote: |
34 |
> |
35 |
> I agree, install m4 in your Debian box, and it should skip it: |
36 |
> |
37 |
> [[ $(m4 --version 2>&1) == *GNU*1.4.1?* ]] || (bootstrap_m4) || return 1 |
38 |
> |
39 |
> Fabian |
40 |
> |
41 |
> On 04-06-2019 13:46:39 +0200, Olivier Huber wrote: |
42 |
> > Hi Michael, |
43 |
> > |
44 |
> > What does ``m4 --version'' return on your debian install? |
45 |
> > |
46 |
> > I'm no dev, however, if you have a valid m4 install, you shouldn't need to have |
47 |
> > m4 bootstrapped. |
48 |
> > |
49 |
> > If m4 is not installed, you may want to do so (as well as bison, patch, ...). |
50 |
> > |
51 |
> > Otherwise, you could apply some patch to m4 during the bootstrap process. |
52 |
> > |
53 |
> > For instance, this bug has been fixed in Gentoo with this patch |
54 |
> > |
55 |
> > [1]https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/m4/files/m4-1.4.18-glibc228.patch |
56 |
> > |
57 |
> > Best, |
58 |
> > |
59 |
> > -- |
60 |
> > |
61 |
> > Olivier Huber |
62 |
> > |
63 |
> > On Tue, Jun 4, 2019 at 1:35 PM Michael Fothergill |
64 |
> > <[2]michael.fothergill@×××××.com> wrote: |
65 |
> > |
66 |
> > > I have a separate gentoo installation on this machine. |
67 |
> > |
68 |
> > > Could I compile m4 on it and port it to the debian install and run it |
69 |
> > > there in some way? |
70 |
> > |
71 |
> > > Regards |
72 |
> > |
73 |
> > > MF |
74 |
> > |
75 |
> > |
76 |
> > |
77 |
> > References: |
78 |
> > 1. https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/m4/files/m4-1.4.18-glibc228.patch |
79 |
> > 2. mailto:michael.fothergill@×××××.com |
80 |
> > |
81 |
> > read_char: errno==EILSEQ; invalid byte sequence for UTF-8: |
82 |
> -- |
83 |
> Fabian Groffen |
84 |
> Gentoo on a different level |