Hi Derek,

I also get the res_search error while attempting to rebuild the  source rpm, 
this is again on the amd64 (x86_64) platform running RHEL 3. I've been 
putting ugly, evil kludges into the spec file to make it look for 
__res_search rather than res_search and then building from the spec. The only 
remaining issue seems to be that the libafs module's name is being mangled 
somewhere in the build process, so we get the following module built:

libafs-2.4.21-32.0.1.ELsmp.o

The spec file expects this to be called "libafs-2.4.21-32.ELsmp.o" and fails 
when attempting to package the file. Aside from the evil kludges and 
packaging issues, it seems to be building OK here on an amd64 system.

Regards,
Lester Barrows

On Thursday 22 September 2005 11:30 am, Derek Atkins wrote:
> Kurt Seiffert <[EMAIL PROTECTED]> writes:
>
> [snip]
>
> > 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=\"[EMAIL PROTECTED]" -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':
>
> 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
> > amiss 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. ;)
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to