[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Error running configure for subversion 1.7.0

From: Ed Hillmann <ed.hillmann_at_gmail.com>
Date: Fri, 14 Oct 2011 15:39:06 +1000

Hi all. I'm trying to build svn 1.7.0 on a Solaris 9 box, using gcc v
4.1.1. I've already downloaded and built APR and APR-UTIL, and am passing
their install directories to the configure command using --with-apr and
--with-apr-util. They seemed to compile and install without an error.

When I run the configure command for Subversion, I get an error:

checking for a BSD-compatible install... build/install-sh -c
configure: Apache Portable Runtime (APR) library configuration
checking for APR... yes
checking APR version... 1.4.5
/u01/ct/ctapp/subversion-1.7.0/configure: bad substitution

I can't see what is causing the bad substitution error.

I've tried different values in the --with-apr value, but nothing seems to
make a difference. Would anyone have a clue as to what the configure script
doesn't like?

I've looked in the configure script, and it's falling over for me at line
4668

  LDFLAGS="$LDFLAGS `
  input_flags="$apr_ldflags"
  output_flags=""
  filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
  for flag in $input_flags; do
    filter="no"
    for dir in $filtered_dirs; do
      if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
        filter="yes"
        break
      fi
    done
    if test "$filter" = "no"; then
      output_flags="$output_flags $flag"
    fi
  done
  if test -n "$output_flags"; then
    printf "%s" "${output_flags# }"
  fi
`"

Is there an alternative for this part of the configure script that will work
on Solaris for me? It doesn't like this.

Thanks for any ideas,
Ed
Received on 2011-10-14 07:39:42 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.