From owner-freebsd-ports@FreeBSD.ORG Thu Mar 30 06:13:38 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 80F2516A401; Thu, 30 Mar 2006 06:13:38 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4005743D46; Thu, 30 Mar 2006 06:13:38 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 2836A1A3C2F; Wed, 29 Mar 2006 22:13:38 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 967D4515BF; Thu, 30 Mar 2006 01:13:37 -0500 (EST) Date: Thu, 30 Mar 2006 01:13:37 -0500 From: Kris Kennaway To: Ganbold Message-ID: <20060330061337.GA87470@xor.obsecurity.org> References: <442B6C35.4000809@micom.mng.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline In-Reply-To: <442B6C35.4000809@micom.mng.net> User-Agent: Mutt/1.4.2.1i Cc: ale@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: 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 06:13:38 -0000 --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 30, 2006 at 02:27:17PM +0900, Ganbold wrote: > Hi, >=20 > When I try to install ports/mysql50-server (mysql-5.0.19) with > BUILD_OPTIMIZED=3Dyes BUILD_STATIC=3Dyes WITH_LINUXTHREADS=3Dyes options > configure script stops with errors. linuxthreads-2.2.3_20 is installed=20 > from ports. >=20 > gw# uname -an > FreeBSD gw.micom.mng.net 7.0-CURRENT FreeBSD 7.0-CURRENT #9: Thu Mar 30= =20 > 12:57:01 ULAST 2006 tsgan@gw.micom.mng.net:/usr/obj/usr/src/sys/GW i= 386 >=20 > ... > 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=20 > -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads=20 > -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. > =3D=3D=3D> 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" includ= ing > the output of the failure of your make command. Also, it might be a good= =20 > idea > to provide an overview of all packages installed on your system (e.g. an = `ls > /var/db/pkg`). > *** Error code 1 So..why did you not follow this advice? :) Kris --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEK3cRWry0BWjoQKURAh2nAJ9pM5pfJkRfUucyLXcCaRfbkMa1ogCg+0UK gTR8W/Cy2c0DTcGM5v5AzIg= =KOu4 -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy--