[OpenAFS] Trouble compiling 1.4rc4 SRPM
Derek Atkins
warlord@MIT.EDU
Thu, 22 Sep 2005 14:30:00 -0400
Kurt Seiffert <seiffert@indiana.edu> writes:
[snip]
> I tried bypassing the res_search check. ./configure ran successfully by h=
and
> then but then the make blew up with the following:
>
> gcc -c -g -O2=C2=A0 -I/usr/src/redhat/BUILD/openafs-1.4.0-rc4/afs-krb=
5/src/..
> /../amd64_linux26/dest//include -DPACKAGE_NAME=3D\"afs-krb5\"
> -DPACKAGE_TARNAME=3D\"afs-krb5\" -DPACKAGE_VERSION=3D\"1.4\" -DPACKAG=
E_STRING=3D
> \"afs-krb5\ 1.4\" -DPACKAGE_BUGREPORT=3D\"kenh@cmf.nrl.navy.mil\" -DA=
FS=3D1
> -DAFS_INT32=3D1 -DAFS_TRY_FULL_PRINC=3D1 -DHAVE_DAEMON=3D1 -DSTDC_HEA=
DERS=3D1
> -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHA=
VE_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_ST=
DLIB_H=3D1
> -DHAVE_MEMORY_H=3D1 -DHAVE_PATHS_H=3D1 -DHAVE_MALLOC_H=3D1 -DHAVE_STR=
ERROR=3D1
> -DRETSIGTYPE=3Dvoid=C2=A0 -DALLOW_REGISTER=C2=A0 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':
No, the RPM just doesn't build afs2k5db. Take a look at the SPEC. ;)
> This looks like maybe the patches haven't been applied or something is am=
iss
> from trying to run the make from outside the environment setup by the
> rpmbuild. I still need to research some more.
Nope, nothing amiss; you're just compiling it differently by hand. ;)
--=20
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