[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sed-4.1.5 build failure on MaxOS X
From: |
Bruno Haible |
Subject: |
sed-4.1.5 build failure on MaxOS X |
Date: |
Thu, 14 Dec 2006 15:08:47 +0100 |
User-agent: |
KMail/1.9.1 |
Hi,
sed 4.1.5 fails to build on MacOS X 10.3.9:
$ ./configure --prefix=/Volumes/UserData/local-macos --program-prefix=gnu-
...
configure: creating ./config.status
config.status: creating bootstrap.sh
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating sed/Makefile
config.status: creating testsuite/Makefile
config.status: creating po/Makefile.in
config.status: creating intl/Makefile
config.status: creating config.h
config.status: linking ./lib/regex_.h to lib/regex.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing gettext-fix commands
sed: 1: "install_sh=/Users/bruno ...": command i expects \ followed by text
sed: 1: "install_sh=/Users/bruno ...": command i expects \ followed by text
The reason is this piece of configure.ac:
sed -e '/^mkinstalldirs *=/a\' \
-e "install_sh=$install_sh" \
Only with GNU sed you can split a sed command into multiple -e option, one
per line. According to POSIX, you should use a multiline argument:
sed -e "/^mkinstalldirs *=/a\\
install_sh=$install_sh"
Bruno
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- sed-4.1.5 build failure on MaxOS X,
Bruno Haible <=