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

openldap 1.2.9 configure error (ITS#486)



linux 2.2.13 from a base redhat 5.2 system, openldap 1.2.9. running
configure (as ./configure > out.txt 2>&1) results in this output (this
is a fragment to show context):

----- cut -------
checking declaration of sys_errlist... yes
creating ./config.status
creating Makefile
sed: file conftest.s1 line 36: Unterminated `s' command
./config.status: line 206:  5547 Broken pipe             sed -e "$ac_comsub
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
s%@INSTALL@%$INSTALL%g
" $ac_file_inputs
      5548 Done(1)                 | ( eval "$ac_sed_cmds" ) >$ac_file
----- cut -------

I fixed this by hardcoding a value into configure like this:

----- cut -------
9653c9653
< s%@install_sh@%/usr/bin/install -c%g
---
> s%@install_sh@%$install_sh%g
9831,9834c9831
< 
< # dxc
< #rm -f conftest.s*
< #exit
---
> rm -f conftest.s*
----- cut -------

I was not able to make an actual fix to the configure script. the
value in $install_sh is completely wrong at the point I made the
substitution, but I didn't figure out how it got to be that way. the
result is conftest.s1 ends up with garbage for the sed command that
configures the install script name.

dxc