[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build failure emacs-26 branch on Mingw64

From: Stephen Leake
Subject: Re: build failure emacs-26 branch on Mingw64
Date: Mon, 01 Jan 2018 06:33:35 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (windows-nt)

Stephen Leake <address@hidden> writes:

> Building emacs-26 branch on Mingw64, in a fresh checkout, configure
> fails with:
> config.status: executing src/epaths.h commands
> sed: -e expression #1, char 79: unknown option to `s'
> make: *** [Makefile:383: epaths-force-w32] Error 1
> config.status: error: 'src/epaths.h' could not be made.
> I'll investigate further.

The sed command that gives the error is:

  -e 's;\(#.*PATH_SITELOADSEARCH\).*$$;\1 "'"$${w32locallisppath//;/\\;}"'";'

There is an unquoted ; in the replacement, but quoting that does not fix
the error.

I'm guessing the reference to 'w32locallisppath' is supposed to replace
the Unix path separator : with the Windows path separator ; . But the
shell syntax for that would be:


The escaped make syntax would then be:


but that doesn't fix the error either. And 'msys-to-w32' has already
done that substitution, so doing it here is wrong.

I could not find a variation that fixes the error.

'git blame' says this line was last edited in 2014:

7c86a2a7d82 (Dani Moncayo    2014-11-08 15:55:09 +0100  388)      -e 
's;\(#.*PATH_SITELOADSEARCH\).*$$;\1 "'"$${w32locallisppath//;/\\;}"'";' \

so this has apparently been working for a long time; I don't understand
why it's failing for me now.

I don't specify --enable-locallisppath, so I can work around this by
simply deleting that line from Makefile.in. That lets configure complete.

-- Stephe

reply via email to

[Prev in Thread] Current Thread [Next in Thread]