Friday, December 5, 2014

build ejabberd mac osx 10.9.5

try to build ejabberd from source on mac osx 10.9.5.
after installing homebrew, autoconf, automaker, libtool, erlang, I still have an error when making.

configure: error: libyaml library was not found

brew install libyaml does not help. and manually download libyaml and make install does not help either. although it's indeed in /usr/local/include

After installing  xcode 6.1 and command line tools for osx 10.9 for xcode 6.1,
the issue is gone. ^_^

Thursday, December 4, 2014

osx install brew autoconf automake

install brew and others in osx

install homebrew first

  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  brew install autoconf

  brew install automake


Tuesday, July 8, 2014

[ios] how to tell ios binary is 32 or 64 bit


use lipo command
xcrun -sdk iphoneos lipo -info $(FILENAME)