[OpenAFS] Trouble compiling 1.4rc4 SRPM

Kurt Seiffert seiffert@indiana.edu
Thu, 22 Sep 2005 10:01:31 -0500


--Apple-Mail-41-917719957
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

I already looked there. It wasn't very helpful to me. It just claimed  
an undefined reference to res_search. Which tends to tell me that it  
can't find the function can't be found in the library. One thing that  
bothers me is that the function declaration in the test C program,  
doesn't seem to match the man page entry for the res_search. It's  
been a while since I did C programming so I can't remember if the the  
function declaration has to match the type for the arguments and  
return type of the function definition.

Here is the relevant output from the config.log:

> configure:2971: checking for res_search in -lresolv
> configure:3001: gcc -o conftest -O2 -g -pipe -m64   conftest.c - 
> lresolv    >&5
> /tmp/cc2slfkp.o(.text+0x7): In function `main':
> /usr/src/redhat/BUILD/openafs-1.4.0-rc4/afs-krb5/src/conftest.c:20:  
> undefined reference to `res_search'
> collect2: ld returned 1 exit status
> configure:3007: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "afs-krb5"
> | #define PACKAGE_TARNAME "afs-krb5"
> | #define PACKAGE_VERSION "1.4"
> | #define PACKAGE_STRING "afs-krb5 1.4"
> | #define PACKAGE_BUGREPORT "kenh@cmf.nrl.navy.mil"
> | /* end confdefs.h.  */
> |
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char res_search ();
> | int
> | main ()
> | {
> | res_search ();
> |   ;
> |   return 0;
> | }
> configure:3033: result: no
> configure:3044: error: Unable to find res_search function

