From owner-freebsd-ports@FreeBSD.ORG Tue May 29 19:12:06 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8F5F716A400 for ; Tue, 29 May 2007 19:12:06 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from farris.bafirst.com (adsl-065-081-102-002.sip.jan.bellsouth.net [65.81.102.2]) by mx1.freebsd.org (Postfix) with ESMTP id 20C7413C457 for ; Tue, 29 May 2007 19:12:05 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from HOME.encontacto.net ([189.129.2.135]) by farris.bafirst.com with esmtp; Tue, 29 May 2007 14:12:03 -0500 id 0006D438.465C7B03.0001076C Received: from localhost (localhost [127.0.0.1]) (uid 80) by HOME.encontacto.net with local; Tue, 29 May 2007 14:12:02 -0500 id 0004AC23.465C7B02.00016657 Received: from dsl-189-129-2-135.prod-infinitum.com.mx (dsl-189-129-2-135.prod-infinitum.com.mx [189.129.2.135]) by intranet.encontacto.net (Horde MIME library) with HTTP; Tue, 29 May 2007 14:12:01 -0500 Message-ID: <20070529141201.ys53hmp20wswg4kw@intranet.encontacto.net> X-Priority: 3 (Normal) Date: Tue, 29 May 2007 14:12:01 -0500 From: eculp@encontacto.net To: freebsd-ports References: <20070529120620.vo6qkgego44o0kkk@intranet.encontacto.net> <20070529184734.GB48575@rot13.obsecurity.org> In-Reply-To: <20070529184734.GB48575@rot13.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.2-cvs) X-Originating-IP: 189.129.2.135 Subject: Re: mysql.cc:2361: error: 'max' was not declared in this scope 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: Tue, 29 May 2007 19:12:06 -0000 Quoting Kris Kennaway : > On Tue, May 29, 2007 at 12:06:20PM -0500, eculp@encontacto.net wrote: >> Finishing my portupgrade marathon, I'm down to mysql update and with >> mysql-client I get the following that I have no idea where to start. >> This is on today's current. >> >> if c++ -DUNDEF_THREADS_HACK -DDEFAULT_MYSQL_HOME=3D"\"/usr/local\"" >> -DDATADIR=3D"\"/var/db/mysql\"" -I. -I. -I.. -I../include -I../include >> -I../regex -O2 -fno-strict-aliasing -pipe -O2 >> -fno-strict-aliasing -pipe -felide-constructors -fno-rtti >> -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti >> -DMYSQLD_NET_RETRY_COUNT=3D1000000 -MT mysql.o -MD -MP -MF >> ".deps/mysql.Tpo" -c -o mysql.o mysql.cc; then mv -f >> ".deps/mysql.Tpo" ".deps/mysql.Po"; else rm -f ".deps/mysql.Tpo"; exit >> 1; fi >> mysql.cc: In function 'void print_table_data(MYSQL_RES*)': >> mysql.cc:2361: error: 'max' was not declared in this scope >> mysql.cc:2363: error: 'max' was not declared in this scope >> mysql.cc:2384: error: 'min' was not declared in this scope >> *** Error code 1 >> >> Stop in /usr/ports/databases/mysql51-client/work/mysql-5.1.18-beta/client= . >> *** Error code 1 >> >> Stop in /usr/ports/databases/mysql51-client/work/mysql-5.1.18-beta/client= . >> *** Error code 1 >> >> Stop in /usr/ports/databases/mysql51-client/work/mysql-5.1.18-beta. >> *** Error code 1 >> >> Stop in /usr/ports/databases/mysql51-client/work/mysql-5.1.18-beta. >> *** Error code 1 >> >> Any help, suggestions, even flames, appreciated ;) > > Yes, it's broken (see http://pointyhat.freebsd.org). Talk to the > maintainer about his plans to fix all of the mysql ports. Thanks, Kris, I hadn't even thought of checking pointyhat. MySQL is =20 not usually broken for long, when I've needed it at least. I'll look at this a bit closer and mail the maintainer. Thanks again. ed