title: MacPorts failed install port
body: <p>I have trouble installing PHP, MySQL and Apache2 using MacPorts. Currently my OS is Mavericks and i'm downloading the official binary package for mavericks (also tried compile from source and running selfupdate) but I got this error message:</p>
  
  <pre><code>---&gt;  Building readline
  Error: org.macports.build for port readline returned: command execution failed
  Error: Failed to install readline
  Please see the log file for port readline for details:
      /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_readline/readline/main.log
  Error: The following dependencies were not installed: apache2 apr-util mysql5 readline tcp_wrappers sqlite3 libedit pcre bzip2 autoconf213 gawk xz m4 gsed libtool libxml2 mhash pkgconfig
  To report a bug, follow the instructions in the guide:
      http://guide.macports.org/#project.tickets
  Error: Processing of port php5 failed
  </code></pre>
  
  <p>How can I solve this? </p>
  
  <p>Thanks</p>