MySQL ./configure failure
Miguel Cardenas
mfcardenas at prodigy.net.mx
Thu Jul 8 20:20:27 PDT 2004
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
More information about the freebsd-questions
mailing list