About PHP 5.3 and PostgreSQL 8.4.0

Joshua Root jmr at macports.org
Sat Aug 8 22:17:42 PDT 2009


On 2009-8-9 14:36, Chang James wrote:
> I just re-compile php5 in macports few minutes ago, but something wrong
> about PostgreSQL 8.3.
> Following are the message:
> 
>  root# /opt/local/bin/port install php5 +snmp +mysql5 +pear +sockets
> +fastcgi +macosx +pcntl +apache2 +ipc
> Warning: Implicit variants should not be explicitly set or unset. macosx
> will be ignored.
> Warning: Skipping upgrade since libiconv 1.13_0 >= libiconv 1.13_0, even
> though installed variants "+enable_cp932fix+freebsd+linux" do not match
> "+enable_cp932fix". Use 'upgrade --enforce-variants' to switch to the
> requested variants.

Well, for starters, selecting variants like 'linux' and 'freebsd' when
you are running on darwin is an incredibly bad idea. (And in fact,
MacPorts 1.8 no longer lets you select them.)

Run this command:

sudo port upgrade --enforce-variants installed

Then clean postgresql83 and try again.

- Josh


More information about the macports-users mailing list