On Tue, Oct 02, 2001 at 11:02:55AM -0700, Mayhem & Chaos wrote:
> On Tue, 2001-10-02 at 08:14, Sloan Poe wrote:
> 
> > I've got mysql-devel installed via RPM... it works fine with
> > <= 0.4.0.. Any ideas?
> 
> 
> Grrr. This bug will never die, I see. Can you please mail me your
> config.log file and I'll check it out?

Done
-- 

Sloan Poe
[EMAIL PROTECTED]

If I'm insane, who are you in?
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:534: checking for gcc
configure:647: checking whether the C compiler (gcc  ) works
configure:663: gcc -o conftest    conftest.c  1>&5
configure:689: checking whether the C compiler (gcc  ) is a cross-compiler
configure:694: checking whether we are using GNU C
configure:703: gcc -E conftest.c
configure:722: checking whether gcc accepts -g
configure:754: checking how to run the C preprocessor
configure:775: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:838: checking for c++
configure:870: checking whether the C++ compiler (c++  ) works
configure:886: c++ -o conftest    conftest.C  1>&5
configure:912: checking whether the C++ compiler (c++  ) is a cross-compiler
configure:917: checking whether we are using GNU C++
configure:926: c++ -E conftest.C
configure:945: checking whether c++ accepts -g
configure:1007: checking for a BSD compatible install
configure:1060: checking whether make sets ${MAKE}
configure:1089: checking for ranlib
configure:1119: checking for ANSI C header files
configure:1132: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1199: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1226: checking for unistd.h
configure:1236: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1226: checking for io.h
configure:1236: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1232: io.h: No such file or directory
configure: failed program was:
#line 1231 "configure"
#include "confdefs.h"
#include <io.h>
configure:1226: checking for pthread.h
configure:1236: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1226: checking for linux/ucdrom.h
configure:1236: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1232: linux/ucdrom.h: No such file or directory
configure: failed program was:
#line 1231 "configure"
#include "confdefs.h"
#include <linux/ucdrom.h>
configure:1264: checking for working const
configure:1318: gcc -c -g -O2  conftest.c 1>&5
configure:1346: checking for mkdir
configure:1374: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1399: checking for shout_init_connection in -lshout
configure:1418: gcc -o conftest -g -O2   conftest.c -lshout   1>&5
configure:1447: checking for libc5
configure:1509: gcc -o conftest -g -O2   conftest.c -lshout  1>&5
configure: failed program was:
#line 1453 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <ctype.h>
asm (".weak gnu_get_libc_version");
asm (".weak __libc_version");
asm (".weak __linux_C_lib_version");

extern const char * gnu_get_libc_version (void);
extern const char * __linux_C_lib_version;
extern const char __libc_version [];

int main() {
  int libcmajor = 0, libcminor = 0, libcteeny = 0;
  if (((&__linux_C_lib_version != 0)
       && ((&__libc_version != 0) || (gnu_get_libc_version != 0)))
      || (!(&__linux_C_lib_version != 0) && !(&__libc_version != 0)
         && !(gnu_get_libc_version != 0)))
  {
    libcmajor = 0;
    libcminor = 0;
    libcteeny = 0;
  }
  else
  {
    const char * ptr;
    int glibcmajor = 0;

    if (gnu_get_libc_version != 0)
    {
      ptr = gnu_get_libc_version ();
      glibcmajor = 4;
    }
    else if (&__libc_version != 0)
    {
      ptr = __libc_version;
      glibcmajor = 4;
    }
    else
      ptr = __linux_C_lib_version;

    while (!isdigit (*ptr))
      ptr++;

    sscanf (ptr, "%d.%d.%d", &libcmajor, &libcminor, &libcteeny);
    libcmajor += glibcmajor;
  }
  if ((libcmajor == 5) && (!(libcminor == 99))) // see xc/config/cf/linux.cf in the 
XFree86 distribution
    return 0;
  else
    return 1;
}

    
configure:1533: checking for XML_ParserCreate in -lexpat
configure:1553: gcc -o conftest -g -O2   conftest.c -lexpat 
-L/usr/local/mysql/lib/mysql -L/usr/local/lib/mysql -L/usr/lib/mysql -lm -lz
 -lshout  1>&5
configure:1587: checking for pthread_create in -lpthread
configure:1606: gcc -o conftest -g -O2   conftest.c -lpthread  -lexpat -lshout  1>&5
configure:1634: checking for mysql_connect in -lmysqlclient
configure:1653: gcc -o conftest -g -O2   conftest.c -lmysqlclient  -lpthread -lexpat 
-lshout  1>&5
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
configure: failed program was:
#line 1642 "configure"
#include "confdefs.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_connect();

int main() {
mysql_connect()
; return 0; }

Reply via email to