[MacPorts] #29908: Errors when trying to install apache2 - PLS HELP

MacPorts noreply at macports.org
Wed Jun 22 13:38:37 PDT 2011


#29908: Errors when trying to install apache2  - PLS HELP
--------------------------------------+-------------------------------------
 Reporter:  matthewcaruana@…          |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  1.9.2                                
 Keywords:                            |        Port:                                       
--------------------------------------+-------------------------------------
 Hi,

 I'm  trying to install apache2 using the following command:
 sudo port install apache2

 Here are the error messages I'm getting:

 port -f activate expat
 Error: Insufficient privileges to write to MacPorts install prefix.
 Matthew-Caruanas-MacBook-Pro:~ matthewcaruana$ sudo port install apache2
 Password:
 --->  Computing dependencies for apache2
 --->  Dependencies to be installed: apr-util expat libiconv gperf sqlite3
 ncurses ncursesw readline openssl zlib pcre bzip2 perl5 perl5.12
 --->  Activating expat @2.0.1_1
 Error: Target org.macports.activate returned: Image error:
 /opt/local/bin/xmlwf already exists and does not belong to a registered
 port.  Unable to activate port expat. Use 'port -f activate expat' to
 force the activation.
 Error: Failed to install expat
 Log for expat is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/main.log
 Error: The following dependencies were not installed: apr-util expat
 libiconv gperf sqlite3 ncurses ncursesw readline openssl zlib pcre bzip2
 perl5 perl5.12
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>

 Please find the error log file attached to this ticket.

 Seeing that the command 'port -f activate expat' was recommended, I tried
 running that.

 And it gives me the following error:

 port -f activate expat
 Error: Insufficient privileges to write to MacPorts install prefix.


 Could you please help me with this problem?

 Thanks,
 Matthew C.

-- 
Ticket URL: <https://trac.macports.org/ticket/29908>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list