I tried bypassing the res_search check. ./configure ran successfully  
by hand then but then the make blew up with the following:
> gcc -c -g -O2  -I/usr/src/redhat/BUILD/openafs-1.4.0-rc4/afs-krb5/ 
> src/../../amd64_linux26/dest//include -DPACKAGE_NAME=\"afs-krb5\" - 
> DPACKAGE_TARNAME=\"afs-krb5\" -DPACKAGE_VERSION=\"1.4\" - 
> DPACKAGE_STRING=\"afs-krb5\ 1.4\" -DPACKAGE_BUGREPORT= 
> \"kenh@cmf.nrl.navy.mil\" -DAFS=1 -DAFS_INT32=1 - 
> DAFS_TRY_FULL_PRINC=1 -DHAVE_DAEMON=1 -DSTDC_HEADERS=1 - 
> DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 - 
> DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 - 
> DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 - 
> DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MEMORY_H=1 - 
> DHAVE_PATHS_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRERROR=1 - 
> DRETSIGTYPE=void  -DALLOW_REGISTER  afs2k5db.c
> afs2k5db.c:33:21: com_err.h: No such file or directory
> afs2k5db.c:35:20: k5-int.h: No such file or directory
> afs2k5db.c:36:17: adm.h: No such file or directory
> afs2k5db.c:37:23: adm_proto.h: No such file or directory
> afs2k5db.c:128: error: syntax error before "krb5_key_data"
> afs2k5db.c: In function `main':
> afs2k5db.c:134: error: `krb5_realm_params' undeclared (first use in  
> this function)
> afs2k5db.c:134: error: (Each undeclared identifier is reported only  
> once
> afs2k5db.c:134: error: for each function it appears in.)
> afs2k5db.c:134: error: `rparams' undeclared (first use in this  
> function)
> afs2k5db.c:135: error: `krb5_keysalt' undeclared (first use in this  
> function)
> afs2k5db.c:135: error: syntax error before "key_salt"
> afs2k5db.c:137: error: `krb5_key_data' undeclared (first use in  
> this function)
> afs2k5db.c:137: error: syntax error before "key_data"
> afs2k5db.c:198: error: `key_data' undeclared (first use in this  
> function)
> afs2k5db.c:230: error: `DEFAULT_KDC_ENCTYPE' undeclared (first use  
> in this function)
> afs2k5db.c:259: error: `key_salt' undeclared (first use in this  
> function)
> afs2k5db.c:259: error: `KRB5_KDB_SALTTYPE_V4' undeclared (first use  
> in this function)
> afs2k5db.c:263: error: `KRB5_KDB_SALTTYPE_AFS3' undeclared (first  
> use in this function)
> afs2k5db.c:275: error: `O_RDONLY' undeclared (first use in this  
> function)
> afs2k5db.c:377: error: syntax error before "krb5_keysalt"
> make: *** [afs2k5db.o] Error 1

This looks like maybe the patches haven't been applied or something  
is amiss from trying to run the make from outside the environment  
setup by the rpmbuild. I still need to research some more.

Thanks for any thoughts or advice.

-KAS

Kurt A. Seiffert                        | seiffert@indiana.edu
UITS Distributed Storage Services Group | C: 812-345-1892
Indiana University, Bloomington         | W: 1 812-855-5089

On Sep 22, 2005, at 9:15 AM, Derek Atkins wrote:

> 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 just apply
> that to the next version of the packages.
>
> Thanks,
>
> -derek
>
> Quoting Kurt Seiffert <seiffert@indiana.edu>:
>
>
>> 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.
>>
>> Thanks.
>>
>> -KAS
>>
>> 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                        | seiffert@indiana.edu
>> 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 <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
>>>
>>>
>>>
>>
>>
>>
>
>
>
> -- 
>       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
>
>


--Apple-Mail-41-917719957
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; ">I already looked there. It =
wasn't very helpful to me. It just claimed an undefined reference to =
res_search. Which tends to tell me that it can't find the function can't =
be found in the library. One thing that bothers me is that the function =
declaration in the test C program, doesn't seem to match the man page =
entry for the res_search. It's been a while since I did C programming so =
I can't remember if the the function declaration has to match the type =
for the=A0arguments and return type of the function definition.=A0<DIV><BR=
 class=3D"khtml-block-placeholder"></DIV><DIV>Here is the relevant =
output from the config.log:</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><BLOCKQUOTE =
type=3D"cite"><DIV>configure:2971: checking for res_search in =
-lresolv</DIV><DIV>configure:3001: gcc -o conftest -O2 -g -pipe -m64=A0=A0=
 conftest.c -lresolv=A0 =A0 =
&gt;&amp;5</DIV><DIV>/tmp/cc2slfkp.o(.text+0x7): In function =
`main':</DIV><DIV>/usr/src/redhat/BUILD/openafs-1.4.0-rc4/afs-krb5/src/con=
ftest.c:20: undefined reference to `res_search'</DIV><DIV>collect2: ld =
returned 1 exit status</DIV><DIV>configure:3007: $? =3D =
1</DIV><DIV>configure: failed program was:</DIV><DIV>| /* confdefs.h.=A0 =
*/</DIV><DIV>| </DIV><DIV>| #define PACKAGE_NAME "afs-krb5"</DIV><DIV>| =
#define PACKAGE_TARNAME "afs-krb5"</DIV><DIV>| #define PACKAGE_VERSION =
"1.4"</DIV><DIV>| #define PACKAGE_STRING "afs-krb5 1.4"</DIV><DIV>| =
#define PACKAGE_BUGREPORT "<A =
href=3D"mailto:kenh@cmf.nrl.navy.mil">kenh@cmf.nrl.navy.mil</A>"</DIV><DIV=
>| /* end confdefs.h.=A0 */</DIV><DIV>| </DIV><DIV>| /* Override any =
gcc2 internal prototype to avoid an error.=A0 */</DIV><DIV>| #ifdef =
__cplusplus</DIV><DIV>| extern "C"</DIV><DIV>| #endif</DIV><DIV>| /* We =
use char because int might match the return type of a gcc2</DIV><DIV>|=A0 =
=A0 builtin and then its argument prototype would still apply.=A0 =
*/</DIV><DIV>| char res_search ();</DIV><DIV>| int</DIV><DIV>| main =
()</DIV><DIV>| {</DIV><DIV>| res_search ();</DIV><DIV>|=A0=A0 =
;</DIV><DIV>|=A0=A0 return 0;</DIV><DIV>| }</DIV><DIV>configure:3033: =
result: no</DIV><DIV>configure:3044: error: Unable to find res_search =
function</DIV></BLOCKQUOTE><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>I tried bypassing the =
res_search check. ./configure ran successfully by hand then but then the =
make blew up with the following:</DIV><BLOCKQUOTE type=3D"cite"><DIV>gcc =
-c -g -O2=A0 =
-I/usr/src/redhat/BUILD/openafs-1.4.0-rc4/afs-krb5/src/../../amd64_linux26=
/dest//include -DPACKAGE_NAME=3D\"afs-krb5\" =
-DPACKAGE_TARNAME=3D\"afs-krb5\" -DPACKAGE_VERSION=3D\"1.4\" =
-DPACKAGE_STRING=3D\"afs-krb5\ 1.4\" -DPACKAGE_BUGREPORT=3D\"<A =
href=3D"mailto:kenh@cmf.nrl.navy.mil">kenh@cmf.nrl.navy.mil</A>\" =
-DAFS=3D1 -DAFS_INT32=3D1 -DAFS_TRY_FULL_PRINC=3D1 -DHAVE_DAEMON=3D1 =
-DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 =
-DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 =
-DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 =
-DHAVE_UNISTD_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_STDLIB_H=3D1 =
-DHAVE_MEMORY_H=3D1 -DHAVE_PATHS_H=3D1 -DHAVE_MALLOC_H=3D1 =
-DHAVE_STRERROR=3D1 -DRETSIGTYPE=3Dvoid=A0 -DALLOW_REGISTER=A0 =
afs2k5db.c</DIV><DIV>afs2k5db.c:33:21: com_err.h: No such file or =
directory</DIV><DIV>afs2k5db.c:35:20: k5-int.h: No such file or =
directory</DIV><DIV>afs2k5db.c:36:17: adm.h: No such file or =
directory</DIV><DIV>afs2k5db.c:37:23: adm_proto.h: No such file or =
directory</DIV><DIV>afs2k5db.c:128: error: syntax error before =
"krb5_key_data"</DIV><DIV>afs2k5db.c: In function =
`main':</DIV><DIV>afs2k5db.c:134: error: `krb5_realm_params' undeclared =
(first use in this function)</DIV><DIV>afs2k5db.c:134: error: (Each =
undeclared identifier is reported only once</DIV><DIV>afs2k5db.c:134: =
error: for each function it appears in.)</DIV><DIV>afs2k5db.c:134: =
error: `rparams' undeclared (first use in this =
function)</DIV><DIV>afs2k5db.c:135: error: `krb5_keysalt' undeclared =
(first use in this function)</DIV><DIV>afs2k5db.c:135: error: syntax =
error before "key_salt"</DIV><DIV>afs2k5db.c:137: error: `krb5_key_data' =
undeclared (first use in this function)</DIV><DIV>afs2k5db.c:137: error: =
syntax error before "key_data"</DIV><DIV>afs2k5db.c:198: error: =
`key_data' undeclared (first use in this =
function)</DIV><DIV>afs2k5db.c:230: error: `DEFAULT_KDC_ENCTYPE' =
undeclared (first use in this function)</DIV><DIV>afs2k5db.c:259: error: =
`key_salt' undeclared (first use in this =
function)</DIV><DIV>afs2k5db.c:259: error: `KRB5_KDB_SALTTYPE_V4' =
undeclared (first use in this function)</DIV><DIV>afs2k5db.c:263: error: =
`KRB5_KDB_SALTTYPE_AFS3' undeclared (first use in this =
function)</DIV><DIV>afs2k5db.c:275: error: `O_RDONLY' undeclared (first =
use in this function)</DIV><DIV>afs2k5db.c:377: error: syntax error =
before "krb5_keysalt"</DIV><DIV>make: *** [afs2k5db.o] Error =
1</DIV></BLOCKQUOTE><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>This looks like maybe the =
patches haven't been applied or something is amiss from trying to run =
the make from outside the environment setup by the rpmbuild. I still =
need to research some more.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Thanks for any thoughts or =
advice.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>-KAS</DIV><DIV><DIV> <P =
style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; =
min-height: 14.0px"><BR></P> <P style=3D"margin: 0.0px 0.0px 0.0px =
0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">Kurt A. Seiffert<SPAN class=3D"Apple-converted-space">=A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 </SPAN>| <A =
href=3D"mailto:seiffert@indiana.edu">seiffert@indiana.edu</A></FONT></P> =
<P style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" =
size=3D"3" style=3D"font: 12.0px Helvetica">UITS Distributed Storage =
Services Group | C: 812-345-1892</FONT></P> <P style=3D"margin: 0.0px =
0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: =
12.0px Helvetica">Indiana University, Bloomington <SPAN =
class=3D"Apple-converted-space">=A0 =A0 =A0 =A0 </SPAN>| W: 1 =
812-855-5089<SPAN class=3D"Apple-converted-space">=A0 =A0 =
=A0</SPAN></FONT></P>  </DIV><BR><DIV><DIV>On Sep 22, 2005, at 9:15 AM, =
Derek Atkins wrote:</DIV><BR =
class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Well, you could actually check the config.log in the =
afs-krb5 subdirectory and</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">see what's =
actually failing.<SPAN class=3D"Apple-converted-space">=A0 </SPAN>That =
might give you some clue.<SPAN class=3D"Apple-converted-space">=A0 =
</SPAN>On my RHEL3</DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; ">system it finds res_search =
in -lresolv.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">I do have access to a patch that removes =
res_search...<SPAN class=3D"Apple-converted-space">=A0 </SPAN>I'll =
probably just apply</DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; ">that to the next version of =
the packages.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Thanks,</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">-derek</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Quoting =
Kurt Seiffert &lt;<A =
href=3D"mailto:seiffert@indiana.edu">seiffert@indiana.edu</A>&gt;:</DIV><D=
IV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV> <BR><BLOCKQUOTE =
type=3D"cite"><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">I was going to try to avoiding =
the check this morning.</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">I do have the glibc-devel =
package installed on both. I'm not sure I<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>understand everything in the =
test. Is there another quick way to test<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>if res_search is available? =
My C programming is very rusty.</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Thanks.</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">-KAS</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">P.S. Sorry about any duplicates on this message. My =
mailer put in the<SPAN class=3D"Apple-converted-space">=A0 =
</SPAN>internal return address and it was routed to the moderator. I =
tried<SPAN class=3D"Apple-converted-space">=A0 </SPAN>resending the =
message to get it out quicker.</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Kurt A. Seiffert<SPAN =
class=3D"Apple-converted-space">=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 </SPAN>| <A =
href=3D"mailto:seiffert@indiana.edu">seiffert@indiana.edu</A></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">UITS Distributed Storage Services Group | C: =
812-345-1892</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Indiana University, Bloomington =
<SPAN class=3D"Apple-converted-space">=A0 =A0 =A0 =A0 </SPAN>| W: 1 =
812-855-5089</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">On Sep 22, 2005, at 9:07 AM, Derek Atkins =
wrote:</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> =
<BR><BLOCKQUOTE type=3D"cite"><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Quoting Kurt =
Seiffert &lt;<A =
href=3D"mailto:seiffert@indiana.edu">seiffert@indiana.edu</A>&gt;:</DIV><D=
IV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; "><BR></DIV> <BR><BLOCKQUOTE type=3D"cite"><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">I'm trying to compile openafs 1.4.0rc4 from the =
SRPM's. I am<SPAN class=3D"Apple-converted-space">=A0 </SPAN>trying<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>this on both RHEL AS 3 and =
RHEL AS 4.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> =
<BR></BLOCKQUOTE><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">both of these should work just fine.<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>Although I believe I =
only<SPAN class=3D"Apple-converted-space">=A0 </SPAN>used WS, not =
AS.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Is there really a big difference =
between them?</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV> <BR><BLOCKQUOTE =
type=3D"cite"><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Openafs itself seems to compile =
OK but when the rpmbuild runs the <SPAN class=3D"Apple-converted-space">=A0=
 </SPAN>configure script for afs-krb5 it gets the following =
error:</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV> <BR></BLOCKQUOTE><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">[snip]</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV> <BR><BLOCKQUOTE type=3D"cite"><DIV style=3D"margin-top:=
 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">checking for socket... yes</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">checking for =
gethostbyname... yes</DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; ">checking for res_search... =
no</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: =
0px; margin-left: 0px; ">checking for res_search in -ldns... =
no</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: =
0px; margin-left: 0px; ">checking for res_search in -lnsl... =
no</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: =
0px; margin-left: 0px; ">checking for res_search in -lresolv... =
no</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: =
0px; margin-left: 0px; ">configure: error: Unable to find res_search =
function</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">+ exit 1</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">error: Bad exit status from /var/tmp/rpm-tmp.14218 =
(%build)</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> =
<BR></BLOCKQUOTE><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">[snip]</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV> <BR><BLOCKQUOTE =
type=3D"cite"><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Any suggestions?</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV> <BR></BLOCKQUOTE><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Install =
the glibc-devel package?</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Honestly I should probably just =
remove this check because I don't<SPAN class=3D"Apple-converted-space">=A0=
 </SPAN>think anything</DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; ">actually USES =
res_search...</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">-derek</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--<SPAN =
class=3D"Apple-converted-space">=A0</SPAN></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0 =A0 =A0 </SPAN>Derek Atkins, SB '93 =
MIT EE, SM '95 MIT Media Laboratory</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0 =A0 =A0 </SPAN>Member, MIT Student =
Information Processing Board<SPAN class=3D"Apple-converted-space">=A0 =
</SPAN>(SIPB)</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0 =A0 =A0 </SPAN>URL: <A =
href=3D"http://web.mit.edu/warlord/">http://web.mit.edu/warlord/</A><SPAN =
class=3D"Apple-converted-space">=A0 =A0 </SPAN>PP-ASEL-IA <SPAN =
class=3D"Apple-converted-space">=A0 =A0 </SPAN>N1NWH</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><SPAN class=3D"Apple-converted-space">=A0 =A0 =A0 =
</SPAN><A href=3D"mailto:warlord@MIT.EDU">warlord@MIT.EDU</A><SPAN =
class=3D"Apple-converted-space">=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 </SPAN>PGP key available</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> =
<BR></BLOCKQUOTE><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV> <BR></BLOCKQUOTE><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">--<SPAN =
class=3D"Apple-converted-space">=A0</SPAN></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0 =A0 =A0 </SPAN>Derek Atkins, SB '93 =
MIT EE, SM '95 MIT Media Laboratory</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0 =A0 =A0 </SPAN>Member, MIT Student =
Information Processing Board<SPAN class=3D"Apple-converted-space">=A0 =
</SPAN>(SIPB)</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0 =A0 =A0 </SPAN>URL: <A =
href=3D"http://web.mit.edu/warlord/">http://web.mit.edu/warlord/</A><SPAN =
class=3D"Apple-converted-space">=A0 =A0 </SPAN>PP-ASEL-IA <SPAN =
class=3D"Apple-converted-space">=A0 =A0 </SPAN>N1NWH</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><SPAN class=3D"Apple-converted-space">=A0 =A0 =A0 =
</SPAN><A href=3D"mailto:warlord@MIT.EDU">warlord@MIT.EDU</A><SPAN =
class=3D"Apple-converted-space">=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 </SPAN>PGP key available</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV> <BR =
class=3D"Apple-interchange-newline"></BLOCKQUOTE></DIV><BR></DIV></BODY></=
HTML>=

--Apple-Mail-41-917719957--