On Wed, May 15, 2013 at 2:10 PM, Greg Earle <[email protected]> wrote:
> mac1:~ root# port install mysql-connector-java > If you used "su" instead of "sudo" (this includes the shell anti-pattern "sudo su" / "sudo su -"; don't do that. Use "su -s" or "su -i", that's what they're there for.) then you're tripping over a change Apple made to root's environment. And yes, running it directly will work, because Apple put something else in that makes it work interactively, but the build environment is sanitized and thereby loses it. There is a workaround for this change in the (as yet unreleased) trunk revision of MacPorts, but the correct answer is "don't use su on OS X". -- brandon s allbery kf8nh sine nomine associates [email protected] [email protected] unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
_______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
