error while compiling Pam Kerberos module
Srinivas Cheruku
csri at sonata-software.com
Fri Mar 29 01:46:04 EST 2002
Hi,
I have downloaded pam_krb5-1.1.3.tar.gz module from
ftp://ftp.dementia.org/pub/pam
I am using Solaris 2.6 and MIT Kerberos 1.2.2.
But when i give make command i am getting errors as
In the Makefile, i have changed
# Set these parameters!!
KRBINCLUDE=-I/mitkrb5/include
KRBLIB=/mitkrb5/lib
KRBSOURCE=/export/home/srinivas/krb5-1.2.2/src
SECUREDIR=/usr/lib/security
# Solaris 2.6 GCC 2.8
CC = gcc
INCLUDE=$(KRBINCLUDE) -I$(KRBSOURCE)/include -I$(KRBSOURCE)/include/krb5
-I$(KRBSOURCE)/lib -I$
(KRBSOURCE)/kadmin/passwd
........
I have changed -I$(KRBSOURCE)/include/kadm5 to -I$(KRBSOURCE)/lib, since
there is no kadm5 directory in KRBSOURCE/include. It is in KRBSOURCE/lib.
After changing the makefile, i am getting the error as follows.
$ make
mkdir -p ./dynamic
*** Building pam_krb5 module of the framework...
gcc -O2 -fPIC -I/mitkrb5/include
-I/export/home/srinivas/krb5-1.2.2/src/include
-I/export/home/srinivas/krb5-1.2.2/src/include/krb5
-I/export/home/srinivas/krb5
-1.2.2/src/lib -I/export/home/srinivas/krb5-1.2.2/src/kadmin/passwd
-DUSE_KADM5
_API_VERSION=1 -c pam_krb5.c -o dynamic/pam_krb5.o
In file included from pam_krb5.c:53:
/export/home/srinivas/krb5-1.2.2/src/lib/kadm5/admin.h:15: gssrpc/rpc.h: No
such
file or directory
In file included from
/export/home/srinivas/krb5-1.2.2/src/lib/kadm5/admin.h:17,
from pam_krb5.c:53:
/export/home/srinivas/krb5-1.2.2/src/include/k5-int.h:80: osconf.h: No such
file
or directory
/export/home/srinivas/krb5-1.2.2/src/include/k5-int.h:135: autoconf.h: No
such f
ile or directory
In file included from pam_krb5.c:53:
/export/home/srinivas/krb5-1.2.2/src/lib/kadm5/admin.h:19: kadm5/kadm_err.h:
No
such file or directory
/export/home/srinivas/krb5-1.2.2/src/lib/kadm5/admin.h:20: kadm5/adb_err.h:
No s
uch file or directory
/export/home/srinivas/krb5-1.2.2/src/lib/kadm5/admin.h:21:
kadm5/chpass_util_str
ings.h: No such file or directory
pam_krb5.c:55: kpasswd_strings.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `dynamic/pam_krb5.o'
$
Please help me to solve this error.
Thanks in Advance,
Srinivas
*********************************************************************
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*********************************************************************
More information about the Kerberos
mailing list