

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
2 messages in net.sourceforge.lists.courier-users[courier-users] Please Help! compile ...| From | Sent On | Attachments |
|---|---|---|
| Sipos Andras | Mar 8, 2003 11:34 am | |
| Sam Varshavchik | Mar 8, 2003 5:27 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [courier-users] Please Help! compile with mysql on SuSe 8.1 | Actions... |
|---|---|---|
| From: | Sipos Andras (s-an...@freemail.hu) | |
| Date: | Mar 8, 2003 11:34:40 am | |
| List: | net.sourceforge.lists.courier-users | |
Hi!
My versions:
mysql-3.23.52-44 mysql-client-3.23.52-44 mysql-devel-3.23.52-44 mysql-shared-3.23.52-44 gcc-3.2-39 gcc-c++-3.2-39 courier-imap-1.7.0
The mysql server is run.
./configure --enable-unicode --without-authpgsql --enable-workarounds- for-imap-client-bugs --with-mysql
checking for mysql_config... /usr/bin/mysql_config checking for mysql_connect... no checking for mysql_real_connect... no
./make ./make check ./make install (as root)
I found some line in {src}/authlib/config.log:
configure:6248: checking for mysql_config configure:6266: found /usr/bin/mysql_config configure:6278: result: /usr/bin/mysql_config configure:6302: checking for mysql_connect configure:6345: gcc -o conftest -g -O2 -Wall -I.. -I./.. conftest.c - L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm >&5 /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lz collect2: ld returned 1 exit status configure:6348: $? = 1 configure: failed program was: #line 6307 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char mysql_connect (); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mysql_connect (); char (*f) ();
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_mysql_connect) || defined (__stub___mysql_connect) choke me #else f = mysql_connect; #endif
; return 0; } configure:6364: result: no configure:6371: checking for mysql_real_connect configure:6414: gcc -o conftest -g -O2 -Wall -I.. -I./.. conftest.c - L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm >&5 /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lz collect2: ld returned 1 exit status configure:6417: $? = 1 configure: failed program was: #line 6376 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char mysql_real_connect (); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mysql_real_connect (); char (*f) ();
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_mysql_real_connect) || defined (__stub___mysql_real_connect) choke me #else f = mysql_real_connect; #endif
; return 0; } configure:6433: result: no
In /usr/lib/courier-imap/libexec/authlib nohing any *.mysql file What should I do to compile?
best regads, Andras







