moved from Incoming to Build
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
The problem appears to be in the evaluation of: ac_aux_dir=build missing_dir=`cd $ac_aux_dir && pwd` missing_dir is getting set to: "/path/to/build\n/path/to/build" likely because both cd and pwd are echoing the directory. Note that HEAD branch does contain code to disable cd echo'in of the path due to CDPATH... but this is could failing (or cd could be echoing for other reasons). At 01:38 AM 12/31/00 +0000, jon@latchkey.com wrote: >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
you might try the latest cvs (HEAD) sources... I committed a patch which should resolve this problem. At 01:38 AM 12/31/00 +0000, you wrote: >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
For my own education, can you please send me the patch (or a url to the cvsweb version?)? (I maintain the autoconf stuff for Apache JServ and am curious what the problem is.) thx. -jon on 1/3/2001 11:59 AM, "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> wrote: > you might try the latest cvs (HEAD) sources... I committed > a patch which should resolve this problem. > > At 01:38 AM 12/31/00 +0000, you wrote: >> 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 > -- Honk if you love peace and quiet.
At 08:20 PM 1/3/01 +0000, jon@latchkey.com wrote: >For my own education, can you please send me the patch (or a url to the >cvsweb version?)? http://www.openldap.org/devel/cvsweb.cgi/configure.in.diff?r1=1.340&r2=1.342 Kurt
on 1/3/2001 12:31 PM, "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> wrote: > At 08:20 PM 1/3/01 +0000, jon@latchkey.com wrote: >> For my own education, can you please send me the patch (or a url to the >> cvsweb version?)? > > http://www.openldap.org/devel/cvsweb.cgi/configure.in.diff?r1=1.340&r2=1.342 > > Kurt > ok, that fixes the problem. thanks! -jon
changed notes changed state Open to Release
changed state Release to Closed
moved from Build to Archive.Archive
moved from Build to Archive.Build
moved from Archive.Build to Archive.Archive.Build
fixed