libedit not found on SUse 11.1

Ted Creedon tcreedon at easystreet.net
Thu Apr 9 05:25:33 EST 2009


Included below is a diff between the output from configure on a 64 bit
SUse 11.1 (doesn't find libedit) and a 64 bit Suse 10.3 (does find
libedit) for otherwise identical setups.

1. How can I get the output set up to look at conftest.c?
2. I added a set -x to configure above  LIBEDIT_MSG=no
3. ./configure --with-ldflags="-L/usr/lib64" --with-cflags="-ggdb3
-I/usr/include/gssapi" --prefix=/  --exec-prefix=/usr
--libdir=/usr/lib64  --datadir=/usr --sysconfdir=/etc/ \
--with-ssl-engine --with-pam --with-rand-helper
--with-kerberos5=/usr/lib/mit --with-md5-passwords
--with-libedit=/usr/lib64  --with-tcp-
wrappers \
--disable-strip

a simpler ./configure -with-libedit=/usr/lib64  produces the same error..


Suse 11.1                                                     	Suse10.3
+ LIBEDIT_MSG=no                                             	   +
LIBEDIT_MSG=no
+ test set = set                                             			 +
test set = set
+ withval=/usr/lib64                                         				
+ withval=/usr/lib64
+ test x/usr/lib64 '!=' xno                                  						+
test x/usr/lib64 '!
+ test x/usr/lib64 '!=' xyes                                 						+
test x/usr/lib64 '!
+ CPPFLAGS=' -I/usr/lib64/include'                           						+
CPPFLAGS=' -I/usr/l
+ test -n ''                                                 		+ test -n ''
+ LDFLAGS='-L/usr/lib64/lib  -fstack-protector-all -L/usr/lib		+
LDFLAGS='-L/usr/lib64/lib  -fstack-protector-all -L
+ echo 'configure:12260: checking for el_init in -ledit'     			  +
echo 'configure:12260: checking for el_in
+ echo -n 'checking for el_init in -ledit... '               			  +
echo -n 'checking for el_init in -ledit..
checking for el_init in -ledit... + test '' = set            			
checking for el_init in -ledit... + test ''
+ ac_check_lib_save_LIBS='-lutil -lz -lnsl '                 		+
ac_check_lib_save_LIBS='-lutil -lz -lnsl '
+ LIBS='-ledit  -lcurses                                     					 +
LIBS='-ledit  -lcurses
                 -lutil -lz -lnsl '                          					
-lutil -lz -lnsl '
+ cat                                                        					 + cat
+ cat confdefs.h                                             					 +
cat confdefs.h
+ cat                                                        					 + cat
+ rm -f conftest.o conftest                                   |					 +
rm conftest.o conftest
							      >	rm: cannot remove `conftest.o': No such file or directory
							      >	rm: cannot remove `conftest': No such file or directory
+ ac_try='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAG					 +
ac_try='$CC -o conftest$ac
+ case "(($ac_try" in                                        						  +
case "(($ac_try"
+ ac_try_echo='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $L						  +
ac_try_echo='$CC
+ eval 'echo "$as_me:12296: $CC -o conftest$ac_exeext $CFLAGS		+ eval
'echo "$as_me:12296: $CC -o conftest$ac_exeext
++ echo 'configure:12296: gcc -o conftest -g -O2 -Wall -Wpoin		++ echo
'configure:12296: gcc -o conftest -g -O2 -Wal
                 -lutil -lz -lnsl  >&5'                      		-lutil
-lz -lnsl  >&5'
+ ac_status=1                                                 |		+ ac_status=0
+ grep -v '^ *+' conftest.er1                                			    +
grep -v '^ *+' conftest.er1
+ rm -f conftest.er1                                         			    +
rm -f conftest.er1
+ cat conftest.err                                           			    +
cat conftest.err
+ echo 'configure:12302: $? = 1'                              |			
+ echo 'configure:12302: $? = 0'
+ exit 1                                                      |			    + exit 0
+ echo 'configure: failed program was:'                       |			
+ test -z ''
+ sed 's/^/| /' conftest.c                                    |			
+ test -s conftest
+ ac_cv_lib_edit_el_init=no                                   |			
+ test -x conftest
							      >			    + ac_cv_lib_edit_el_init=yes
+ rm -f core conftest.err conftest.o conftest_ipa8_conftest.o						
 + rm -f core con
+ LIBS='-lutil -lz -lnsl '                                   						
 + LIBS='-lutil -
+ echo 'configure:12320: result: no'                          |		+
echo 'configure:12320: result: yes'
+ echo no                                                     |		+ echo yes
no                                                            |		yes
+ test no = yes                                               |		+
test yes = yes
+ echo 'configure:12333: error: libedit not found'            <
+ echo 'configure: error: libedit not found'                  <
configure: error: libedit not found                           <
+ exit 1                                                      <
+ exit 1                                                      <
+ exit_status=1                                               <
+ echo                                                        <
+ cat                                                        			     + cat
+ echo                                                        |			
+ LIBEDIT='-ledit -lcurses'
++ sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'             |				
   + LIBEDIT_MSG=yes
+ for ac_var in '`(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA |						
   + echo 'configur
+ eval 'ac_val=$AR'                                           |						
   + echo -n 'check
++ ac_val=/usr/bin/ar                                         |						
   checking if libe
+ case $ac_val in                                             |						
   + cat confdefs.h
+ for ac_var in '`(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA |						     + cat
+ eval 'ac_val=$AWK'                                          |						
   + rm -f conftest
++ ac_val=gawk                                                |						
   + ac_try='$CC -c
+ case $ac_val in                                             |		+
case "(($ac_try" in
+ for ac_var in '`(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA |		+
ac_try_echo='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_
+ eval 'ac_val=$BASH'                                         |			
 + eval 'echo "$as_me:12362: $CC -c $CFL
++ ac_val=/bin/sh                                             |			
 ++ echo 'configure:12362: gcc -c -g -O2
+ case $ac_val in                                             |			
 + ac_status=0
+ for ac_var in '`(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA |					
+ grep -v '^ *+' conftest.e
+ eval 'ac_val=$BASH_ARGC'                                    |					
+ rm -f conftest.er1
++ ac_val=15                                                  |					
+ cat conftest.err
+ case $ac_val in                                             |					
+ echo 'configure:12368: $?
+ for ac_var in '`(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA |					  + exit 0
+ eval 'ac_val=$BASH_ARGV'                                    |					
+ test -z ''
++ ac_val=--disable-strip                                     |					
+ test -s conftest.o
+ case $ac_val in                                             |					
+ echo 'configure:12373: re
+ for ac_var in '`(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA |					  + echo yes
+ eval 'ac_val=$BASH_LINENO'                                  |					  yes
++ ac_val=0                                                   |					
+ rm -f core conftest.err c
+ case $ac_val in                                             |					  + set +x
+


More information about the openssh-unix-dev mailing list