can not build krb5-1.6.3 on solaris 10

Cheng, Xian Lin XianLin.Cheng at ipc.com
Wed Nov 7 10:52:40 EST 2007


Ken

Thanks again. You are conrrect. The problem is the configure. Today, I
run configure for both 1.6.2 and 1.6.3 under the same PATH environment.
The result is different from the config.log file.
(1.6.2)
PATH: /usr/ccs/bin
PATH: /usr/local/bin
...
configure:1494: checking for gcc
configure:1520: result: gcc
...
configure:7477: checking for ar
configure:7504: result: ar cqv
configure:7513: checking for ar
configure:7540: result: ar cruv
configure:7560: checking for a BSD-compatible install
configure:7615: result: ./config/install-sh -c
configure:7628: checking for ar
configure:7655: result: ar

(1.6.3)
PATH: /usr/ccs/bin
PATH: /usr/local/bin
...
configure:1495: checking for gcc
configure:1521: result: cc
...
configure:7478: checking for ar
configure:7505: result: false
configure:7514: checking for ar
configure:7541: result: false
configure:7561: checking for a BSD-compatible install
configure:7616: result: ./config/install-sh -c
configure:7629: checking for ar
configure:7656: result: false

The 1.6.3 hase he correct PATH, but refuse to use ar in /usr/ccs/bin and
gcc in /usr/local/bin. How do I check the configure script to find the
problem?

Thanks
Xian
-----Original Message-----
From: Ken Raeburn [mailto:raeburn at MIT.EDU] 
Sent: Tuesday, November 06, 2007 4:52 PM
To: Cheng, Xian Lin
Cc: kerberos at mit.edu; Tanski, Frank; Yu, Ming; Downing, Thomas
Subject: Re: can not build krb5-1.6.3 on solaris 10

By the time you run make, it's already looked for ar and decided  
whether to use it or false.

Offhand, I'm not sure what a good next step would be to try debugging  
this, unless you want to try editing the configure script itself to  
trace through the tests that look to see where the ar program lives...

Is there any chance you ran configure once before with a different  
environment where PATH might not have included /usr/ccs/bin?  The  
configure script caches results from one run to the next in  
"config.cache" in the top of the build tree.

Ken


DISCLAIMER:
Important Notice *************************************************
This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unintended recipients are prohibited from taking action on the basis of information in this e-mail.E-mail messages may contain computer viruses or other defects, may not be accurately replicated on other systems, or may be intercepted, deleted or interfered with without the knowledge of the sender or the intended recipient. If you are not comfortable with the risks associated with e-mail messages, you may decide not to use e-mail to communicate with IPC. IPC reserves the right, to the extent and under circumstances permitted by applicable law, to retain, monitor and intercept e-mail messages to and from its systems.




More information about the Kerberos mailing list