[19787] in Kerberos

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

problem trying to configure krb5-1.2.8 with compiler option for

daemon@ATHENA.MIT.EDU (Swift, Louise)
Mon Aug 11 13:04:24 2003

content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Date: Mon, 11 Aug 2003 15:53:10 +0100
Message-ID: <B01DC08A74C4444F8D6E7C79DC43A0165359CF@EXVSRV09.it2000.hants.gov.uk>
From: "Swift, Louise" <louise.swift@hants.gov.uk>
To: <kerberos@mit.edu>
Content-Transfer-Encoding: 8bit
Errors-To: kerberos-bounces@mit.edu

Dear All
Hi, I'm having problems with configure when installing krb5-1.2.8
./configure --with-cc=gcc --without-krb4 --with-tcl=/usr/local --enable-shared      gives no problem, but if I use 
./configure --with-cc=gcc --with-ccopts=-m64 --without-krb4 --with-tcl=/usr/local --enable-shared  i get errors.
The output from the 2 commands is listed below. I would really appreciate any help you can give.
thank you & Cheers
Louise Swift

./configure --with-cc=gcc --without-krb4 --with-tcl=/usr/local --enable-shared
creating cache ./config.cache
checking for C compiler... gcc
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
LD defaults to gcc
CPPOPTS defaults to 
no krb4 support
checking for working const... yes
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for socket... no
checking for socket in -lsocket... yes
checking if DNS Kerberos lookup support should be compiled in... yes
checking for res_search... no
checking for res_search in -lresolv... yes
checking how to run the C preprocessor... gcc -E
checking whether we are using GNU C... yes
.
.
.etc & works fine

the highlighted yes' are no in the example that fails below (and the only difference is the --with-ccopts=-m64)


# ./configure --with-cc=gcc --with-ccopts=-m64 --without-krb4 --with-tcl=/usr/local --enable-shared
creating cache ./config.cache
checking for C compiler... gcc
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
CCOPTS is -m64
LD defaults to gcc
CPPOPTS defaults to 
no krb4 support
checking for working const... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... no
checking for gethostbyname in -lsocket... no
checking for gethostbyname in -lsocket... (cached) no
checking for gethostbyname in -lresolv... no
checking for socket... no
checking for socket in -lsocket... no
checking for socket in -lsocket... (cached) no
checking if DNS Kerberos lookup support should be compiled in... yes
checking for res_search... no
checking for res_search in -lresolv... no
configure: error: Cannot find resolver support routine res_search in -lresolv.

> Louise Swift
> IT Services (rm 415) 
> Hampshire County Council
> Elizabeth II Court, The Castle,
> Winchester, Hants SO23 8US
> Tel: +44 (0)1962 847427
> Fax: +44 (0)1962 847434
> HPSN: 200 7427
Louise.Swift@hants.gov.uk


________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

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