From owner-freebsd-questions@FreeBSD.ORG Sat Jun 11 08:10:41 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 E168116A41C for ; Sat, 11 Jun 2005 08:10:41 +0000 (GMT) (envelope-from christian@asba.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8087C43D4C for ; Sat, 11 Jun 2005 08:10:41 +0000 (GMT) (envelope-from christian@asba.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IHW00B9AUQ3SRD0@osl1smout1.broadpark.no> for freebsd-questions@freebsd.org; Sat, 11 Jun 2005 10:10:51 +0200 (CEST) Received: from [127.0.0.1] ([80.203.235.133]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IHW00I4XUVU5Y00@osl1sminn1.broadpark.no> for freebsd-questions@freebsd.org; Sat, 11 Jun 2005 10:14:20 +0200 (CEST) Date: Sat, 11 Jun 2005 10:10:36 +0200 From: Christian Astrup Bakke In-reply-to: <42A9B72F.4010201@infinitebubble.com> To: Jason Taylor Message-id: <42AA9C7C.20707@asba.no> Organization: C A B Consulting MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en References: <42A964C8.7010304@asba.no> <42A9B72F.4010201@infinitebubble.com> User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) Cc: freebsd-questions@freebsd.org Subject: Re: error when trying to install mysql 4.1.12 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: christian@asba.no List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jun 2005 08:10:42 -0000 Jason Taylor wrote: > I had this same problem also on 4.11 and then discovered that the > options from pkgtools.conf weren't being picked up (I'd mistyped > mysql41-* as mysq41-*). Anyway, using the following options made it > work: USE_LINUXTHREADS, BUILD_OPTIMIZED, WITH_OPENSSL. I haven't > investigated and have no direct proof, but my guess is that > USE_LINUXTHREADS is the key. > i just tried with 'WITH_LINUXTHREADS=yes' to no avail. here is a sample from the install with 'make install WITH_LINUXTHREADS=yes clean': // mkdir .libs cc -DDBUG_OFF -O -pipe -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads -I/usr/local/include -O -pipe -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads -I/usr/local/include -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -o .libs/mysql mysql.o readline.o sql_string.o completion_hash.o -lreadline -lncurses ../libmysql/.libs/libmysqlclient.so -lcrypt -lm -lz -Wl,--rpath -Wl,/usr/local/lib/mysql mysql.o: In function `new_mysql_completion(char const *, int, int)': mysql.o(.text+0x18b0): undefined reference to `rl_completion_matches' *** Error code 1 Stop in /usr/ports/databases/mysql41-client/work/mysql-4.1.12/client. *** Error code 1 Stop in /usr/ports/databases/mysql41-client/work/mysql-4.1.12. *** Error code 1 Stop in /usr/ports/databases/mysql41-client/work/mysql-4.1.12. *** Error code 1 Stop in /usr/ports/databases/mysql41-client. *** Error code 1 Stop in /usr/ports/databases/mysql41-server. // as far as i can see, it coughs as the same error. my pkgtools.conf has not been touched by me in any way before or after installing mysql (both versions). -- christian at asba dot no