try to install mysql5 + php5 + apache2
hi i try to install mysql5 + php5 + apache2 like that :
sudo port install mysql5 +server sudo port install php5 +postgresql +pear +apache2 +mysql5 +server
and i have : Error: Target org.macports.activate returned: Image error: /opt/local/include/readline/chardefs.h already exists and does not belong to a registered port. Unable to activate port readline. Error: The following dependencies failed to build: apache2 apr-util sqlite3 readline pcre jpeg libmcrypt libpng libxml2 libxslt mhash postgresql82 bison m4 tiff Error: Status 1 encountered during processing. what can i do thanks
On Feb 22, 2008, at 21:47, Jean-Luc BERTE wrote:
i try to install mysql5 + php5 + apache2 like that :
sudo port install mysql5 +server sudo port install php5 +postgresql +pear +apache2 +mysql5 +server
You don't need "+server" on the second line because the php5 port does not have a variant called "server".
and i have :
Error: Target org.macports.activate returned: Image error: /opt/local/include/readline/chardefs.h already exists and does not belong to a registered port. Unable to activate port readline. Error: The following dependencies failed to build: apache2 apr-util sqlite3 readline pcre jpeg libmcrypt libpng libxml2 libxslt mhash postgresql82 bison m4 tiff Error: Status 1 encountered during processing.
Apparently there are some readline-related files in /opt/local that aren't registered as belonging to a port. Perhaps a previous failed attempt at installing readline. Probably best to force the installation of readline: sudo port -f activate readline Then try your above command(s) again.
Ryan Schmidt wrote:
On Feb 22, 2008, at 21:47, Jean-Luc BERTŽE wrote:
i try to install mysql5 + php5 + apache2 like that :
sudo port install mysql5 +server sudo port install php5 +postgresql +pear +apache2 +mysql5 +server
You don't need "+server" on the second line because the php5 port does not have a variant called "server".
But mysql5 has one; variant selections are inherited to dependencies. Rainer
On Feb 23, 2008, at 06:39, Rainer Müller wrote:
Ryan Schmidt wrote:
On Feb 22, 2008, at 21:47, Jean-Luc BERTŽE wrote:
i try to install mysql5 + php5 + apache2 like that :
sudo port install mysql5 +server sudo port install php5 +postgresql +pear +apache2 +mysql5 +server
You don't need "+server" on the second line because the php5 port does not have a variant called "server".
But mysql5 has one; variant selections are inherited to dependencies.
Yes, but mysql5 was already installed with +server on the previous line.
participants (3)
-
Jean-Luc BERTE
-
Rainer Müller
-
Ryan Schmidt