Hi,

  I've downloaded mysql 3.23.46 version and currenlty runnig
  solaris 2.8 relase 10/00 on intel platform.

  I'm getting the following error during the ./configure stage in
creating
  my makefile.

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

libm.a is in /usr/lib and my LD_LIBRARY_PATH is set as followed:

# echo $LD_LIBRARY_PATH
/opt/orca/lib:/usr/lib:/usr/local/lib:/opt/sfw/lib:/opt/sfw/gnome/lib:/opt/orca/lib/perl:/usr/local/rrdtool-1.0.33/lib:/usr/local/lib/glib:/usr/local/lib/mysql

config.log has the following:
# tail -20 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_CURSES_H
-I/software/local/mysql-3.23.46/include -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_CURSES_H
-I/software/local/mysql-3.23.46/include -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_CURSES_H
-I/software/local/mysql-3.23.46/include -DHAVE_RWLOCK_T  conftest.c 1>&5
configure:6606: checking size of char
configure:6625: gcc -o conftest -O3 -DDBUG_OFF   -DHAVE_CURSES_H
-I/software/local/mysql-3.23.46/include -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);
}

I would appreciate any ideas on this. I have compiled mysql 3.20 version
in the past with
no problem but wondered if this is a bug?


-- 
************************************************************
*** Phillip B. Bruce                                     ***
*** http://pbbruce.home.mindspring.com                   ***
*** [EMAIL PROTECTED]                               ***
***                                                      ***
*** "Have you ever noticed? Anybody going slower than    ***
*** you is an idiot, and anyone going faster than you    *** 
*** is a maniac." - George Carlin                        ***
************************************************************

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