[16087] in Kerberos_V5_Development

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

Re: Kerberos MIT on Solaris

daemon@ATHENA.MIT.EDU (Douglas E. Engert)
Thu Aug 19 14:04:36 2010

Message-ID: <4C6D7230.70400@anl.gov>
Date: Thu, 19 Aug 2010 13:04:32 -0500
From: "Douglas E. Engert" <deengert@anl.gov>
MIME-Version: 1.0
To: krbdev@mit.edu
In-Reply-To: <195591.19445.qm@web50106.mail.re2.yahoo.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu



On 8/19/2010 12:00 PM, vir vir wrote:
> Thanks ,
> but now I got the same problem with
>
> error: cannot find res_nsearch or res_search
> I am not sure why

Look in config.log and config.status

> Thanks
>
> --- On Thu, 8/19/10, Douglas E. Engert<deengert@anl.gov>  wrote:
>
>
> From: Douglas E. Engert<deengert@anl.gov>
> Subject: Re: Kerberos MIT on Solaris
> To: krbdev@mit.edu
> Received: Thursday, August 19, 2010, 9:42 AM
>
>
>
>
> On 8/19/2010 11:21 AM, Douglas E. Engert wrote:
>>
>>
>> On 8/19/2010 10:50 AM, vir vir wrote:
>>> I have done
>>>
>>> ./configure CC ='/opt/SUNWspro/bin/CC'
>
> That is the C++ compiler, Have you tried:
>
> Easiest way to do this is:
> export CC=/opt/SUNWspro/bin/cc
> If on sparc:
> export CFLAGS=-xarch=v9
> If on amd64:
> export CLFAGS=-xarch=amd64
>
> ./configure
>
>>> export /opt/SUNWspro/bin/ to the PATH
>>> and getting the following error message from ./configure.
>>>
>>>
>>> Configure: cannot find res_nsearch or res_search
>>
>> Have you looked at the config.status to see what test it used?
>> If might not be using the -L/usr/lib/64 and/or not using -lnsl -lsocket
>>
>>
>>>
>>>
>>> --- On Thu, 8/19/10, Shumon Huque<shuque@isc.upenn.edu>    wrote:
>>>
>>>
>>> From: Shumon Huque<shuque@isc.upenn.edu>
>>> Subject: Re: Kerberos MIT on Solaris
>>> To: "vir vir"<vitrou2004@yahoo.com>
>>> Cc: "Ken Raeburn"<raeburn@mit.edu>, krbdev@mit.edu
>>> Received: Thursday, August 19, 2010, 8:46 AM
>>>
>>>
>>> Note: I haven't tested this myself, but something like
>>> the following will probably work:
>>>
>>>         env CC=cc CFLAGS='-xarch=generic64' ./configure ..
>>>
>>> If the right cc isn't in your path, you might have to change
>>> "CC=cc" to "CC=/opt/SUNWspro/bin/cc".
>>>
>>> If you're linking with 64-bit libraries in /usr/sfw/lib (eg.
>>> Sun's bundled openssl), you might also need to add:
>>>
>>>         LDFLAGS="-L/usr/sfw/lib/64 -R/usr/sfw/lib/64"
>>>
>>> --Shumon.
>>>
>>> On Thu, Aug 19, 2010 at 08:09:05AM -0700, vir vir wrote:
>>>> Hi Ken,
>>>>
>>>> Thank you for your response.
>>>> If I want to compile using Sun compiler and not gcc . How I can set the Sun compiler to the ./configure file?
>>>> Thanks,
>>>> Alex
>>>>
>>>> --- On Thu, 8/12/10, Ken Raeburn<raeburn@MIT.EDU>    wrote:
>>>>
>>>>
>>>> From: Ken Raeburn<raeburn@MIT.EDU>
>>>> Subject: Re: Kerberos MIT on Solaris
>>>> To: "vir vir"<vitrou2004@yahoo.com>
>>>> Cc: krbdev@mit.edu
>>>> Received: Thursday, August 12, 2010, 7:57 AM
>>>>
>>>>
>>>> On Aug 12, 2010, at 10:15, vir vir wrote:
>>>>> Hi,
>>>>>
>>>>> I found all the files and the paths.
>>>>>
>>>>> All the libraries were created.  The libraries are 32 bit what should I change in the configure file or somewhere else to create 64 bit
>>>>
>>>> It's normally created using the defaults for whichever compiler you're using, so if you would normally build 32-bit code, that's what it does.  (Though it does choose gcc over the native compiler, if you've got both and you don't tell it otherwise.)  So, it depends in part on what compiler you're using.  You could try something like:
>>>>
>>>>       ./configure CC='gcc -m64'
>>>>
>>>> in a freshly unpacked source tree (i.e., with no object files, saved configuration data, etc).  The CC= spec will override the default compiler selection mechanism.
>>>>
>>>> Ken
>>>>
>>>> _______________________________________________
>>>> krbdev mailing list             krbdev@mit.edu
>>>> https://mailman.mit.edu/mailman/listinfo/krbdev
>>>
>>
>

-- 

  Douglas E. Engert  <DEEngert@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

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