Dear Mysql,

After unpacking Mysql mysql-3.23.33.tar on solaris x86 with gcc 2.95. i run configure 
with

CC=gcc CFLAGS="-O6 -fomit-frame-pointer -DHAVE_CURSES_H" CXX=gcc CXXFLAGS="-O6 
-fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti -DHAVE_CURSES_H"  
./configure --prefix=/usr/local/mysql


and i got error on command line 

checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
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!

 

And in config.cache

 

configure:6352: gcc -c -g -O -DDBUG_ON -DSAFE_MUTEX -O6  -DHAVE_CURSES_H -I/expo
rt/home/atif/mysql-3.23.33/include -DHAVE_RWLOCK_T  conftest.c 1>&5
configure:6373: checking whether time.h and sys/time.h may both be included
configure:6387: gcc -c -g -O -DDBUG_ON -DSAFE_MUTEX -O6  -DHAVE_CURSES_H -I/expo
rt/home/atif/mysql-3.23.33/include -DHAVE_RWLOCK_T  conftest.c 1>&5
configure:6408: checking whether struct tm is in sys/time.h or time.h
configure:6421: gcc -c -g -O -DDBUG_ON -DSAFE_MUTEX -O6  -DHAVE_CURSES_H -I/expo
rt/home/atif/mysql-3.23.33/include -DHAVE_RWLOCK_T  conftest.c 1>&5
configure:6444: checking size of char
configure:6463: gcc -o conftest -g -O -DDBUG_ON -DSAFE_MUTEX -O6  -DHAVE_CURSES_
H -I/export/home/atif/mysql-3.23.33/include -DHAVE_RWLOCK_T   conftest.c -ldl -l
z -lcrypt -lgen -lsocket -lnsl -lm  -lpthread -lthread 1>&5
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);
}                                           

 

 

What should i do to solve the problem ?

I am waiting,

Best Regards,

Syed Muhammad Atif


Best Regards,
Syed Muhammad Atif


---------------------------------
Do You Yahoo!?
Yahoo! Mail Personal Address - Get email at your own domain with Yahoo! Mail.

Reply via email to