include problem building BDB 4.6.21 w/ /usr/local

Bayard Bell buffyg at mac.com
Fri Oct 16 17:57:09 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've been looking through tickets, trying to figure out what's going  
wrong. There's an open ticket for this, 19918. As far as I can see,  
the immediate problem occurs when you've got db.h in /usr/local/ 
include. Renaming the file certainly fixes the problem. (Three cheers  
to dtruss for giving me a handle on this.)

What doesn't really make sense to me is why or how this is found in  
the first instance: I'd argue strongly that the pre-processor  
shouldn't be looking there by default, and it's not much evident to me  
that CPPFLAGS is being constructed to tell it to do so. Before digging  
around further, I thought I'd ask if anyone knew why this might be.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)

iEYEARECAAYFAkrZFmkACgkQcZQHT1XL9xlvzgCfQNmRMPHVRBB+0KO1j4jKQXKh
1ucAoI+tHafj5UfgG/Vc6hOf3tpFGusV
=hh7t
-----END PGP SIGNATURE-----


More information about the macports-users mailing list