[OpenAFS] Trouble compiling 1.4rc4 SRPM
Thu, 22 Sep 2005 10:15:03 -0400
Well, you could actually check the config.log in the afs-krb5 subdirectory and
see what's actually failing. That might give you some clue. On my RHEL3
system it finds res_search in -lresolv.
I do have access to a patch that removes res_search... I'll probably
that to the next version of the packages.
Quoting Kurt Seiffert <email@example.com>:
> I was going to try to avoiding the check this morning.
> I do have the glibc-devel package installed on both. I'm not sure I
> understand everything in the test. Is there another quick way to test
> if res_search is available? My C programming is very rusty.
> P.S. Sorry about any duplicates on this message. My mailer put in the
> internal return address and it was routed to the moderator. I tried
> resending the message to get it out quicker.
> Kurt A. Seiffert | firstname.lastname@example.org
> UITS Distributed Storage Services Group | C: 812-345-1892
> Indiana University, Bloomington | W: 1 812-855-5089
> On Sep 22, 2005, at 9:07 AM, Derek Atkins wrote:
>> Quoting Kurt Seiffert <email@example.com>:
>>> 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:
>>> 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)
>>> 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 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
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