Re: Make of PAM-PGSQL doesn't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patrick Nelson wrote:
Hello all,

I trying to build PAM-PgSQL (from https://sourceforge.net/projects/pam-pgsql) on an up to date FC5 system. This app has a dependency on 2 apps:

mhash-devel 0.9.1-0.fdr.1
postgresql-devel 8.1.4-1.fc5.1

which I have installed from RPMs with their parent apps (mhash and all postgresql-*) that I installed with yum.

It is a .bz tar file that you have to do a:

 ./configure
 make
 make install

The configure works fine but when I run make I get the following error:

 pam_get_service.c: In function 'pam_get_service'
pam_get_service.c10: error: 'NULL' undeclared (first use in this function) pam_get_service.c10: error: (Each undeclared identifier is reported only once
 pam_get_service.c10: error: for each function it appears in.)
 make: *** [pam_get_service.o] Error 1

Unfortunately I cant get much of a response from the developer, so I thought I would ask the smart people here. I'm not a big programmer here either but I can follow directions. Anyone know what I would have to do to get this working?

pnelson

OK I was looking at the use of NULL in all .c files in this app and I found that there was a header line missing from pam_get_service.c file:

#include <stdlib.h>

I put this in pam_get_service.c and did a 'make clean' and then the:

./configure
make

And now it built up without any errors.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux