[1546] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

make install on beta 5 is broken

daemon@ATHENA.MIT.EDU (Dan Nessett)
Thu Jul 13 20:52:35 1995

Date: Thu, 13 Jul 1995 17:50:32 -0700 (PDT)
From: Danny.Nessett@Eng.Sun.COM (Dan Nessett)
To: krb5-bugs@MIT.EDU
Cc: warlord@jurassic.Eng.Sun.COM, Danny.Nessett@Eng.Sun.COM


There is a problem with the Makefiles created by configure for the Beta 5
version of Kerberos V5. In particular, when I run make install after
building from the source tree, the install keeps blowing up. The reason is
the INSTALL macro is defined to be :

  ../../config/install-sh

This is true for each Makefile in all subdirectories. Obviously, if the
subdirectory isn't two down from src (which holds the directory config)
this isn't going to work.

Just to keep the record straight, I ran configure with the following
parameters [in the src directory] :

 ./configure --with-ccopts=-g --with-krb5-root=<directory on another disk>

I don't know why configure decides to define INSTALL this way. There is
another macro in each Makefile called BUILDTOP that correctly points up
the number of subdirectories to get to src. So in src/appl/sample/sclient
BUILDTOP is defined :

  BUILDTOP = ../../..

Therefore, INSTALL should be defined as :

  INSTALL=$(BUILDTOP)/config/install-sh -c

instead of

  INSTALL=../../config/install-sh -c

The directories in which you have to edit Makefile by hand are :

[define INSTALL=../config/install-sh -c]

  src/kdc
  src/slave

[define INSTALL=../../../config/install-sh -c]

  src/appl/sample/sclient
  src/appl/sample/sserver
  src/appl/simple/client
  src/appl/simple/server
  src/appl/telnet/telnet
  src/appl/telnet/telnetd

After editing the Makefiles in these directories the install worked. 

home help back first fref pref prev next nref lref last post