A patch for installing php5 -macosx +apache
Ryan Schmidt
ryandesign at macports.org
Sat Apr 28 17:43:56 PDT 2007
On Apr 28, 2007, at 16:02, js wrote:
>> What OS are you running? Are you on Mac OS X 10.3.9? Do you have /
>> usr/lib/libgssapi_krb5?
>
> I'm using OS X 10.4.9 and have /usr/lib/libgssapi_krb5.dylib.
Weird. I wonder why you're seeing this problem, then, and I'm not.
When configuring php5, I get:
checking for Kerberos support... /usr
checking for krb5-config... /usr/bin/krb5-config
and also:
checking for IMAP Kerberos support... /usr
I don't have the kerberos5 port installed. Perhaps you already did,
and it found that instead?
>> It looks like there used to be an +imap variant that did this, but it
>> and many other variants were removed two years ago and those options
>> were made the default:
>>
>> http://trac.macosforge.org/projects/macports/changeset/11347
>>
>> I think I'll bring some of those variants back because I don't agree
>> with this decision. Or can anyone explain why this was done back
>> then? The idea is that variants should not be made for things that
>> "everyone" will want, but not everyone wants or needs support for
>> tidy or imap.
>
> I think the more options the better and the smaller the better ;)
I disagree with an unqualified "the more options the better." I go to
the store to buy toothpaste and it takes me ten minutes to try and
evaluate the hundreds of different kinds available. There's teeth-
whitening, plaque-fighting, tartar-control, breath-freshening,
multicare, extra-sensitive, cavity-protecting, gel, paste, striped,
with baking soda and countless other varieties -- and that's just
Crest. It's impossible to know how to decide which to get. All I want
to do is clean my teeth. More options = bad. Fewer options = good.
More specifically: a few well-selected options are better than a
whole lot of options. This is why Apple's remote [1] is so good
compared to everyone else's, such as Microsoft's [2]. This is why
MacPorts exists, so that you don't have to look at every arcane ./
configure option a given software package makes available, and only
need to look at the few carefully-selected variants that the port
author has chosen to provide.
But I think the odds that someone will want to use Tidy or IMAP
functions with PHP is not sufficiently high to justify their
inclusion in the default configuration, so I've moved them back to
variants. From now on, if you want Tidy functions, add +tidy. If you
want IMAP functions, add +imap.
I have not yet resolved the kerberos5 issue. But, if you don't need
IMAP functions in PHP, then you just don't select the +imap variant
and can bypass the problem for now.
[1] http://en.wikipedia.org/wiki/Apple_Remote
[2] http://www.microsoft.com/hardware/mouseandkeyboard/
productdetails.aspx?pid=065
More information about the macports-users
mailing list