From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Can't compile MySQL 3.23.33 on Solaris 7 (x86)

Description:
 Configure fails, says there may not be any static libraries. I can find
libm.a in /lib
 however. I have installed G++ 2.95.2
How-To-Repeat:
 ./configure --prefix=/usr/local/mysql
Fix:
 not known

Submitter-Id: <submitter ID>
Originator: Christopher Lee
Organization:
<organization of PR author (multiple lines)>
MySQL support:  none
Synopsis: can't compile
Severity: non-critical
Priority: low
Category: mysql
Class:  support
Release: mysql-3.23.33 (Source distribution)

Environment:
 Celeron 566/Abit BE6II,128mb, Solaris 7 x86
System: SunOS titan 5.7 Generic_106542-12 i86pc i386 i86pc
Architecture: i86pc

Some paths:  /usr/local/bin/perl /usr/local/bin/make /usr/local/bin/gcc
GCC: Reading specs from
/usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)
Compilation info: CC='gcc'  CFLAGS=''  CXX='gcc'  CXXFLAGS=''  LDFLAGS=''
LIBC:
-rw-r--r--   1 bin      bin      1558548 Aug  2  2000 /lib/libc.a
lrwxrwxrwx   1 root     root          11 Mar  4 18:11 /lib/libc.so ->
./libc.so.1
-rwxr-xr-x   1 bin      bin       951636 Aug  2  2000 /lib/libc.so.1
-rw-r--r--   1 bin      bin      1558548 Aug  2  2000 /usr/lib/libc.a
lrwxrwxrwx   1 root     root          11 Mar  4 18:11 /usr/lib/libc.so ->
./libc.so.1
-rwxr-xr-x   1 bin      bin       951636 Aug  2  2000 /usr/lib/libc.so.1
Configure command:
./configure  --with-unix-socket-path=/var/tmp/mysql.sock --with-low-memory -
-with-mit-threads=yes --without-perl --enable-thread-safe-client --without-b
erkeley-db
Perl: This is perl, version 5.005_03 built for i86pc-solaris

