Hello list

Am trying to compile MySQL 4.0.18 on my FreeBSD 5.2.1 i386 but am experiencing 
an error during the ./configure process... I perform installation just like 
on my Linux box but it fails with the following message:

checking for char... yes
checking size of char... configure: error: cannot compute sizeof (char), 77
See `config.log' for more details.

and stops. Looking for this error in config.log found this (just a few lines)

| main ()
| {
|
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     exit (1);
|   if (((long) (sizeof (char))) < 0)
|     {
|       long i = longval ();
|       if (i != ((long) (sizeof (char))))
|       exit (1);
|       fprintf (f, "%ld\n", i);
|     }
|   else
|     {
|       unsigned long i = ulongval ();
|       if (i != ((long) (sizeof (char))))
|       exit (1);
|       fprintf (f, "%lu\n", i);
|     }
|   exit (ferror (f) || fclose (f) != 0);
| 
|   ;
|   return 0;
| }
configure:26002: error: cannot compute sizeof (char), 77

Anybody has experienced this kind of error? or has any idea of what is 
happening?

Thanks for your comments,
Mike

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to