[tpop3d-discuss] --enable-mysql-auth configure failure.
Chris Lightfoot
chris at ex-parrot.com
Thu, 28 Jun 2001 10:31:05 +0100
On Thu, Jun 28, 2001 at 03:30:24AM -0600, Colin wrote:
>
>
> Chris Lightfoot wrote:
>
> > On Thu, Jun 28, 2001 at 03:19:26AM -0600, Colin wrote:
> >
[...]
> >>I get the same error when specifying --with-mysql-root=/usr
> >>(which, I beleive is the default for the config)
> >>
> >
> > What does the relevant section of config.log say? Look for
> > the string `mysql_init'.
>
>
> It has:
>
> configure:2984: checking for mysql_init
> configure:3012: gcc -o conftest -O2 -I/usr/include/mysql
> -L/usr/lib/mysql conftest.c -lmysqlclient -lpam -ldl 1>&5
>
> and:
>
> #include "confdefs.h"
> /* System header to define __stub macros and hopefully few prototypes,
> which can conflict with char mysql_init(); below. */
> #include <assert.h>
> /* Override any gcc2 internal prototype to avoid an error. */
> /* We use char because int might match the return type of a gcc2
> builtin and then its argument prototype would still apply. */
> char mysql_init();
>
> 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_init) || defined (__stub___mysql_init)
> choke me
> #else
> mysql_init();
> #endif
>
> ; return 0; }
Can you try writing that bit of code out to a file, and
compiling it with the compiler command line show, and tell
me what error messages you get?
--
Chris Lightfoot -- www.ex-parrot.com/~chris/
``If we let people see that kind of thing,
there would never again be any war.''
(US spokesman, on footage of Iraqi soldiers killed by helicopter gunfire)