encounter error while it is installing opam with macport

Ryan Schmidt ryandesign at macports.org
Fri Sep 18 02:57:03 PDT 2015

On Sep 18, 2015, at 2:32 AM, 心如烛光 wrote:

> I wanna install opam for my MacBook Pro (osx10.8.5 mountainlion) with macport. Unfortunately,I get error while it is installing.How could I fix it?Thank you for your help!
> yours!
> here is the message comes from terminal:
> $ sudo port install opam
> --->  Computing dependencies for opam
> --->  Dependencies to be installed: aspcud gringo re2c scons
> --->  Verifying checksums for re2c
> Error: org.macports.checksum for port re2c returned: re2c-0.14.3.tar.gz does not exist in /opt/local/var/macports/distfiles/re2c

This was not a clean build attempt. You should clean the port and try again.

sudo port clean re2c

That should solve this problem. It won't solve all problem, but it is still the first thing you should try anytime a port fails to build. It helps in many situations.

More information about the macports-users mailing list