[2377] in Kerberos-V5-bugs

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

pending/135: configuration problems found for krb5-beta7

daemon@ATHENA.MIT.EDU (Boris Chiu)
Thu Oct 24 14:14:39 1996

Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: gnats-admin@rt-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, Boris Chiu <borisc@fsc.fujitsu.com>
Date: Thu, 24 Oct 1996 11:14:32 -0700 (PDT)
From: Boris Chiu <borisc@fsc.fujitsu.com>
To: krb5-bugs@MIT.EDU


>Number:         135
>Category:       pending
>Synopsis:       configuration problems found for krb5-beta7
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Thu Oct e 14:14:01 EDT 1996
>Last-Modified:
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
Hi, anyone who can help;

I recently downloaded kerberos5-beta7 from your web site onto
solaris 2.5 system with sunpro cc compiler 3.0.1.

I followed the basic steps of build as:

1. cd /mydir/krb5-beta7/src
2. ./configure
3. make

The problems were found to be either Makefiles not generated or
not correctly generated under the "src" directory and down below.
It seemed to be the configuration of the system did some incorrect 
interpretations which caused the Makefiles to fail the compilation.
For examples like,

1) #includes were not found on solaris 2.5 and kerberos' 
   own header directory,

--------------------------------------------------------------------
/opt/SUNWspro/bin/cc  -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 -DHAS_STRDUP=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1 -DUSE_SIGPROCMASK=1 -DRETSIGTYPE=void -DHAVE_STDARG_H=1  -DKRB5_KRB4_COMPAT -I./../../include -I../../include -I./../../include/krb5 -I../../include/krb5 -I. -I./ -I./.. -I./../et -I.. -DKRB5_KRB4_COMPAT -I./../../include -I../../include -I./../../include/krb5 -I../../include/krb5 -c  help.c
"help.c", line 90: cannot find include file: <sys/dir.h>
"help.c", line 101: undefined symbol: DIR
"help.c", line 101: undefined symbol: d
"help.c", line 102: syntax error before or at: int
"help.c", line 110: syntax error before or at: )
"help.c", line 114: warning: function prototype parameters must have types
"help.c", line 114: warning: old-style declaration or incorrect type for: closedir
"help.c", line 115: warning: old-style declaration or incorrect type for: dirs
"help.c", line 115: undefined symbol: info
"help.c", line 115: left operand of "->" must be pointer to struct/union
"help.c", line 115: warning: improper pointer/integer combination: op "="
"help.c", line 115: non-constant initializer: op "U*"
"help.c", line 116: syntax error before or at: for
"help.c", line 116: warning: syntax error:  empty declaration
"help.c", line 116: undefined symbol: n_dirs
"help.c", line 116: integral constant expression expected
"help.c", line 116: undefined or not a type: dirs
"help.c", line 116: identifier redefined: dirs
	current : function() returning int
	previous: int : "help.c", line 115
"help.c", line 116: cannot recover from previous errors
cc: acomp failed for help.c
*** Error code 2
make: Fatal error: Command failed for target `help.o'
Current working directory /opt/kerberos5/krb5-beta7/src/util/ss
-------------------------------------------------------------------

2) in Makefile,  generating "STEXT=" instead of "STEXT=a",
3) in Makefile, generating "ARCHIVE=false" instead of "ARCHIVE=ar q"

Any help will be appreciated!

-Boris


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