From owner-freebsd-isp Tue May 15 6:11:36 2001 Delivered-To: freebsd-isp@freebsd.org Received: from ns1.officeonweb.net (ns1.officeonweb.net [209.61.157.241]) by hub.freebsd.org (Postfix) with ESMTP id CB86B37B42C for ; Tue, 15 May 2001 06:11:31 -0700 (PDT) (envelope-from mdickerson@officeonweb.net) Received: from sami002 (sdsl-66-80-53-23.dsl.lax.megapath.net [66.80.53.23]) by ns1.officeonweb.net (8.9.3/8.9.3) with SMTP id HAA40618 for ; Tue, 15 May 2001 07:15:19 -0600 (MDT) (envelope-from mdickerson@officeonweb.net) Message-Id: <3.0.6.32.20010515071151.009afab0@officeonweb.net> X-Sender: succes03@officeonweb.net X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Tue, 15 May 2001 07:11:51 -0600 To: freebsd-isp@freebsd.org From: mdickerson@officeonweb.net Subject: Re: mysql make error In-Reply-To: References: <3.0.6.32.20010514152139.00abd720@officeonweb.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Everyone, Thanks for the help. Not sure which hack to use yet, but have some options to work with. Copying the binaries from another 3.5S has gotten much more attractive ;). thanks, mike At 03:28 PM 5/15/01 +1000, Sean wrote: >On Mon, 14 May 2001 mdickerson@officeonweb.net wrote: > >> Well, >> >> Don't know if this helps, but someone that knows how mysql builds . . . >> >> In the work/mysql-3.23.38/Makefile, there is "WRAPLIBS = -Lyes/lib -lwrap". >> But of course, if you remove >> "--with-libwrap \" from the /usr/ports/mysql323-server/Makefile, you'll get >> the same error, without the "cant' cd to yes/lib" issue. >> >> That error produced (once again) is: >> hostname.o: In function `ip_to_hostname(in_addr *, unsigned int *)': >> hostname.o(.text+0x52b): undefined reference to `my_gethostbyname_r' >> *** Error code 1 >> I'm guessing there have been some changes to some libraries from 3.5 to 4.x >> (fixes)? >A significant amount of libc_r improvements in 4.x; the mysql port doesn't >build on 3.x, as is. > >(you can hack at it; USE_GMAKE=yes and --with-mit-pthreads appears to make >it all happen - or did, at 3.23.36 - but then you have to change the patches >in the files/ directory to be gmake instead of BSD make....) > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message