For 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
/opt/local/include/uuid.h
and this uuid.h is actually owned by postgresql83
To solve this macport dependency error from apr and apr util, follow the steps below:-
Advertisements
- 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!
Related posts:
How to downgrade to PHP 5.2 using MacPort
How to disable window animations in Mac OS X
How to svn thru ssh in Linux / Mac
Disable iTunes auto start when iPhone, iPad, or iPod is Connected
How to loop thru directory files in bash shell
How to copy a DVD in Mac OS X
How to remove email from suggestion list in Apple Mail
How to check if directory exists in Bash script
Share this with your friends:-