Dear sir,
  I used mysql-3.23.46 running on RedHat-7.2.
  When I used command below.
    ./configure --prefix=/usr/local/mysql --with-charset=tis620

  It has messages below.

checking size of char... 0
configure: error: No size for char type.
A likely cause for this could be that there isn't any
static libraries installed. You can verify this by checking if you have
libm.a
in /lib, /usr/lib or some other standard place.  If this is the problem,
install the static libraries and try again.  If this isn't the problem,
examine config.log for possible errors.  If you want to report this, use
'scripts/mysqlbug' and include at least the last 20 rows from config.log!

  I check it that my system have "libm.a" in "/usr/lib".
I already attach "config.log" in this mail.
  Now my system is installed Oracle-9i and I want to install
Mysql too.
  Please let me know more detail how to solve this problem ?
               thank you very much.
                    regards,
                    Somsak.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:815: checking host system type
configure:836: checking target system type
configure:854: checking build system type
configure:889: checking for a BSD compatible install
configure:942: checking whether build environment is sane
configure:977: checking whether make sets ${MAKE}
configure:1023: checking for working aclocal
configure:1036: checking for working autoconf
configure:1049: checking for working automake
configure:1062: checking for working autoheader
configure:1075: checking for working makeinfo
configure:1177: checking whether to enable maintainer-specific portions of Makefiles
configure:1219: checking whether build environment is sane
configure:1236: checking whether make sets ${MAKE}
configure:1304: checking for gawk
configure:1336: checking for gcc
configure:1449: checking whether the C compiler (gcc   ) works
configure:1465: gcc -o conftest     conftest.c  1>&5
configure:1491: checking whether the C compiler (gcc   ) is a cross-compiler
configure:1496: checking whether we are using GNU C
configure:1524: checking whether gcc accepts -g
configure:1560: checking for c++
configure:1592: checking whether the C++ compiler (c++   ) works
configure:1608: c++ -o conftest     conftest.C  1>&5
configure:1634: checking whether the C++ compiler (c++   ) is a cross-compiler
configure:1639: checking whether we are using GNU C++
configure:1667: checking whether c++ accepts -g
configure:1699: checking how to run the C preprocessor
configure:1835: checking for ranlib
configure:1945: checking for ld used by GCC
configure:2007: checking if the linker (/usr/bin/ld) is GNU ld
configure:2023: checking for BSD-compatible nm
configure:2059: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: gcc -c    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
GNU ld version 2.10.91 (with BFD 2.10.91.0.4)
ltconfig:1653: checking if global_symbol_pipe works
ltconfig:1654: gcc -c    conftest.c 1>&5
ltconfig:1657: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[      
]\([ABCDGISTW]\)[       ][      ]*\(\)\([_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:2259: checking for a BSD compatible install
configure:2317: checking for bison
configure:2350: checking for pdftex
configure:2378: checking return type of sprintf
configure:2399: gcc -o conftest     conftest.c  1>&5
configure:2463: checking for uname
configure:2500: checking operating system
configure:2668: checking if we should use skip-locking as default for linux-gnu
configure:2686: checking for ln
configure:2723: checking for ln
configure:2764: checking for mv
configure:2800: checking for rm
configure:2836: checking for cp
configure:2872: checking for sed
configure:2908: checking for cmp
configure:2944: checking for chmod
configure:2980: checking for hostname
configure:3016: checking for perl
configure:3104: checking for ps
configure:3138: checking how to check if pid exists
configure:3179: checking for kill
configure:3213: checking for kill switches
configure:3230: checking for gcc option to accept ANSI C
configure:3265: gcc  -c    conftest.c 1>&5
configure:3449: checking whether to use RAID
configure:3526: checking for getconf
configure:3556: checking for CFLAGS value to request large file support
configure:3606: checking for LDFLAGS value to request large file support
configure:3622: checking for LIBS value to request large file support
configure:3681: checking for _FILE_OFFSET_BITS
configure:3710: checking for _LARGEFILE_SOURCE
configure:3739: checking for _LARGE_FILES
configure:3772: checking for ANSI C header files
configure:3785: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3852: gcc -o conftest     conftest.c  1>&5
configure:3876: checking for size_t
configure:3918: checking for dirent.h that defines DIR
configure:3931: gcc -c    conftest.c 1>&5
configure:3956: checking for opendir in -ldir
configure:3975: gcc -o conftest     conftest.c -ldir   1>&5
/usr/bin/ld: cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 3964 "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:4039: checking for ANSI C header files
configure:4143: checking for sys/wait.h that is POSIX.1 compatible
configure:4164: gcc -c    conftest.c 1>&5
configure:4194: checking for fcntl.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for float.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for floatingpoint.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4200:27: floatingpoint.h: No such file or directory
configure: failed program was:
#line 4199 "configure"
#include "confdefs.h"
#include <floatingpoint.h>
configure:4194: checking for ieeefp.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4200:20: ieeefp.h: No such file or directory
configure: failed program was:
#line 4199 "configure"
#include "confdefs.h"
#include <ieeefp.h>
configure:4194: checking for limits.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for memory.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for pwd.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for select.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4200:20: select.h: No such file or directory
configure: failed program was:
#line 4199 "configure"
#include "confdefs.h"
#include <select.h>
configure:4194: checking for stdlib.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for stddef.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for strings.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for string.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for synch.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4200:19: synch.h: No such file or directory
configure: failed program was:
#line 4199 "configure"
#include "confdefs.h"
#include <synch.h>
configure:4194: checking for sys/mman.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for sys/socket.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for netinet/in.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for arpa/inet.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for sys/timeb.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for sys/types.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for sys/un.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for sys/vadvise.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4200:25: sys/vadvise.h: No such file or directory
configure: failed program was:
#line 4199 "configure"
#include "confdefs.h"
#include <sys/vadvise.h>
configure:4194: checking for sys/wait.h
configure:4194: checking for term.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for unistd.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for utime.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for sys/utime.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4200:23: sys/utime.h: No such file or directory
configure: failed program was:
#line 4199 "configure"
#include "confdefs.h"
#include <sys/utime.h>
configure:4194: checking for termio.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for termios.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for sched.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for crypt.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for alloca.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4194: checking for sys/ioctl.h
configure:4204: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4237: checking for floor in -lm
configure:4256: gcc -o conftest     conftest.c -lm   1>&5
configure:4331: checking for gethostbyname_r
configure:4359: gcc -o conftest     conftest.c -lm  1>&5
configure:4474: checking for setsockopt
configure:4502: gcc -o conftest     conftest.c -lm  1>&5
configure:4569: checking for yp_get_default_domain
configure:4597: gcc -o conftest     conftest.c -lm  1>&5
/tmp/cc9EpxXY.o: In function `main':
/tmp/cc9EpxXY.o(.text+0x7): undefined reference to `yp_get_default_domain'
collect2: ld returned 1 exit status
configure: failed program was:
#line 4574 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char yp_get_default_domain(); 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 yp_get_default_domain();

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_yp_get_default_domain) || defined (__stub___yp_get_default_domain)
choke me
#else
yp_get_default_domain();
#endif

; return 0; }
configure:4615: checking for yp_get_default_domain in -lnsl
configure:4634: gcc -o conftest     conftest.c -lnsl  -lm  1>&5
configure:4664: checking for p2open
configure:4692: gcc -o conftest     conftest.c -lnsl -lm  1>&5
/tmp/cc74KXRB.o: In function `main':
/tmp/cc74KXRB.o(.text+0x7): undefined reference to `p2open'
collect2: ld returned 1 exit status
configure: failed program was:
#line 4669 "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:4710: checking for p2open in -lgen
configure:4729: gcc -o conftest     conftest.c -lgen  -lnsl -lm  1>&5
/usr/bin/ld: cannot find -lgen
collect2: ld returned 1 exit status
configure: failed program was:
#line 4718 "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 p2open();

