From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 03:20:27 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F4BB16A4CE for ; Fri, 9 Jul 2004 03:20:27 +0000 (GMT) Received: from smtp.prodigy.net.mx (nlpproxy07.prodigy.net.mx [148.235.52.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id E55E143D55 for ; Fri, 9 Jul 2004 03:20:26 +0000 (GMT) (envelope-from mfcardenas@prodigy.net.mx) Received: from smtp.prodigy.net.mx (nlpproxy07 [148.235.52.27]) by smtp.prodigy.net.mx (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0I0K0047ZELYDD@smtp.prodigy.net.mx>; Thu, 08 Jul 2004 22:20:23 -0500 (CDT) Received: from dup-200-64-114-209.prodigy.net.mx (du-200-64-114-209.prodigy.net.mx [200.64.114.209])(built Sep 8 2003)) with ESMTP id <0I0K00KW9ELWFD@smtp.prodigy.net.mx>; Thu, 08 Jul 2004 22:20:22 -0500 (CDT) Date: Thu, 08 Jul 2004 22:24:45 -0500 From: Miguel Cardenas To: freebsd-questions@freebsd.org Message-id: <200407082224.45965.mfcardenas@prodigy.net.mx> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Content-disposition: inline User-Agent: KMail/1.5.4 X-imss-version: 2.5 X-imss-result: Passed X-imss-scores: Clean:74.21030 C:22 M:2 S:5 R:5 X-imss-settings: Baseline:3 C:2 M:2 S:2 R:2 (0.5000 1.0000) Subject: MySQL ./configure failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mfcardenas@prodigy.net.mx List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2004 03:20:27 -0000 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