[OpenAFS] Trouble compiling 1.4rc4 SRPM

Kurt Seiffert seiffert@indiana.edu
Thu, 22 Sep 2005 08:58:38 -0500


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

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.

Openafs itself seems to compile OK but when the rpmbuild runs the  
configure script for afs-krb5 it gets the following error:

make[1]: Leaving directory `/usr/src/redhat/BUILD/openafs-1.4.0-rc4'
+ cd afs-krb5/src
++ pwd
+ ./configure --prefix=/usr --with-krb5=/usr/kerberos --libdir=/usr/ 
lib64 --bindir=/usr/bin --sbindir=/usr/sbin --with-afs=/usr/src/ 
redhat/BUILD/openafs-1.4.0-rc4/afs-krb5/src/../../amd64_linux26/dest/
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for krb5-config... /usr/kerberos/bin/krb5-config
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)


RPM build errors:
     Bad exit status from /var/tmp/rpm-tmp.14218 (%build)

Any suggestions?

Thanks.

-KAS

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



--Apple-Mail-39-913947001
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; "><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 trying 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; font: normal normal normal =
12px/normal Helvetica; min-height: 14px; "><BR></DIV><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 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; font: normal normal normal =
12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">make[1]: Leaving directory =
`/usr/src/redhat/BUILD/openafs-1.4.0-rc4'</FONT></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><FONT class=3D"Apple-style-span" color=3D"#000EDC">+ =
cd afs-krb5/src</FONT></DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; "><FONT =
class=3D"Apple-style-span" color=3D"#000EDC">++ pwd</FONT></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><FONT class=3D"Apple-style-span" color=3D"#000EDC">+ =
./configure --prefix=3D/usr --with-krb5=3D/usr/kerberos =
--libdir=3D/usr/lib64 --bindir=3D/usr/bin --sbindir=3D/usr/sbin =
--with-afs=3D/usr/src/redhat/BUILD/openafs-1.4.0-rc4/afs-krb5/src/../../am=
d64_linux26/dest/</FONT></DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT =
class=3D"Apple-style-span" color=3D"#000EDC">checking for gcc... =
gcc</FONT></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">checking for C compiler default output file name... =
a.out</FONT></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">checking whether the C compiler works... =
yes</FONT></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">checking whether we are cross compiling... =
no</FONT></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">checking for suffix of executables...</FONT></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">checking for suffix of object files... =
o</FONT></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">checking whether we are using the GNU C compiler... =
yes</FONT></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">checking whether gcc accepts -g... =
yes</FONT></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">checking for gcc option to accept ANSI C... none =
needed</FONT></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">checking for a BSD-compatible install... =
/usr/bin/install -c</FONT></DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT =
class=3D"Apple-style-span" color=3D"#000EDC">checking for krb5-config... =
/usr/kerberos/bin/krb5-config</FONT></DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT =
class=3D"Apple-style-span" color=3D"#000EDC">checking for socket... =
yes</FONT></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">checking for gethostbyname... yes</FONT></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">checking for res_search... no</FONT></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">checking for res_search in -ldns... =
no</FONT></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">checking for res_search in -lnsl... =
no</FONT></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">checking for res_search in -lresolv... =
no</FONT></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">configure: error: Unable to find res_search =
function</FONT></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">+ exit 1</FONT></DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT =
class=3D"Apple-style-span" color=3D"#000EDC">error: Bad exit status from =
/var/tmp/rpm-tmp.14218 (%build)</FONT></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: =
normal normal normal 12px/normal Helvetica; color: rgb(0, 14, 220); =
min-height: 14px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC"><BR></FONT></DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal =
normal normal 12px/normal Helvetica; color: rgb(0, 14, 220); min-height: =
14px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC"><BR></FONT></DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT =
class=3D"Apple-style-span" color=3D"#000EDC">RPM build =
errors:</FONT></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><FONT class=3D"Apple-style-span" =
color=3D"#000EDC">=A0 =A0 Bad exit status from /var/tmp/rpm-tmp.14218 =
(%build)</FONT></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; font: normal normal normal =
12px/normal Helvetica; min-height: 14px; "><BR></DIV><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; font: normal =
normal normal 12px/normal Helvetica; 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; font: normal =
normal normal 12px/normal Helvetica; 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; font: normal =
normal normal 12px/normal Helvetica; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Kurt A. Seiffert=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 | <A href=3D"mailto:seiffert@indiana.edu"><FONT =
class=3D"Apple-style-span" =
color=3D"#000FED">seiffert@indiana.edu</FONT></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 =
=A0 =A0 =A0 =A0 | W: 1 812-855-5089=A0 =A0 =A0</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; font: normal normal normal 12px/normal Helvetica; =
min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal =
normal normal 12px/normal Helvetica; min-height: 14px; "><BR =
class=3D"khtml-block-placeholder"></DIV></BODY></HTML>=

--Apple-Mail-39-913947001--