Build using:CFLAGS="-g -O0" ./configure --with-pam --enable-cassert --enable-debug--prefix=/home/amit/dev/pginstall/
-- Amit Langote