* ambil source poedit
$ git clone git://github.com/vslavik/poedit.git* pastikan db (versi >= 4.7) dan boost sudah terpasang, dan di-compile dengan arch i386
* definisikan CPPFLAGS dan LDFLAGS di environment
$ export CPPFLAGS="-I/opt/local/include -I/opt/local/include/db51"* jalankan configure dengan opsi eksplist "-arch i386"
$ export LDFLAGS=-L/opt/local/lib/db51
$ ./configure CC="gcc -arch i386" CXX="g++ -arch i386" OBJC="gcc -arch i386"* buat .dmg
$ make dist-osx
No comments:
Post a Comment