Thanks for the suggestion, Alan!  I gave it a try, but I'm not sure if I
got it right.  After I did the ./configure, I copied the
rlm_krb5/Makefile.in to rlm_krb5/Makefile.  When it was in place, I edited
it as so:

TARGET     = rlm_krb5 
SRCS       = rlm_krb5.c
HEADERS    = com_err.h krb5.h
RLM_LIBS   = -lk5crypto -lkrb5 -lcom_err
RLM_CFLAGS = 

I wasn't sure what to put, so I took my cue from
src/modules/rlm_ldap/Makefile.  After I edited the Makefile, I did a make
and got:

Making static dynamic in rlm_krb5...
gmake[6]: Entering directory
`/usr1/incoming/freeradius-0.7.1/src/modules/rlm_krb5'
../rules.mak:97: warning: overriding commands for target `rlm_krb5'
../rules.mak:72: warning: ignoring old commands for target `rlm_krb5'
gmake[6]: *** No rule to make target `com_err.h', needed by 
`rlm_krb5.lo'.  Stop
.
gmake[6]: Leaving directory
`/usr1/incoming/freeradius-0.7.1/src/modules/rlm_krb
5'
gmake[5]: *** [common] Error 1
gmake[5]: Leaving directory `/usr1/incoming/freeradius-0.7.1/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/usr1/incoming/freeradius-0.7.1/src/modules'
gmake[3]: *** [common] Error 1
gmake[3]: Leaving directory `/usr1/incoming/freeradius-0.7.1/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr1/incoming/freeradius-0.7.1/src'
gmake[1]: *** [common] Error 1
gmake[1]: Leaving directory `/usr1/incoming/freeradius-0.7.1'
make: *** [all] Error 2

Sorry to ask; I've been happily doing the "'make', curse, and re-edit
until it works" way, but unfortunately nothing I try seems to be getting
very far.  I just want to make sure I'm on the right track.  Thanks again!

Brian

On Tue, 29 Oct 2002, Alan DeKok wrote:

> 
>   No, you're better off at this point just creating the Makefile by
> hand:
> 
> cp rlm_krb5/Makefile.in rlm_krb5/Makefile
> vi rlm_krb5/Makefile
> 
>   And edit until it's pointed to the right directories and header
> files.  'make', curse, and re-edit until it works. ;)
> 
>   Alan DeKok.
> 




- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to