From: Alex (postfix at webgate dot ro)
Date: Fri Mar 12 2004 - 13:05:09 EST
Hy Gary,
Ideed, you are right. And for posterity, i extracted a patch containg
your suggestions:
# cat mysql_broken_configure.patch
diff -urN cyrus-sasl-2.1.18/configure cyrus-sasl-2.1.18.new/configure
--- cyrus-sasl-2.1.18/configure 2004-03-10 17:56:10.000000000 +0200
+++ cyrus-sasl-2.1.18.new/configure 2004-03-12 19:20:40.000000000 +0200
@@ -5135,7 +5135,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-l$dbname $LIBS"
+LIBS="$LIBS -l$dbname"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
@@ -11097,7 +11097,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lmysqlclient $LIB_MYSQL_DIR $LIBS"
+LIBS="$LIB_MYSQL_DIR -lmysqlclient $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
And to apply it:
cd cyrus-sasl-2.1.18/
[root at mail cyrus-sasl-2.1.18]# patch -p1 < ../mysql_broken_configure.patch
patching file configure
[root at mail cyrus-sasl-2.1.18]#
Gary Mills wrote:
>On Fri, Mar 12, 2004 at 06:27:38PM +0200, Alex wrote:
>
>
>>Here comes the compilation options and head aches GENERATED by broken
>>makefile of sasl2 - it doesn't know to compile ONLY if mysql is
>>installed in standard PATH!!!!
>>
>>
>
>For a temporary fix, try editing the configure script with
>these changes:
>
> 5138c5138
> < LIBS="-l$dbname $LIBS"
> ---
> > LIBS="$LIBS -l$dbname"
> 11100c11100
> < LIBS="-lmysqlclient $LIB_MYSQL_DIR $LIBS"
> ---
> > LIBS="$LIB_MYSQL_DIR -lmysqlclient $LIBS"
>
>It fixed the problem for me with sasl-2.1.18 under Solaris 8.
>
>
>
|
|
|