>Description:
        
>How-To-Repeat:
        
>Fix:
        

>Submitter-Id:  <submitter ID>
>Originator:    
>MySQL support: none
>Synopsis:      configure fails: checking size of char... 0
>Severity:      non-critical
>Priority:      low
>Category:      mysql
>Class:         sw-bug
>Release:       mysql-3.23.37 (Source distribution)

>Environment:
System: SunOS flame 5.7 Generic sun4m sparc sun4m
Architecture: sun4

Some paths:  /usr/bin/perl /usr/ccs/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.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      1664040 Sep  1  1998 /lib/libc.a
lrwxrwxrwx   1 root     root          11 Mar  4  2000 /lib/libc.so -> ./libc.so.1
-rwxr-xr-x   1 bin      bin      1090280 Sep  1  1998 /lib/libc.so.1
-rw-r--r--   1 bin      bin      1664040 Sep  1  1998 /usr/lib/libc.a
lrwxrwxrwx   1 root     root          11 Mar  4  2000 /usr/lib/libc.so -> ./libc.so.1
-rwxr-xr-x   1 bin      bin      1090280 Sep  1  1998 /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_04 built for sun4-solaris

This is the last bit of the config.log file:

configure:6424: gcc -c -O3 -DDBUG_OFF   -DHAVE_CURSES_H -I/tmp/mysql-3.23.37/include 
-DHAVE_RWLOCK_T  conftest.c 1>&5
configure:6445: checking whether time.h and sys/time.h may both be included
configure:6459: gcc -c -O3 -DDBUG_OFF   -DHAVE_CURSES_H -I/tmp/mysql-3.23.37/include 
-DHAVE_RWLOCK_T  conftest.c 1>&5
configure:6480: checking whether struct tm is in sys/time.h or time.h
configure:6493: gcc -c -O3 -DDBUG_OFF   -DHAVE_CURSES_H -I/tmp/mysql-3.23.37/include 
-DHAVE_RWLOCK_T  conftest.c 1>&5
configure:6516: checking size of char
configure:6535: gcc -o conftest -O3 -DDBUG_OFF   -DHAVE_CURSES_H 
-I/tmp/mysql-3.23.37/include -DHAVE_RWLOCK_T   conftest.c -lz -lcrypt -lgen -lsocket 
-lnsl -lm  -lpthread -lthread 1>&5
configure: failed program was:
#line 6524 "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);
}


if you compile this little progrem by hand, it creates a file named conftestval with 
the number 1 in it.

Reply to: [EMAIL PROTECTED]

Thanks

Adrian Otto

---------------------------------------------------------------------
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