mod_python25 install error: Target org.macports.activate returned: Not a directory

Bill Hernandez ms at mac-specialist.com
Mon Mar 30 17:37:15 PDT 2009


Bill Hernandez wrote:
> [2009.30.03](06:46PM) -> [roscoe] ~ $ sudo port install mod_python25
> Password:
>
> --->  Activating mod_python25 @3.3.1_1
>
> ERROR: Target org.macports.activate returned: Not a directory
> Error: Status 1 encountered during processing.
>
> [2009.30.03](06:48PM) -> [roscoe] ~ $

On Mar 30, 2009, at 7:16 PM, Rainer Müller wrote:

> I fixed this error for mod_python25 yesterday.
> Try:
>  sudo port sync
>  sudo port uninstall mod_python25
>  sudo port install mod_python25


Rainer,

Thanks for trying to help.

[2009.30.03](07:29PM) -> [roscoe] ~ $ sudo port sync
Password:

[2009.30.03](07:30PM) -> [roscoe] ~ $ sudo port uninstall mod_python25
--->  Deactivating mod_python25 @3.3.1_1
--->  Uninstalling mod_python25 @3.3.1_1

[2009.30.03](07:30PM) -> [roscoe] ~ $ sudo port clean mod_python25
--->  Cleaning mod_python25

[2009.30.03](07:30PM) -> [roscoe] ~ $ sudo port install mod_python25
--->  Fetching mod_python25
--->  Verifying checksum(s) for mod_python25
--->  Extracting mod_python25
--->  Applying patches to mod_python25
--->  Configuring mod_python25
--->  Building mod_python25
--->  Staging mod_python25 into destroot
Warning: mod_python25 requests to install files outside the common  
directory structure!
--->  Installing mod_python25 @3.3.1_2
########################################################
# to enable mod_python add
#  LoadModule python_module modules/mod_python.so
# to your apache2 config file:
#  /opt/local/apache2/conf/httpd.conf
########################################################
--->  Activating mod_python25 @3.3.1_2

Error: Target org.macports.activate returned: Image error: /opt/local/ 
apache2/modules/mod_python.so already exists and does not belong to a  
registered port.  Unable to activate port mod_python25.
Error: Status 1 encountered during processing.

[2009.30.03](07:31PM) -> [roscoe] ~ $




More information about the macports-users mailing list