I'm trying to build 6.5 w/ krb5 support.  I have made the service principal
and made the necessary changes to Makefile.global.
When I try to build I get an error about not finding krb5.h in auth.c.  This
is easily fixed by editing auth.c to specify the correct location for
krb5.h.  After I fix that I try an recompile again and get a bunch of errors
and the make dies.  

I'm running RedHat 6.0 on Intel
Krb5-1.0.6
glibc2.1

Here is the result of my make command at the point of failure.

Thanks

Joel


make -C libpq all 
make[2]: Entering directory `/usr/local/postgresql-6.5/src/backend/libpq'
gcc -I../../include -I../../backend   -O2 -Wall -Wmissing-prototypes -I..
-I/usr/local/include -DPG_KRB_SRVNAM='"postgres_dbms"' -DKRB5
-DPG_KRB_SRVTAB='"FILE:/usr/local/pgsql/srvtab.postgres"'   -c auth.c -o
auth.o
auth.c: In function `pg_krb5_recvauth':
auth.c:210: `krb5_rdreq_key_proc' undeclared (first use in this function)
auth.c:210: (Each undeclared identifier is reported only once
auth.c:210: for each function it appears in.)
auth.c:210: parse error before `keyproc'
auth.c:220: warning: implicit declaration of function `gethostname'
auth.c:222: warning: suggest parentheses around assignment used as truth
value
auth.c:224: warning: passing arg 1 of `krb5_parse_name' from incompatible
pointer type
auth.c:224: warning: passing arg 2 of `krb5_parse_name' from incompatible
pointer type
auth.c:224: too few arguments to function `krb5_parse_name'
auth.c:224: warning: suggest parentheses around assignment used as truth
value
auth.c:228: warning: implicit declaration of function `com_err'
auth.c:242: `keyproc' undeclared (first use in this function)
auth.c:257: warning: passing arg 2 of `krb5_recvauth' from incompatible
pointer type
auth.c:257: warning: passing arg 4 of `krb5_recvauth' from incompatible
pointer type
auth.c:257: warning: passing arg 8 of `krb5_recvauth' from incompatible
pointer type
auth.c:257: too many arguments to function `krb5_recvauth'
auth.c:257: warning: suggest parentheses around assignment used as truth
value
auth.c:262: warning: passing arg 1 of `krb5_free_principal' from
incompatible pointer type
auth.c:262: too few arguments to function `krb5_free_principal'
auth.c:265: warning: passing arg 1 of `krb5_free_principal' from
incompatible pointer type
auth.c:265: too few arguments to function `krb5_free_principal'
auth.c:272: warning: passing arg 1 of `krb5_unparse_name' from incompatible
pointer type
auth.c:272: warning: passing arg 2 of `krb5_unparse_name' from incompatible
pointer type
auth.c:272: too few arguments to function `krb5_unparse_name'
auth.c:277: warning: passing arg 1 of `krb5_free_principal' from
incompatible pointer type
auth.c:277: too few arguments to function `krb5_free_principal'
auth.c:280: warning: passing arg 1 of `krb5_free_principal' from
incompatible pointer type
auth.c:280: too few arguments to function `krb5_free_principal'
auth.c:290: `username' undeclared (first use in this function)
make[2]: *** [auth.o] Error 1
make[2]: Leaving directory `/usr/local/postgresql-6.5/src/backend/libpq'
make[1]: *** [libpq.dir] Error 2
make[1]: Leaving directory `/usr/local/postgresql-6.5/src/backend'
make: *** [all] Error 2

 

Joel A. Morris
Networking Planning and Support Services
University of Missouri, Columbia
(573)882-8240
[EMAIL PROTECTED]

Reply via email to