Subject: Re: pkg/34844: mysql5-client fails to build with gcc4 on Darwin
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@zhadum.org.uk>
List: pkgsrc-bugs
Date: 10/18/2006 21:05:03
The following reply was made to PR pkg/34844; it has been noted by GNATS.
From: Matthias Scheler <tron@zhadum.org.uk>
To: Jussi Liukkonen <jussi.liukkonen@snorkkeli.homeip.net>
Cc: NetBSD GNATS <gnats-bugs@NetBSD.org>
Subject: Re: pkg/34844: mysql5-client fails to build with gcc4 on Darwin
Date: Wed, 18 Oct 2006 22:02:16 +0100
On Wed, Oct 18, 2006 at 08:45:01PM +0000, Jussi Liukkonen wrote:
> /usr/include/stdbool.h does exist. I did in fact have XCode 2.2 (with
> gcc 4.0.0) in use, but the same problem exhibits even after I updated
> to XCode 2.4 (with gcc 4.0.1). I am surprised at the build working on
> your system -- this system is a plain vanilla powermac with 10.4.8.
What output do you get from these two commands on your system if you
run them in "pkgsrc/databases/mysql5-client"?
bmake VARNAME=CFLAGS show-var
bmake VARNAME=CPPFLAGS show-var
On my system "CFLAGS" is set to "-O2 -DUSE_OLD_FUNCTIONS" and "CPPFLAGS"
is set to "-Dunix -no-cpp-precomp".
If you get different values there could be two reasons:
1.) Use set "CFLAGS" instead of "COPTS" in "/etc/mk.conf" or in your
environment.
2.) Your "bootstrap-pkgsrc" is outdated.
Kind regards
--
Matthias Scheler http://zhadum.org.uk/