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

Bryan Blackburn blb at macports.org
Mon Mar 30 18:35:45 PDT 2009


On Mon, Mar 30, 2009 at 07:37:15PM -0500, Bill Hernandez said:
[...]
> --->  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.

That's the bad issue with the 'not a directory' problem, when the old one is
uninstalled/deactivated, the files aren't actually removed (the error occurs
before the file list is added to the file map, so port thinks it has no
files).  This means you have to force the activation of the port, and of
course deal with the annoying saved '*.mp_*' files.

Bryan

[...]


More information about the macports-users mailing list