From: Stephen L. <ste...@st...> - 2014-04-29 18:36:34
|
I'm building Botan (http://botan.randombit.net/download.html). It uses a Python script for configre. The configure script generates paths with Python's os.path.join(...); in msys Python this uses '\' as the path separator. This causes problems in many places in the Makefile, giving errors like: install: cannot stat ‘.srcutilstypes.h when it should be ./src/utils/types.h I had the same problem in msys; I solved it with a sed script: $ sed -i 's#\\\(.\)#/\1#g' Makefile But that is broken in msys2: /usr/bin/sed: -e expression #1, char 11: Unmatched ( or \( We can't simply replace _all_ \; some are line continuations. The best fix would seem to be to fix msys2 Python os.path.join to use /. Can I do that? Short of that, any ideas? -- -- Stephe |