int main() {
p2open()
; return 0; }
configure:4760: checking for bind
configure:4788: gcc -o conftest     conftest.c -lnsl -lm  1>&5
configure:4856: checking for crypt in -lcrypt
configure:4875: gcc -o conftest     conftest.c -lcrypt  -lnsl -lm  1>&5
configure:4903: checking for crypt
configure:4931: gcc -o conftest     conftest.c -lcrypt -lnsl -lm  1>&5
configure:4959: checking if libz with compress
configure:4976: gcc -o conftest     conftest.c -lz -lcrypt -lnsl -lm  1>&5
configure:5102: checking for atomic operations
configure:5123: gcc -o conftest     conftest.c -lz -lcrypt -lnsl -lm  1>&5
configure:5154: gcc -o conftest     conftest.c -lz -lcrypt -lnsl -lm  1>&5
configure:5276: checking for int8
configure:5303: gcc -o conftest     conftest.c -lz -lcrypt -lnsl -lm  1>&5
configure: In function `main':
configure:5297: `int8' undeclared (first use in this function)
configure:5297: (Each undeclared identifier is reported only once
configure:5297: for each function it appears in.)
configure:5297: parse error before `i'
configure: failed program was:
#line 5281 "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:5462: checking LinuxThreads
configure:5480: gcc -c    conftest.c 1>&5
configure:5780: checking named thread libs:
configure:5904: checking for strtok_r in -lpthread
configure:5923: gcc -o conftest     conftest.c -lpthread  -lpthread -lz -lcrypt -lnsl 
-lm  -lpthread 1>&5
configure:6064: checking for strtok_r
configure:6092: gcc -o conftest     conftest.c -lpthread -lz -lcrypt -lnsl -lm  
-lpthread 1>&5
configure:6126: checking for dlopen in -ldl
configure:6145: gcc -o conftest     conftest.c -ldl   1>&5
configure:6178: checking for restartable system calls
configure:6204: gcc -o conftest     conftest.c -lpthread -lz -lcrypt -lnsl -lm  
-lpthread 1>&5
configure: In function `main':
configure:6196: warning: passing arg 2 of `signal' from incompatible pointer type
configure:6343: checking need of special linking flags
configure:6353: checking for working const
configure:6407: gcc -c -O3 -DDBUG_OFF    conftest.c 1>&5
/tmp/ccEPVe7l.s: Assembler messages:
/tmp/ccEPVe7l.s:11: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccEPVe7l.s:11: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccEPVe7l.s:11: Error: Rest of line ignored. First ignored character is `,'.
configure: failed program was:
#line 6358 "configure"
#include "confdefs.h"

