2 messages in com.mysql.lists.bugserror at configure in solaris2.7| From | Sent On | Attachments |
|---|---|---|
| Ahn Shin-hyun | 17 Jan 2001 22:05 | |
| Jani Tolonen | 18 Jan 2001 02:42 |
| Subject: | error at configure in solaris2.7![]() |
|---|---|
| From: | Ahn Shin-hyun (demi...@truscom.com) |
| Date: | 01/17/2001 10:05:48 PM |
| List: | com.mysql.lists.bugs |
hello, my name is Ahn shin-hyun. I live in Korea. I have trouble to do install mysql-3.22.32 using source compiling. The system is solaris2.7
in config.log
configure:944: checking for working aclocal - missing configure:957: checking for working autoconf - missing configure:970: checking for working automake - missing configure:983: checking for working autoheader - missing configure:996: checking for working makeinfo - missing
and
......
configure: failed program was: #line 4844 "configure" #include "confdefs.h" /* Exit 0 (true) if wait returns something other than -1, i.e. the pid of the child, which means that wait was restarted after getting the signal. */ #include <sys/types.h> #include <signal.h> ucatch (isig) { } main () { int i = fork (), status; if (i == 0) { sleep (3); kill (getppid (), SIGINT); sleep (3); exit (0); } signal (SIGINT, ucatch); status = wait(&i); if (status == -1) wait(&i); exit (status == -1); }
configure:4991: checking need of special linking flags
configure:5001: checking for working const
configure:5055: gcc -c -O6 -DDBUG_OFF -DHAVE_CURSES_H
-I/root/mysql-3.22.32/include -DHAVE_RWLOCK_T conftest.c 1>&5
configure:5076: checking for inline
configure:5090: gcc -c -O6 -DDBUG_OFF -DHAVE_CURSES_H
-I/root/mysql-3.22.32/include -DHAVE_RWLOCK_T conftest.c 1>&5
configure:5116: checking for off_t
configure:5149: checking for size_t
configure:5182: checking for st_rdev in struct stat
configure:5195: gcc -c -O6 -DDBUG_OFF -DHAVE_CURSES_H
-I/root/mysql-3.22.32/include -DHAVE_RWLOCK_T conftest.c 1>&5
configure:5216: checking whether time.h and sys/time.h may both be included
configure:5230: gcc -c -O6 -DDBUG_OFF -DHAVE_CURSES_H
-I/root/mysql-3.22.32/include -DHAVE_RWLOCK_T conftest.c 1>&5
configure:5251: checking whether struct tm is in sys/time.h or time.h
configure:5264: gcc -c -O6 -DDBUG_OFF -DHAVE_CURSES_H
-I/root/mysql-3.22.32/include -DHAVE_RWLOCK_T conftest.c 1>&5
configure:5287: checking size of char
configure:5306: gcc -o conftest -O6 -DDBUG_OFF -DHAVE_CURSES_H
-I/root/mysql-3.22.32/include -DHAVE_RWLOCK_T conftest.c -ldl -lnsl -lm -
lsocket -lz -lcrypt -lgen -lpthread -lthread 1>&5
configure: failed program was:
#line 5295 "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);
}
and error message in cofigure is..
# ./configure --with-charset=euc_kr
....... 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!
But I have libm.a in usr/lib. What cause this problem all? please, give help. Dear friends.




