pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/34844: mysql5-client fails to build with gcc4 on Darwin
The following reply was made to PR pkg/34844; it has been noted by GNATS.
From: Matthias Scheler <tron%zhadum.org.uk@localhost>
To: Jussi Liukkonen <jussi.liukkonen%snorkkeli.homeip.net@localhost>
Cc: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
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/
Home |
Main Index |
Thread Index |
Old Index