<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>On Sep 18, 2015, at 12:01, 心如烛光 wrote:</div><div><br></div><blockquote type="cite"><div>&nbsp; &nbsp; Thank's for Daniel's help.I have manually installed re2c for opam successfully.However,another error comes with the gringo's installation.Just as before,I have tried to clean and reinstall the port.But it doesn't work.What's the problem?</div><div>The terminal and the log:</div><div><b>Terminal:</b></div><div><div>$ sudo port install opam</div><div>---&gt; &nbsp;Computing dependencies for opam</div><div>---&gt; &nbsp;Dependencies to be installed: aspcud gringo</div><div>---&gt; &nbsp;Building gringo</div><div>Error: org.macports.build for port gringo returned: command execution failed</div></div></blockquote><br><blockquote type="cite"><div>:debug:main Skipping completed org.macports.configure (gringo)</div></blockquote><div><br></div>You said you cleaned, but this log is not from a clean attempt.&nbsp;<br><br><blockquote type="cite"><div>:info:build Checking whether the C++ compiler works... no</div><div>:info:build error: no usable C++ compiler found</div></blockquote><br><div>That bug has already been reported here:</div><div><br></div><div><a href="https://trac.macports.org/ticket/47949">https://trac.macports.org/ticket/47949</a></div><div><br></div></body></html>