Date: Thu, 08 Jul 2004 22:24:45 -0500 From: Miguel Cardenas <mfcardenas@prodigy.net.mx> To: freebsd-questions@freebsd.org Subject: MySQL ./configure failure Message-ID: <200407082224.45965.mfcardenas@prodigy.net.mx>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407082224.45965.mfcardenas>