[Date Prev][Date Next] [Chronological] [Thread] [Top]

macosx (ITS#943)



Full_Name: Jon
Version: cvs latest
OS: macosx darwin public beta 2
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (157.22.245.2)


Bug reports should be filed using our issues tracking system.
http://www.openldap.org/its/

At 07:35 PM 12/29/00 -0800, you wrote:
>uname -a
>Darwin takahe 1.2 Darwin Kernel Version 1.2: Sat Sep 16 15:09:23 PDT 2000;
>root:xnu/xnu-103.1.obj~1/RELEASE_PPC  Power Macintosh powerpc
>
>sorry for the line wrapping in the CVS diff below, but i think you get the
>point...the issue is that for some reason, configure creates a config.status
>that looks like this:
>
>s%@ACLOCAL@%/usr/local/src/ldap/ldap/build
>/usr/local/src/ldap/ldap/build/missing aclocal%g
>s%@AUTOCONF@%autoconf%g
>s%@AUTOMAKE@%/usr/local/src/ldap/ldap/build
>/usr/local/src/ldap/ldap/build/missing automake%g
>s%@AUTOHEADER@%autoheader%g
>s%@MAKEINFO@%/usr/local/src/ldap/ldap/build
>/usr/local/src/ldap/ldap/build/missing makeinfo%g
>s%@install_sh@%/usr/local/src/ldap/ldap/build
>/usr/local/src/ldap/ldap/build/install.sh%g
>
>As you can see, the sed lines are line wrapped (that is not intentional,
>there is an extra newline in there). Thus, the configure process fails at
>the end during the substitutions because sed doesn't know how to deal with
>the extra newline. Weird thing is that plenty of other ./configure scripts
>work fine on MacOSX.
>
>By removing the checks for the tools above, configure is able to finish and
>everything seems to compile and run just fine.
>
>-jon
>
>Index: configure
>===================================================================
>RCS file: /repo/OpenLDAP/pkg/ldap/configure,v
>retrieving revision 1.353
>diff -r1.353 configure
>1032,1043d1031
>< echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
>< echo "configure:1034: checking for working aclocal" >&5
>< # Run test in a subshell; some versions of sh will print an error if
>< # an executable is not found, even if stderr is redirected.
>< # Redirect stdin to placate older versions of autoconf.  Sigh.
>< if (aclocal --version) < /dev/null > /dev/null 2>&1; then
><    ACLOCAL=aclocal
><    echo "$ac_t""found" 1>&6
>< else
><    ACLOCAL="$missing_dir/missing aclocal"
><    echo "$ac_t""missing" 1>&6
>< fi
>1058,1070d1045
>< echo $ac_n "checking for working automake""... $ac_c" 1>&6
>< echo "configure:1060: checking for working automake" >&5
>< # Run test in a subshell; some versions of sh will print an error if
>< # an executable is not found, even if stderr is redirected.
>< # Redirect stdin to placate older versions of autoconf.  Sigh.
>< if (automake --version) < /dev/null > /dev/null 2>&1; then
><    AUTOMAKE=automake
><    echo "$ac_t""found" 1>&6
>< else
><    AUTOMAKE="$missing_dir/missing automake"
><    echo "$ac_t""missing" 1>&6
>< fi
>< 
>1084,1098c1059
>< echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
>< echo "configure:1086: checking for working makeinfo" >&5
>< # Run test in a subshell; some versions of sh will print an error if
>< # an executable is not found, even if stderr is redirected.
>< # Redirect stdin to placate older versions of autoconf.  Sigh.
>< if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
><    MAKEINFO=makeinfo
><    echo "$ac_t""found" 1>&6
>< else
><    MAKEINFO="$missing_dir/missing makeinfo"
><    echo "$ac_t""missing" 1>&6
>< fi
>< 
>< install_sh="$missing_dir/install-sh"
>< test -f "$install_sh" || install_sh="$missing_dir/install.sh"
>---
>> install_sh="/usr/local/src/ldap/ldap/build/install-sh"
>16450,16451c16411
>< sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
><  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
>---
>> sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; s/@@/%@/;
>s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF