Hello again :o)
Can someone explain to me why I get the follow error??
--> 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!
Here's the last 20 lines of the config.log file. I've checked my /usr/lib
directory and libm.a does exist there. I don't know what's causing this problem
but this isn't the first time it's happened.
--> # tail -20 config.log
--> configure:5149: checking for size_t
--> configure:5182: checking for st_rdev in struct stat
--> configure:5195: gcc -c -O6 -DDBUG_OFF -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_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_RWLOCK_T conftest.c 1>&5
--> configure:5287: checking size of char
--> configure:5306: gcc -o conftest -O6 -DDBUG_OFF -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);
--> }
Any help would be appreciated.
TIA
--
James Brown, Sr.
CIO | DNS/System/Network Administrator
Sys-Admin@stripped | CSU internet, inc. - Tifton, GA.