try to install mysql5 + php5 + apache2

Ryan Schmidt ryandesign at macports.org
Sat Feb 23 03:26:18 PST 2008


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".


> 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.




More information about the macports-users mailing list