Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2007 14:12:01 -0500
From:      eculp@encontacto.net
To:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: mysql.cc:2361: error: 'max' was not declared in this scope
Message-ID:  <20070529141201.ys53hmp20wswg4kw@intranet.encontacto.net>
In-Reply-To: <20070529184734.GB48575@rot13.obsecurity.org>
References:  <20070529120620.vo6qkgego44o0kkk@intranet.encontacto.net> <20070529184734.GB48575@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Kris Kennaway <kris@obsecurity.org>:

> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070529141201.ys53hmp20wswg4kw>