From owner-freebsd-ports@FreeBSD.ORG Thu Mar 30 05:26:54 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E15A316A400; Thu, 30 Mar 2006 05:26:54 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4DC743D49; Thu, 30 Mar 2006 05:26:53 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=[192.168.0.18]) by publicd.ub.mng.net with esmtpa (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FOplV-000IY6-4i; Thu, 30 Mar 2006 14:32:13 +0900 Message-ID: <442B6C35.4000809@micom.mng.net> Date: Thu, 30 Mar 2006 14:27:17 +0900 From: Ganbold User-Agent: Thunderbird 1.5 (X11/20060202) MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ale@FreeBSD.org Subject: mysql+linuxthreads static compile problem in CURRENT X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2006 05:26:55 -0000 Hi, When I try to install ports/mysql50-server (mysql-5.0.19) with BUILD_OPTIMIZED=yes BUILD_STATIC=yes WITH_LINUXTHREADS=yes options configure script stops with errors. linuxthreads-2.2.3_20 is installed from ports. gw# uname -an FreeBSD gw.micom.mng.net 7.0-CURRENT FreeBSD 7.0-CURRENT #9: Thu Mar 30 12:57:01 ULAST 2006 tsgan@gw.micom.mng.net:/usr/obj/usr/src/sys/GW i386 ... checking if we should use pstack... checking for int8... no configure: WARNING: Adding fix for interrupted reads checking "named thread libs:"... "-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads -L/usr/local/lib -llthread -llgcc_r -llstdc++ -llsupc++" checking for strtok_r in -lpthread... yes checking for strtok_r... yes checking for dlopen in -ldl... no checking for unistd.h... (cached) yes checking for restartable system calls... Segmentation fault (core dumped) no checking "need of special linking flags"... "none" checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for struct stat.st_rdev... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking needs mysys_new helpers... no checking for char... yes checking size of char... Segmentation fault (core dumped) configure: error: cannot compute sizeof (char), 77 See `config.log' for more details. ===> Script "configure" failed unexpectedly. Please report the problem to ale@FreeBSD.org [maintainer] and attach the "/usr/ports/databases/mysql50-server/work/mysql-5.0.19/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/databases/mysql50-server. Ganbold