4 messages in com.mysql.lists.bugsConfigure failture| From | Sent On | Attachments |
|---|---|---|
| Michael Widenius | 22 May 2001 04:18 | |
| Sinisa Milivojevic | 22 May 2001 05:42 | |
| Korshunov Ilya | 22 May 2001 10:43 | |
| Korshunov Ilya | 22 May 2001 17:38 |
| Subject: | Configure failture![]() |
|---|---|
| From: | Korshunov Ilya (kos...@kp.ru) |
| Date: | 05/22/2001 10:43:56 AM |
| List: | com.mysql.lists.bugs |
Helo !
My system is Sparc Solaris 7 uname SunOS test 5.7 Generic_106541-15 sun4u sparc
SUNW,Ultra-2. MySQL version is -3.23.38 . When i trying to run the ./configure
script it writes the following -
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!
Static library libm.a is in /usr/lib/ (and /lib). The last 20 rows from config
log is :
configure:6491: checking whether struct tm is in sys/time.h or time.h
configure:6504: gcc -c -O3 -DDBUG_OFF -DHAVE_CURSES_H
-I/usr/local/src/mysql-3.23.38/include -DHAVE_RWLOCK_T conftest.c 1>&5
configure:6527: checking size of char
configure:6546: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_CURSES_H
-I/usr/local/src/mysql-3.23.38/include -DHAVE_RWLOCK_T conftest.c -lz -lcrypt
-lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5
configure:6535: invalid preprocessing directive name
configure:6536: invalid preprocessing directive name
configure:6538: invalid preprocessing directive name
configure:6540: parse error
configure:6540: unterminated `#if' conditional
configure: failed program was:
line 6535 "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);
}
Best Regards Korshunov Ilya