config.log contents attached below:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:796: checking host system type
configure:817: checking target system type
configure:835: checking build system type
configure:870: checking for a BSD compatible install
configure:923: checking whether build environment is sane
configure:958: checking whether make sets ${MAKE}
configure:1004: checking for working aclocal
configure:1017: checking for working autoconf
configure:1030: checking for working automake
configure:1043: checking for working autoheader
configure:1056: checking for working makeinfo
configure:1158: checking whether to enable maintainer-specific portions of
Makefiles
configure:1200: checking whether build environment is sane
configure:1217: checking whether make sets ${MAKE}
configure:1285: checking for gawk
configure:1317: checking for gcc
configure:1430: checking whether the C compiler (gcc   ) works
configure:1446: gcc -o conftest     conftest.c  1>&5
configure:1472: checking whether the C compiler (gcc   ) is a cross-compiler
configure:1477: checking whether we are using GNU C
configure:1505: checking whether gcc accepts -g
configure:1541: checking for c++
configure:1573: checking whether the C++ compiler (c++   ) works
configure:1589: c++ -o conftest     conftest.C  1>&5
configure:1615: checking whether the C++ compiler (c++   ) is a
cross-compiler
configure:1620: checking whether we are using GNU C++
configure:1648: checking whether c++ accepts -g
configure:1680: checking how to run the C preprocessor
configure:1805: checking for ranlib
configure:1915: checking for ld used by GCC
configure:1977: checking if the linker (/usr/ccs/bin/ld) is GNU ld
configure:1993: checking for BSD-compatible nm
configure:2029: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: gcc -c    conftest.c 1>&5
ltconfig:629: checking for executable suffix
ltconfig:630: gcc -o conftest     conftest.c  1>&5
ltconfig:776: checking if gcc PIC flag -fPIC works
ltconfig:777: gcc -c   -fPIC -DPIC  conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -c   -o out/conftest2.o  conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -c   -c -o conftest.lo  conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -c   -fno-rtti -fno-exceptions -c conftest.c  conftest.c
1>&5
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -o conftest     -static conftest.c  1>&5
ltconfig:1653: checking if global_symbol_pipe works
ltconfig:1654: gcc -c    conftest.c 1>&5
ltconfig:1657: eval "/usr/ccs/bin/nm -p conftest.o | sed -n -e
s/^.*[  ]\([BDT]\)[  ][  ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' >
conftest.nm"
ltconfig:1709: gcc -o conftest   -fno-builtin -fno-rtti -fno-exceptions
conftest.c conftstm.o 1>&5
configure:2234: checking for a BSD compatible install
configure:2292: checking for bison
configure:2292: checking for byacc
configure:2325: checking for pdftex
configure:2353: checking return type of sprintf
configure:2374: gcc -o conftest     conftest.c  1>&5
configure:2438: checking for uname
configure:2475: checking operating system
configure:2633: checking if we should use skip-locking as default for
solaris2.7
configure:2651: checking for ln
configure:2688: checking for ln
configure:2729: checking for mv
configure:2765: checking for rm
configure:2801: checking for cp
configure:2837: checking for sed
configure:2873: checking for cmp
configure:2909: checking for chmod
configure:2945: checking for hostname
configure:2981: checking for perl
configure:3069: checking for ps
configure:3103: checking how to check if pid exists
configure:3141: checking for kill
configure:3175: checking for kill switches
configure:3192: checking for gcc option to accept ANSI C
configure:3227: gcc  -c    conftest.c 1>&5
configure:3375: checking whether to use RAID
configure:3452: checking for getconf
configure:3482: checking for CFLAGS value to request large file support
configure:3532: checking for LDFLAGS value to request large file support
configure:3548: checking for LIBS value to request large file support
configure:3607: checking for _FILE_OFFSET_BITS
configure:3636: checking for _LARGEFILE_SOURCE
configure:3665: checking for _LARGE_FILES
configure:3698: checking for ANSI C header files
configure:3711: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3704: stdlib.h: No such file or directory
configure:3706: string.h: No such file or directory
configure: failed program was:
#line 3703 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>
configure:3802: checking for size_t
configure:3808: sys/types.h: No such file or directory
configure:3844: checking for dirent.h that defines DIR
configure:3857: gcc -c    conftest.c 1>&5
configure:3850: sys/types.h: No such file or directory
configure:3851: dirent.h: No such file or directory
configure: failed program was:
#line 3849 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <dirent.h>
int main() {
DIR *dirp = 0;
; return 0; }
configure:3844: checking for sys/ndir.h that defines DIR
configure:3857: gcc -c    conftest.c 1>&5
configure:3850: sys/types.h: No such file or directory
configure:3851: sys/ndir.h: No such file or directory
configure: failed program was:
#line 3849 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/ndir.h>
int main() {
DIR *dirp = 0;
; return 0; }
configure:3844: checking for sys/dir.h that defines DIR
configure:3857: gcc -c    conftest.c 1>&5
configure:3850: sys/types.h: No such file or directory
configure:3851: sys/dir.h: No such file or directory
configure: failed program was:
#line 3849 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/dir.h>
int main() {
DIR *dirp = 0;
; return 0; }
configure:3844: checking for ndir.h that defines DIR
configure:3857: gcc -c    conftest.c 1>&5
configure:3850: sys/types.h: No such file or directory
configure:3851: ndir.h: No such file or directory
configure: failed program was:
#line 3849 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <ndir.h>
int main() {
DIR *dirp = 0;
; return 0; }
configure:3923: checking for opendir in -lx
configure:3942: gcc -o conftest     conftest.c -lx   1>&5
ld: fatal: library -lx: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 3931 "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 opendir();

int main() {
opendir()
; return 0; }
configure:3965: checking for ANSI C header files
configure:4069: checking for sys/wait.h that is POSIX.1 compatible
configure:4090: gcc -c    conftest.c 1>&5
configure:4075: sys/types.h: No such file or directory
configure:4076: sys/wait.h: No such file or directory
configure: failed program was:
#line 4074 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
#ifndef WEXITSTATUS
#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
#endif
#ifndef WIFEXITED
#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
#endif
int main() {
int s;
wait (&s);
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; }
configure:4120: checking for fcntl.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: fcntl.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <fcntl.h>
configure:4120: checking for float.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4120: checking for floatingpoint.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
In file included from configure:4126:
/usr/include/floatingpoint.h:33: stdio.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <floatingpoint.h>
configure:4120: checking for ieeefp.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: ieeefp.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <ieeefp.h>
configure:4120: checking for limits.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
In file included from
/usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2/include/syslimits.h:7,
                 from
/usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2/include/limits.h:11,
                 from configure:4126:
/usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2/include/limits.h:117:
limits.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <limits.h>
configure:4120: checking for memory.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: memory.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <memory.h>
configure:4120: checking for pwd.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: pwd.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <pwd.h>
configure:4120: checking for select.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: select.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <select.h>
configure:4120: checking for stdlib.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: stdlib.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <stdlib.h>
configure:4120: checking for stddef.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4120: checking for strings.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: strings.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <strings.h>
configure:4120: checking for string.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: string.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <string.h>
configure:4120: checking for synch.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: synch.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <synch.h>
configure:4120: checking for sys/mman.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: sys/mman.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <sys/mman.h>
configure:4120: checking for sys/socket.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: sys/socket.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <sys/socket.h>
configure:4120: checking for netinet/in.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: netinet/in.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <netinet/in.h>
configure:4120: checking for arpa/inet.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: arpa/inet.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <arpa/inet.h>
configure:4120: checking for sys/timeb.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: sys/timeb.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <sys/timeb.h>
configure:4120: checking for sys/types.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: sys/types.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <sys/types.h>
configure:4120: checking for sys/un.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: sys/un.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <sys/un.h>
configure:4120: checking for sys/vadvise.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: sys/vadvise.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <sys/vadvise.h>
configure:4120: checking for sys/wait.h
configure:4120: checking for term.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: term.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <term.h>
configure:4120: checking for unistd.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: unistd.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <unistd.h>
configure:4120: checking for utime.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: utime.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <utime.h>
configure:4120: checking for sys/utime.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: sys/utime.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <sys/utime.h>
configure:4120: checking for termio.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: termio.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <termio.h>
configure:4120: checking for termios.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: termios.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <termios.h>
configure:4120: checking for sched.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: sched.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <sched.h>
configure:4120: checking for crypt.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: crypt.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <crypt.h>
configure:4120: checking for alloca.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: alloca.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <alloca.h>
configure:4120: checking for sys/ioctl.h
configure:4130: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4126: sys/ioctl.h: No such file or directory
configure: failed program was:
#line 4125 "configure"
#include "confdefs.h"
#include <sys/ioctl.h>
configure:4163: checking for floor in -lm
configure:4182: gcc -o conftest     conftest.c -lm   1>&5
configure:4257: checking for gethostbyname_r
configure:4285: gcc -o conftest     conftest.c -lm  1>&5
Undefined   first referenced
 symbol         in file
gethostbyname_r                     /var/tmp/cc6VqpW1.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 4262 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char gethostbyname_r(); 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 gethostbyname_r();

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_gethostbyname_r) || defined (__stub___gethostbyname_r)
choke me
#else
gethostbyname_r();
#endif

