Hyrum K. Wright wrote on Wed, Dec 08, 2010 at 16:52:29 -0800:
> I was trying to configure with a specific Berkeley DB, and ran across
> this bug in configure. This is on Mac OS X with an unmodified working
> copy at r1043705.
>
> [[[
> svn-hackers:svn-trunk Hyrum$ ./configure --enable-maintainer-mode
> --with-serf=/opt/local --with-apr=/opt/local
> --with-apr-util=/opt/local --disable-shared
> --with-berkeley-db=/opt/local/include/db46/db.h:/opt/local/include/db46/:/opt/local/lib/db46/:db
>
> ....
>
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating tools/backup/hot-backup.py
> config.status: creating tools/hook-scripts/commit-access-control.pl
> config.status: creating subversion/bindings/swig/perl/native/Makefile.PL
> config.status: creating packages/solaris/pkginfo
> config.status: creating subversion/svn_private_config.h
> config.status: executing svn_private_config.h commands
> /opt/local/bin/gsed: -e expression #1, char 30: unknown option to `s'
> svn-hackers:svn-trunk Hyrum$
> ]]]
>
> I'm not sure where or why sed is getting an error in its expression.
> This is GNU sed, version 4.2.1.
>
> -Hyrum
Because the header file is given via absolute path perhaps? Does this help?
Index: configure.ac
===================================================================
--- configure.ac (revision 1042961)
+++ configure.ac (working copy)
@@ -1247,7 +1247,7 @@
AC_CONFIG_HEADERS(subversion/svn_private_config.h)
AC_CONFIG_COMMANDS([svn_private_config.h],
- [$SED -e "s/@SVN_DB_HEADER@/$SVN_DB_HEADER/" subversion/svn_private_config.h > subversion/svn_private_config.h.new
+ [$SED -e "s#@SVN_DB_HEADER@#$SVN_DB_HEADER#" subversion/svn_private_config.h > subversion/svn_private_config.h.new
mv -f subversion/svn_private_config.h.new subversion/svn_private_config.h],
[SED="$SED"
SVN_DB_HEADER="$SVN_DB_HEADER"])
Received on 2010-12-09 08:33:22 CET