Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#56545 closed defect (invalid)

Cannot install socat

Reported by: yckelvin (Kelvin Lee) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: ncurses


Dear SIr/Madam,

I follow the steps to install the MacPorts and agree the license to Xcode, when I install the socat by command "sudo port install socat" and I get error

Error: Failed to activate ncurses: Image error: /opt/local/bin/captoinfo already exists and does not belong to a registered port. Unable to activate port ncurses. Use 'port -f activate ncurses' to force the activation. Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ncurses/ncurses/main.log for details. Error: Follow to report a bug. Error: Processing of port socat failed

I follow the steps to activate ncurses but I get

Error: Insufficient privileges to write to MacPorts install prefix.

Please advise how I can install the socat? Is there any drawback to the port activation ?

Best regards,


Change History (2)

comment:1 Changed 3 years ago by raimue (Rainer Müller)

Port: ncurses added
Resolution: invalid
Status: newclosed

We will not be able to determine why the file already exist. Maybe you installed something manually into /opt/local? Maybe you only wiped parts of your MacPorts installation before?

I guess you missed the sudo on the activate port action.

comment:2 Changed 3 years ago by jmroot (Joshua Root)

Note: See TracTickets for help on using tickets.