Howdy,

I'm getting the following error in the soxwrap directory when running
configure:

checking for socket in -lsocket... no
checking for socket in -lsocket... (cached) no
checking for connect in -lsocket... no
checking for connect in -lsocket... (cached) no
./configure: line 2382: syntax error near unexpected token `else'
./configure: line 2382: `else'
configure: error: /bin/sh './configure' failed for soxwrap
sed: can't read confdefs.h: No such file or directory


After some digging I found this in the configure script:

rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:2370: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:2373: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:2376: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:2379: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

else
  echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

                echo "$as_me:2386: checking for inet_addr in -lnsl" >&5
echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
 echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lnsl  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 2394 "configure"
#include "confdefs.h"


Notice the missing instruction after the then in the first section.
I'm guessing this is related to the change on 11/16 logged as "Change
checks for nsl and socket." I'm trying to build this on a newly
installed SuSE 7.3 system.  Here are my various versions:

autoconf (GNU Autoconf) 2.52
ltmain.sh (GNU libtool) 1.4.1 (1.922.2.34 2001/09/03 01:22:13)
automake (GNU automake) 1.4-p5

Do I need to upgrade/downgrade autoconf?

Thanks for the help.

Michael

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to