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

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to