install --withSomeFlag
Ryan Schmidt
ryandesign at macports.org
Sun Oct 7 21:19:26 PDT 2007
On Oct 7, 2007, at 22:42, Instruct ICC wrote:
> I installed php5-gtk with "sudo port install php5-gtk" and I
> noticed that mysql functions are not installed.
> /opt/local/bin/php-config has configure_options '--without-mysql'
> which I would need to be '--with-mysql'.
>
> I was thinking of modifying php-config and somehow launch
> ./configure
> make
> sudo make install
> to reconfigure and reinstall with this flag, but I cannot find such
> a "build from source" directory. Probably "clean"ed?
>
> How should I proceed from here?
sudo port -f uninstall php5
sudo port install php5 +mysql5
Then if necessary:
sudo port -ncuf upgrade php5-gtk
To learn what variants a port has:
port info php5
port variants php5
More information about the macports-users
mailing list