; return 0; }
configure:4304: checking for gethostbyname_r in -lnsl_r
configure:4323: gcc -o conftest     conftest.c -lnsl_r  -lm  1>&5
ld: fatal: library -lnsl_r: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 4312 "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 gethostbyname_r();

int main() {
gethostbyname_r()
; return 0; }
configure:4349: checking for gethostbyname_r in -lnsl
configure:4368: gcc -o conftest     conftest.c -lnsl  -lm  1>&5
configure:4400: checking for setsockopt
configure:4428: gcc -o conftest     conftest.c -lnsl -lm  1>&5
Undefined   first referenced
 symbol         in file
setsockopt                          /var/tmp/ccLADFXJ.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 4405 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char setsockopt(); 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 setsockopt();

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_setsockopt) || defined (__stub___setsockopt)
choke me
#else
setsockopt();
#endif

; return 0; }
configure:4446: checking for setsockopt in -lsocket
configure:4465: gcc -o conftest     conftest.c -lsocket  -lnsl -lm  1>&5
configure:4495: checking for yp_get_default_domain
configure:4523: gcc -o conftest     conftest.c -lsocket -lnsl -lm  1>&5
configure:4590: checking for p2open
configure:4618: gcc -o conftest     conftest.c -lsocket -lnsl -lm  1>&5
Undefined   first referenced
 symbol         in file
p2open                              /var/tmp/ccxq1AkK.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 4595 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char p2open(); 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 p2open();

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_p2open) || defined (__stub___p2open)
choke me
#else
p2open();
#endif

; return 0; }
configure:4636: checking for p2open in -lgen
configure:4655: gcc -o conftest     conftest.c -lgen  -lsocket -lnsl -lm
1>&5
configure:4686: checking for bind
configure:4714: gcc -o conftest     conftest.c -lgen -lsocket -lnsl -lm
1>&5
configure:4782: checking for crypt in -lcrypt
configure:4801: gcc -o conftest
    conftest.c -lcrypt  -lgen -lsocket -lnsl -lm  1>&5
configure:4829: checking for crypt
configure:4857: gcc -o conftest
    conftest.c -lcrypt -lgen -lsocket -lnsl -lm  1>&5
configure:4885: checking if libz with compress
configure:4902: gcc -o conftest
    conftest.c -lz -lcrypt -lgen -lsocket -lnsl -lm  1>&5
configure:4891: zlib.h: No such file or directory
configure: failed program was:
#line 4890 "configure"
#include "confdefs.h"
#include <zlib.h>
#ifdef __cplusplus
extern "C"
#endif

int main() {
 return compress(0, (unsigned long*) 0, "", 0);

; return 0; }
configure:5099: checking for gtty
configure:5127: gcc -o conftest
    conftest.c -lcrypt -lgen -lsocket -lnsl -lm  1>&5
configure:5199: checking for int8
configure:5226: gcc -o conftest
    conftest.c -lcrypt -lgen -lsocket -lnsl -lm  1>&5
