Tuesday, March 27, 2012

Build PoEdit di MacOS X 10.6

* 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" 
$ export LDFLAGS=-L/opt/local/lib/db51 
* jalankan configure dengan opsi eksplist "-arch i386"
$ ./configure CC="gcc -arch i386" CXX="g++ -arch i386" OBJC="gcc -arch i386"
* buat .dmg
$ make dist-osx

Friday, March 23, 2012

How To Install RTIR on Debian Squeeze

1. install RT

$ sudo apt-get install request-tracker3.8
2. install RTIR prerequisite
# add squeeze-backports entry into your sources.list

# install some packages
$ sudo apt-get install dh-make-perl libnet-whois-ripe-perl libhook-lexwrap-perl \
libset-intspan-perl libnet-cidr-perl libregexp-common-net-cidr-perl

# build and install Business::Hours
$ cpan2deb Business::Hours
$ sudo dpkg -i libbusiness-hours-perl*.deb

# build and install Business::SLA
$ cpan2deb Business::SLA
$ sudo dpkg -i libbusiness-sla-perl*.deb
3. download and install RTIR, read README, answer with /usr/share/request-tracker3.8/lib for path to RT.pm

This way, every package except RTIR itself is Debianized. Maybe I'll create RTIR deb....