From ghudson@MIT.EDU Wed Jan 1 14:04:52 1997
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id OAA24356 for <bugs@RT-11.MIT.EDU>; Wed, 1 Jan 1997 14:04:52 -0500
Received: from THE-LIGHT-FANTASTIC.MIT.EDU by MIT.EDU with SMTP
id AA28023; Wed, 1 Jan 97 14:04:51 EST
Received: (from ghudson@localhost) by the-light-fantastic.MIT.EDU (8.6.12/8.6.12) id OAA13713; Wed, 1 Jan 1997 14:04:50 -0500
Message-Id: <199701011904.OAA13713@the-light-fantastic.MIT.EDU>
Date: Wed, 1 Jan 1997 14:04:50 -0500
From: Greg Hudson <ghudson@MIT.EDU>
To: krb5-bugs@MIT.EDU
Subject: --with-afs needs some help
somewhat unwittingly by adding with_afs=/usr/afsws to my config.site)
creates several problems in Krb 5 beta 7:
* Irix requires a final -lsys after the -llwp, due to a
circular dependency (-llwp uses afs_syscall). Transarc uses
-lsys -lrx -llwp -lsys to build things, and so does everyone
else now.
* On Solaris, the build fails to find bzero, bcopy, sigvec,
getwd, random, sigsetmask, and setreuid. I use sigvec in
the test below because Solaris 2.5 added bzero, bcopy,
getwd, random, and setreuid back to libc, leaving sigvec and
sigsetmask back in libucb.
No, I don't believe there is any way to build krb5 without
-lucb on Solaris 2.4 or 2.5, short of defining the seven
symbols in login.c.
* On BSD 4.4-derived systems, the build fails to find insque
and remque, so it needs -lcompat.
Index: configure.in
===================================================================
RCS file: /afs/dev.mit.edu/source/repository/third/krb5/src/appl/bsd/configure.in,v
retrieving revision 1.1
retrieving revision 1.3
diff -c -r1.1 -r1.3
*** configure.in 1996/09/12 04:42:06 1.1
--- configure.in 1997/01/01 18:49:24 1.3
***************
*** 7,13 ****
,with_afs=no)dnl
if test $with_afs != no; then
AC_DEFINE(SETPAG)
! LOGINLIBS="$LOGINLIBS -L$with_afs/lib -L$with_afs/lib/afs -lauth -lsys -lrx -llwp"
fi
AC_PROG_INSTALL
dnl dbm libs for use of an_to_ln
--- 7,19 ----
,with_afs=no)dnl
if test $with_afs != no; then
AC_DEFINE(SETPAG)
! LOGINLIBS="$LOGINLIBS -L$with_afs/lib -L$with_afs/lib/afs -lauth -lsys -lrx -llwp -lsys"
! AC_CHECK_FUNC(sigvec, :,
! [AC_CHECK_LIB(ucb, sigvec,
! [LOGINLIBS="$LOGINLIBS -lucb"])])
! AC_CHECK_FUNC(insque, :,
! [AC_CHECK_LIB(compat, insque,
! [LOGINLIBS="$LOGINLIBS -lcompat"])])
fi
AC_PROG_INSTALL
dnl dbm libs for use of an_to_ln
Responsible-Changed-From-To: gnats-admin->tlyu
Responsible-Changed-By: tlyu
Responsible-Changed-When: Thu Mar 20 00:15:58 1997
Responsible-Changed-Why:
Refiled
State-Changed-From-To: open-analyzed
State-Changed-By: tlyu
State-Changed-When: Thu Mar 20 00:16:20 1997
State-Changed-Why:
From: Tom Yu <tlyu@MIT.EDU>
To: ghudson@MIT.EDU
Cc: krb5-bugs@MIT.EDU
Subject: Re: krb5-build/328: --with-afs needs some help
Date: Thu, 20 Mar 1997 00:18:09 -0500
You reported this problem against krb5-beta7.... does it still occur
with krb5-1.0?
---Tom
From: Greg Hudson <ghudson@MIT.EDU>
To: Tom Yu <tlyu@MIT.EDU>
Cc: ghudson@MIT.EDU, krb5-bugs@MIT.EDU
Subject: Re: krb5-build/328: --with-afs needs some help
Date: Thu, 20 Mar 1997 01:20:32 EST
Yes, it does. krb5-1.0 has no changes relevant to this bug.
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id OAA24356 for <bugs@RT-11.MIT.EDU>; Wed, 1 Jan 1997 14:04:52 -0500
Received: from THE-LIGHT-FANTASTIC.MIT.EDU by MIT.EDU with SMTP
id AA28023; Wed, 1 Jan 97 14:04:51 EST
Received: (from ghudson@localhost) by the-light-fantastic.MIT.EDU (8.6.12/8.6.12) id OAA13713; Wed, 1 Jan 1997 14:04:50 -0500
Message-Id: <199701011904.OAA13713@the-light-fantastic.MIT.EDU>
Date: Wed, 1 Jan 1997 14:04:50 -0500
From: Greg Hudson <ghudson@MIT.EDU>
To: krb5-bugs@MIT.EDU
Subject: --with-afs needs some help
Show quoted text
>Number: 328
>Category: krb5-build
>Synopsis: --with-afs needs some help
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: tlyu
>State: analyzed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed Jan 01 14:05:01 EST 1997
>Last-Modified: Fri Sep 14 10:26:32 EDT 2001
>Originator: Greg Hudson
>Organization:
>Release:
>Environment:
>Description:
With a new year comes new bugs. Configuring with --with-afs (as I did>Category: krb5-build
>Synopsis: --with-afs needs some help
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: tlyu
>State: analyzed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed Jan 01 14:05:01 EST 1997
>Last-Modified: Fri Sep 14 10:26:32 EDT 2001
>Originator: Greg Hudson
>Organization:
>Release:
>Environment:
>Description:
somewhat unwittingly by adding with_afs=/usr/afsws to my config.site)
creates several problems in Krb 5 beta 7:
* Irix requires a final -lsys after the -llwp, due to a
circular dependency (-llwp uses afs_syscall). Transarc uses
-lsys -lrx -llwp -lsys to build things, and so does everyone
else now.
* On Solaris, the build fails to find bzero, bcopy, sigvec,
getwd, random, sigsetmask, and setreuid. I use sigvec in
the test below because Solaris 2.5 added bzero, bcopy,
getwd, random, and setreuid back to libc, leaving sigvec and
sigsetmask back in libucb.
No, I don't believe there is any way to build krb5 without
-lucb on Solaris 2.4 or 2.5, short of defining the seven
symbols in login.c.
* On BSD 4.4-derived systems, the build fails to find insque
and remque, so it needs -lcompat.
Index: configure.in
===================================================================
RCS file: /afs/dev.mit.edu/source/repository/third/krb5/src/appl/bsd/configure.in,v
retrieving revision 1.1
retrieving revision 1.3
diff -c -r1.1 -r1.3
*** configure.in 1996/09/12 04:42:06 1.1
--- configure.in 1997/01/01 18:49:24 1.3
***************
*** 7,13 ****
,with_afs=no)dnl
if test $with_afs != no; then
AC_DEFINE(SETPAG)
! LOGINLIBS="$LOGINLIBS -L$with_afs/lib -L$with_afs/lib/afs -lauth -lsys -lrx -llwp"
fi
AC_PROG_INSTALL
dnl dbm libs for use of an_to_ln
--- 7,19 ----
,with_afs=no)dnl
if test $with_afs != no; then
AC_DEFINE(SETPAG)
! LOGINLIBS="$LOGINLIBS -L$with_afs/lib -L$with_afs/lib/afs -lauth -lsys -lrx -llwp -lsys"
! AC_CHECK_FUNC(sigvec, :,
! [AC_CHECK_LIB(ucb, sigvec,
! [LOGINLIBS="$LOGINLIBS -lucb"])])
! AC_CHECK_FUNC(insque, :,
! [AC_CHECK_LIB(compat, insque,
! [LOGINLIBS="$LOGINLIBS -lcompat"])])
fi
AC_PROG_INSTALL
dnl dbm libs for use of an_to_ln
Show quoted text
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Fix:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->tlyu
Responsible-Changed-By: tlyu
Responsible-Changed-When: Thu Mar 20 00:15:58 1997
Responsible-Changed-Why:
Refiled
State-Changed-From-To: open-analyzed
State-Changed-By: tlyu
State-Changed-When: Thu Mar 20 00:16:20 1997
State-Changed-Why:
From: Tom Yu <tlyu@MIT.EDU>
To: ghudson@MIT.EDU
Cc: krb5-bugs@MIT.EDU
Subject: Re: krb5-build/328: --with-afs needs some help
Date: Thu, 20 Mar 1997 00:18:09 -0500
You reported this problem against krb5-beta7.... does it still occur
with krb5-1.0?
---Tom
From: Greg Hudson <ghudson@MIT.EDU>
To: Tom Yu <tlyu@MIT.EDU>
Cc: ghudson@MIT.EDU, krb5-bugs@MIT.EDU
Subject: Re: krb5-build/328: --with-afs needs some help
Date: Thu, 20 Mar 1997 01:20:32 EST
Show quoted text
> You reported this problem against krb5-beta7.... does it still occur
> with krb5-1.0?
> with krb5-1.0?
Yes, it does. krb5-1.0 has no changes relevant to this bug.
Show quoted text
>Unformatted: