It seems like you need the postgresql-devel package. Do you have it installed? If yes, then you need to tweak the makefiles to force gcc to look for the headers in the correct directory (wherever it is)
On Thu, 24 Oct 2002, Howard Bagcat wrote: > anyone, > > i tried workin with Joerg Wendland's pam-pgsql and i end up with this: > > ... > [root@mu3 pam-pgsql-0.9.3]# make > Making all in src > make[1]: Entering directory `/home/howard/wendland-pam-nss-pgsql/pam-pgsql-0.9.3/src' > /bin/sh ../libtool --mode=compile gcc -DPACKAGE=\"pam-pgsql\" -DVERSION=\"0.9.3\" - > DHAVE_LIBCRYPT=1 -DHAVE_LIBECPG=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 >- > DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GETTIMEOFDAY=1 - > DHAVE_DLFCN_H=1 -D_USE_PCONN -D_USE_CRYPT -I/usr/include/postgresql -g -O2 -c >pam_pgsql.c > mkdir .libs > gcc -DPACKAGE=\"pam-pgsql\" -DVERSION=\"0.9.3\" -DHAVE_LIBCRYPT=1 -DHAVE_LIBECPG=1 - > DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 - > DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_DLFCN_H=1 - > D_USE_PCONN -D_USE_CRYPT -I/usr/include/postgresql -g -O2 -c pam_pgsql.c -fPIC >-DPIC - > o .libs/pam_pgsql.o > pam_pgsql.c:3:22: ecpgtype.h: No such file or directory > pam_pgsql.c:4:21: ecpglib.h: No such file or directory > pam_pgsql.c:5:23: ecpgerrno.h: No such file or directory > In file included from pam_pgsql.pgc:3: > pam_pgsql.h:10:34: security/pam_modules.h: No such file or directory > pam_pgsql.h:11:31: security/pam_appl.h: No such file or directory > pam_pgsql.h:12:33: postgresql/libpq-fe.h: No such file or directory > make[1]: *** [pam_pgsql.lo] Error 1 > make[1]: Leaving directory `/home/howard/wendland-pam-nss-pgsql/pam-pgsql-0.9.3/src' > make: *** [all-recursive] Error 1 > ... > > do i have to tar-configure-make the pam source? any guiding hint? thanks... > > H o w a r d R. B a g c a t > WebAdmin, MUWeb - Edition 4 Project <http://www.mu.edu.ph> > Systems Programmer, RBT/RBK & MUMC Project > Misamis University.Ozamiz City.Philippines > tel: 088.521.0367.local.109 | cel: 63.0919.5536179 > > Imagination is more important than knowledge > -Albert Einstein > > > Sulat @MU v.2.2 (Fresh) > >....................................................................................... > An extended module for MUWeb4 Project of Howard R. Bagcat > Powered by GNU General Public License softwares. > > http://my.mu.edu.ph - a personalized portal is soon to come. > > > _ > Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph > To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] > > Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph > > To subscribe to the Linux Newbies' List: send "subscribe" in the body to >[EMAIL PROTECTED] > _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
