Menu

#2 can't make on Mac OS 10.4

open
nobody
None
5
2012-09-14
2006-04-05
grinz
No

Can't build pam-pgsql on Mac OS 10.4.

Here's the results:
cc -O2 -frename-registers -fstrict-aliasing -fPIC -DPIC -Wall -W -
Wdisabled-optimization -Wredundant-decls -Wmissing-format-
attribute -Wmissing-noreturn -D_GNU_SOURCE -I/usr/local/pgsql/
include -I/opt/local/include -c -o pam_pgsql.o pam_pgsql.c
pam_pgsql.c:20:19: error: crypt.h: No such file or directory
pam_pgsql.c: In function 'pam_sm_authenticate':
pam_pgsql.c:577: warning: dereferencing type-punned pointer will
break strict-aliasing rules
pam_pgsql.c: In function 'pam_sm_acct_mgmt':
pam_pgsql.c:636: warning: dereferencing type-punned pointer will
break strict-aliasing rules
pam_pgsql.c: In function 'pam_sm_chauthtok':
pam_pgsql.c:685: warning: dereferencing type-punned pointer will
break strict-aliasing rules
pam_pgsql.c: In function 'pam_sm_setcred':
pam_pgsql.c:750: warning: unused parameter 'pamh'
pam_pgsql.c:750: warning: unused parameter 'flags'
pam_pgsql.c:750: warning: unused parameter 'argc'
pam_pgsql.c:750: warning: unused parameter 'argv'
make: *** [pam_pgsql.o] Error 1

Here's the layout of my pgsql install:
/usr/local/pgsql
/usr/local/pgsql/include
/usr/local/pgsql/include/server
/usr/local/pgsql/include/server/libpq

crypt.h is in:
/usr/local/pgsql/include/server/libpq

Any ideas how I might fix this?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.