Completely uninstall PostgreSQL 9.0.4 from Mac OSX Lion?

The following is the un-installation for PostgreSQL 9.1 installed using the EnterpriseDB installer. You most probably have to replace folder /9.1/ with your version number. If /Library/Postgresql/ doesn’t exist then you probably installed PostgreSQL with a different method like homebrew or Postgres.app. To remove the EnterpriseDB One-Click install of PostgreSQL 9.1: Open a terminal window. … Read more

configure: error: C compiler cannot create executables

I have 10.8 installed and Xcode 4.4 with Command Line tools, and yet I was still getting this error. Rather than reinstall Xcode, I noticed there were two relevant lines in my config.log: configure:5130: checking for C compiler version configure:5139: /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc –version >&5 That path did not exist for me. Instead I had: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain The … Read more

Maven home (M2_HOME) not being picked up by IntelliJ IDEA

type in Terminal: $ mvn –version then get following result: Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 16:51:28+0300) Maven home: /opt/local/share/java/maven3 Java version: 1.6.0_65, vendor: Apple Inc. Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Default locale: ru_RU, platform encoding: MacCyrillic OS name: “mac os x”, version: “10.9.4”, arch: “x86_64”, family: “mac” here in second line we have: Maven home: /opt/local/share/java/maven3 type … Read more