Dependencies failed to build: apr apr-util – Macport apache

macFor some reason my apache web server stop working and i tried to reinstall it using Macport. The apache installation stop half way and show apr-util error.

Error: The following dependencies failed to build: apr apr-util

I’ve tried to clean and update the macport before install the apache. however the result still the same.

After reading the installation log, it shows the problem from


and this uuid.h is actually owned by postgresql83

To solve this macport dependency error from apr and apr util, follow the steps below:-


  • The only solution i found is to remove postgresql83.
  • Before remove your postgresql83, backup your postgresql database first
  • Then remove postgresql83 from your system using the command below:-
    port remove postgresql83
  • Now you can install your apache again and it should be fine!

Share this with your friends:-

Leave a Reply