[CentOS] anaconda and x86_64

lhecking at users.sourceforge.net lhecking at users.sourceforge.net
Fri Aug 21 16:57:36 UTC 2009


 I'm trying to build a bugfixed anaconda package for 5.3 x84_64, but there
 are some fairly basic failures, like pkg-config .pc files not being found.
 When I modify the spec file accordingly, linking fails because installed
 libraries are not found.

$ rpmbuild -ba anaconda.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.25019
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf anaconda-11.1.2.168
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/anaconda-11.1.2.168.tar.bz2
+ tar -xf -
...
for d in isys wlite stubs loader2 po textw utils scripts bootdisk installclasses iw pixmaps isomd5sum command-stubs ui fonts; do make -C $d depend; done
make[1]: Entering directory `/usr/src/redhat/BUILD/anaconda-11.1.2.168/isys'
grep NFS_MOUNT_VERSION /usr/include/linux/nfs_mount.h | sed -e 's/NFS/KERNEL_NFS/' > nfs_mountversion.h
Package libdhcp6client was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdhcp6client.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libdhcp6client', required by 'libdhcp', not found
cc -E -M -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Werror -D_GNU_SOURCE
=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DUSESELINUX=1 -I/usr/include/python2.4 -I.. -DHAVE_NFS  nfsmount.c nfsmount_clnt.c 
nfsmount_xdr.c imount.c smp.c devnodes.c cpio.c uncpio.c dasd.c lang.c isofs.c dns.c linkdetect.c vio.c ethtool.c wireless.c eddsupport.c nl.c str.c auditd.
c isys.c > .depend
In file included from isys.c:55:
/usr/include/libdhcp/pump.h:78:22: error: dhcp_nic.h: No such file or directory
make[1]: *** [depend] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/anaconda-11.1.2.168/isys'
make[1]: Entering directory `/usr/src/redhat/BUILD/anaconda-11.1.2.168/wlite'
make[1]: *** No rule to make target `depend'.  Stop.
make[1]: Leaving directory `/usr/src/redhat/BUILD/anaconda-11.1.2.168/wlite'
make[1]: Entering directory `/usr/src/redhat/BUILD/anaconda-11.1.2.168/stubs'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/usr/src/redhat/BUILD/anaconda-11.1.2.168/stubs'
Package libdhcp6client was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdhcp6client.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libdhcp6client', required by 'libdhcp', not found
...

 etc. Any ideas how to fix this? The same package builds find under i386.



---------------------------------------------------------------
This message and any attachments may contain Cypress (or its
subsidiaries) confidential information. If it has been received
in error, please advise the sender and immediately delete this
message.
---------------------------------------------------------------




More information about the CentOS mailing list