[OpenAFS] Trouble compiling 1.4rc4 SRPM

Derek Atkins warlord@MIT.EDU
Thu, 22 Sep 2005 10:07:09 -0400


Quoting Kurt Seiffert <seiffert@indiana.edu>:

> I'm trying to compile openafs 1.4.0rc4 from the SRPM's. I am trying  
> this on both RHEL AS 3 and RHEL AS 4.

both of these should work just fine.  Although I believe I only used 
WS, not AS.
Is there really a big difference between them?

> Openafs itself seems to compile OK but when the rpmbuild runs the  
> configure script for afs-krb5 it gets the following error:
>
[snip]
> checking for socket... yes
> checking for gethostbyname... yes
> checking for res_search... no
> checking for res_search in -ldns... no
> checking for res_search in -lnsl... no
> checking for res_search in -lresolv... no
> configure: error: Unable to find res_search function
> + exit 1
> error: Bad exit status from /var/tmp/rpm-tmp.14218 (%build)
[snip]
> Any suggestions?

Install the glibc-devel package?

Honestly I should probably just remove this check because I don't think 
anything
actually USES res_search...

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available