[SUMMARY] Error making cyrus-sasl-2.1.15

From: Steven Aponte (steven.aponte@med.nyu.edu)
Date: Fri Oct 17 2003 - 11:32:23 EDT


Summary:

Thanks to everyone who replied. I tried Robert Schueler's approach first and
it worked.

He said: "Apply the attached patch to your cyrus-sasl-Sources. It seems to
be only necessary for Tru64 5.1a and before." Since it was a one line
configure file edit, I actually did this change by hand rather than by
applying the patch. Worked great.

The patch file is in plain text below.

PATCH FILE CONTENTS:
*** configure.orig Wed Jul 2 14:29:20 2003
--- configure Wed Jul 2 14:29:40 2003
***************
*** 6678,6684 ****
  EOF
  if { (eval echo configure:6680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5;
} && test -s conftest${ac_exeext}; then
    rm -rf conftest*
! eval "ac_cv_func_getnameinfo=yes"
  else
    echo "configure: failed program was:" >&5
    cat conftest.$ac_ext >&5
--- 6678,6684 ----
  EOF
  if { (eval echo configure:6680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5;
} && test -s conftest${ac_exeext}; then
    rm -rf conftest*
! eval "ac_cv_func_getnameinfo=no"
  else
    echo "configure: failed program was:" >&5
    cat conftest.$ac_ext >&5

Original Question:
Recently tried to install cyrus-sasl-2.1.15 and failed. Configure runs ok,
but make dies. Here are the last few lines of output. I noticed another post
about the same issue, but haven't seen a summary. Any hints?

Regards,
Steven Aponte
NYU School of Medicine

#define getaddrinfo sasl_getaddrinfo
------------------------^
/bin/sh ../libtool --mode=link cc -g -L/usr/local/lib
-Wl,-rpath,/usr/local/lib -o client client.o common.o ../lib/libsasl2.la
-lresolv -lresolv -lresolv mkdir .libs cc -g -L/usr/local/lib
-Wl,-rpath,/usr/local/lib -o .libs/client client.o common.o
../lib/.libs/libsasl2.so -lresolv -lresolv -lresolv -lresolv -lresolv
-lresolv
ld:
Unresolved:
sasl_getnameinfo
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:39 EDT