Should I just bail on PAM?
My system:
3.2.0-49-generic #75-Ubuntu SMP Tue Jun 18 17:39:32 UTC 2013 x86_64
x86_64 x86_64 GNU/Linux
NAME="Ubuntu"
VERSION="12.04.2 LTS, Precise Pangolin"
My configuration:
./configure --prefix=/usr/local/pgsql-9.3b2 --with-python --with-openssl
--with-pam --with-ossp-uuid --with-libxml --with-libxslt
--with-includes=/usr/include/lsb3 --with-libraries=/usr/lib/lsb3
My error:
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
-Wformat-security -fno-strict-aliasing -fwrapv
-fexcess-precision=standard -I../../../src/include -D_GNU_SOURCE
-I/usr/include/libxml2 -I/usr/include/lsb3 -c -o auth.o auth.c
auth.c: In function ‘pam_passwd_conv_proc’:
auth.c:1840:32: error: ‘PAM_MAX_NUM_MSG’ undeclared (first use in this
function)
auth.c:1840:32: note: each undeclared identifier is reported only once
for each function it appears in
make[3]: *** [auth.o] Error 1
make[3]: Leaving directory
`/d2/rsargent/tools/postgresql-9.3beta2/src/backend/libpq'
make[2]: *** [libpq-recursive] Error 2
make[2]: Leaving directory
`/d2/rsargent/tools/postgresql-9.3beta2/src/backend'
make[1]: *** [all-backend-recurse] Error 2
make[1]: Leaving directory `/d2/rsargent/tools/postgresql-9.3beta2/src'
make: *** [all-src-recurse] Error 2