>Description:
       "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."

        /lib/libm.a exists.

>How-To-Repeat:
        # cd /webapps/mysql-3.23.47
        # ./configure

>Submitter-Id:  
>Originator:    William Nyden
>Organization:
        Space Systems Loral
        Palo Alto, CA
>MySQL support: none
>Synopsis:      "configure: error: No size for char type."
>Severity:      non-critical
>Priority:      medium
>Category:      mysql
>Class:         support
>Release:       mysql-3.23.47 (Source distribution)

>Environment:
        
System: SunOS cad 5.6 Generic_105181-03 sun4u sparc SUNW,Ultra-30
Architecture: sun4

Some paths:  /usr/bin/perl /usr/local/bin/make /usr/local/bin/gmake /usr/local/bin/gcc 
/usr/ucb/cc
GCC: Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/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      1607728 Nov  3  1999 /lib/libc.a
lrwxrwxrwx   1 root     root          11 Nov 22  1999 /lib/libc.so -> ./libc.so.1
-rwxr-xr-x   1 bin      bin      1014088 Nov  3  1999 /lib/libc.so.1
-rw-r--r--   1 bin      bin      1607728 Nov  3  1999 /usr/lib/libc.a
lrwxrwxrwx   1 root     root          11 Nov 22  1999 /usr/lib/libc.so -> ./libc.so.1
-rwxr-xr-x   1 bin      bin      1014088 Nov  3  1999 /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 
--with-berkeley-db --with-innodb
Perl: This is perl, version 5.004_03

Last 20 lines of config.log:
configure:6468: checking for off_t
configure:6501: checking for st_rdev in struct stat
configure:6514: gcc -c -O3 -DDBUG_OFF   -DHAVE_RWLOCK_T  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   -DHAVE_RWLOCK_T  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   -DHAVE_RWLOCK_T  conftest.c 1>&5
configure:6606: checking size of char
configure:6625: gcc -o conftest -O3 -DDBUG_OFF   -DHAVE_RWLOCK_T   conftest.c 
-lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm  -lpthread -lthread 1>&5
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