In file included from configure:5211:
/usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2/include/stddef.h:170:
warning: empty declaration
configure: In function `main':
configure:5220: `int8' undeclared (first use in this function)
configure:5220: (Each undeclared identifier is reported only once
configure:5220: for each function it appears in.)
configure:5220: parse error before `i'
configure: failed program was:
#line 5204 "configure"
#include "confdefs.h"

#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif

#ifdef HAVE_STDDEF_H
#include <stddef.h>
#endif

#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif

int main()
{
  int8 i;
  return 0;
}

configure:5367: checking LinuxThreads
configure:5408: checking DEC threads
configure:5421: checking DEC 3.2 threads
configure:5450: checking SCO threads
configure:5551: checking SCO UnixWare7 native threads
configure:5595: checking Siemens threads
configure:5624: checking Solaris threads
configure:5636: checking named thread libs:
configure:5760: checking for strtok_r in -lpthread
configure:5779: gcc -o
conftest   -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.33/include -DHAVE_RWL
OCK_T
  conftest.c -lpthread  -lcrypt -lgen -lsocket -lnsl -lm  -lpthread -lthread
1>&5
configure:5920: checking for strtok_r
configure:5948: gcc -o
conftest   -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.33/include -DHAVE_RWL
OCK_T   conftest.c -lcrypt -lgen -lsocket -lnsl -lm  -lpthread -lthread 1>&5
configure:5977: checking for dlopen in -ldl
configure:5996: gcc -o
conftest   -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.33/include -DHAVE_RWL
OCK_T
  conftest.c -ldl  -lcrypt -lgen -lsocket -lnsl -lm  -lpthread -lthread 1>&5
configure:6026: checking for restartable system calls
configure:6052: gcc -o
conftest   -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.33/include -DHAVE_RWL
OCK_T   conftest.c -ldl -lcrypt -lgen -lsocket -lnsl -lm  -lpthread -lthread
1>&5
configure:6038: sys/types.h: No such file or directory
configure:6039: signal.h: No such file or directory
configure: failed program was:
#line 6034 "configure"
#include "confdefs.h"
/* Exit 0 (true) if wait returns something other than -1,
   i.e. the pid of the child, which means that wait was restarted
   after getting the signal.  */
#include <sys/types.h>
#include <signal.h>
ucatch (isig) { }
main () {
  int i = fork (), status;
  if (i == 0) { sleep (3); kill (getppid (), SIGINT); sleep (3); exit (0); }
  signal (SIGINT, ucatch);
  status = wait(&i);
  if (status == -1) wait(&i);
  exit (status == -1);
}

configure:6181: checking need of special linking flags
configure:6191: checking for working const
configure:6245:
gcc -c -O6 -DDBUG_OFF   -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.33/inclu
de -DHAVE_RWLOCK_T  conftest.c 1>&5
configure:6266: checking for inline
configure:6280:
gcc -c -O6 -DDBUG_OFF   -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.33/inclu
de -DHAVE_RWLOCK_T  conftest.c 1>&5
configure:6306: checking for off_t
configure:6312: sys/types.h: No such file or directory
configure:6339: checking for st_rdev in struct stat
configure:6352:
gcc -c -O6 -DDBUG_OFF   -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.33/inclu
de -DHAVE_RWLOCK_T  conftest.c 1>&5
configure:6345: sys/types.h: No such file or directory
configure:6346: sys/stat.h: No such file or directory
configure: failed program was:
#line 6344 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
int main() {
struct stat s; s.st_rdev;
; return 0; }
configure:6373: checking whether time.h and sys/time.h may both be included
configure:6387:
gcc -c -O6 -DDBUG_OFF   -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.33/inclu
de -DHAVE_RWLOCK_T  conftest.c 1>&5
configure:6379: sys/types.h: No such file or directory
configure:6380: sys/time.h: No such file or directory
configure:6381: time.h: No such file or directory
configure: failed program was:
#line 6378 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>
int main() {
struct tm *tp;
; return 0; }
configure:6408: checking whether struct tm is in sys/time.h or time.h
configure:6421:
gcc -c -O6 -DDBUG_OFF   -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.33/inclu
de -DHAVE_RWLOCK_T  conftest.c 1>&5
configure:6414: sys/types.h: No such file or directory
configure:6415: time.h: No such file or directory
configure: failed program was:
#line 6413 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
int main() {
struct tm *tp; tp->tm_sec;
; return 0; }
configure:6444: checking size of char
configure:6463: gcc -o
conftest -O6 -DDBUG_OFF   -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.33/inc
lude -DHAVE_RWLOCK_T
 conftest.c -ldl -lcrypt -lgen -lsocket -lnsl -lm  -lpthread -lthread 1>&5
configure:6453: stdio.h: No such file or directory
configure: failed program was:
#line 6452 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(char));
  exit(0);
}



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to