int main() {

/* Ultrix mips cc rejects this.  */
typedef int charset[2]; const charset x;
/* SunOS 4.1.1 cc rejects this.  */
char const *const *ccp;
char **p;
/* NEC SVR4.0.2 mips cc rejects this.  */
struct point {int x, y;};
static struct point const zero = {0,0};
/* AIX XL C 1.02.0.0 rejects this.
   It does not let you subtract one const X* pointer from another in an arm
   of an if-expression whose if-part is not a constant expression */
const char *g = "string";
ccp = &g + (g ? g-g : 0);
/* HPUX 7.0 cc rejects these. */
++ccp;
p = (char**) ccp;
ccp = (char const *const *) p;
{ /* SCO 3.2v4 cc rejects this.  */
  char *t;
  char const *s = 0 ? (char *) 0 : (char const *) 0;

  *t++ = 0;
}
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
  int x[] = {25, 17};
  const int *foo = &x[0];
  ++foo;
}
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  typedef const int *iptr;
  iptr p = 0;
  ++p;
}
{ /* AIX XL C 1.02.0.0 rejects this saying
     "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  struct s { int j; const int *ap[3]; };
  struct s *b; b->j = 5;
}
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  const int foo = 10;
}

; return 0; }
configure:6428: checking for inline
configure:6442: gcc -c -O3 -DDBUG_OFF    conftest.c 1>&5
configure:6468: checking for off_t
configure:6501: checking for st_rdev in struct stat
configure:6514: gcc -c -O3 -DDBUG_OFF    conftest.c 1>&5
configure:6535: checking whether time.h and sys/time.h may both be included
configure:6549: gcc -c -O3 -DDBUG_OFF    conftest.c 1>&5
configure:6570: checking whether struct tm is in sys/time.h or time.h
configure:6583: gcc -c -O3 -DDBUG_OFF    conftest.c 1>&5
configure:6606: checking size of char
configure:6625: gcc -o conftest -O3 -DDBUG_OFF     -rdynamic conftest.c -lpthread -lz 
-lcrypt -lnsl -lm  -lpthread 1>&5
/tmp/ccIFJ8SH.s: Assembler messages:
/tmp/ccIFJ8SH.s:4: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccIFJ8SH.s:4: Warning: Unrecognized .section attribute: want a,w,x
/tmp/ccIFJ8SH.s:4: Error: Rest of line ignored. First ignored character is `,'.
configure: failed program was:
#line 6614 "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