--- On Tue, 8/12/08, Johnny Hughes <johnny at centos.org> wrote: > From: Johnny Hughes <johnny at centos.org> > Subject: Re: [CentOS] bind-9.3.4-6.0.2.P1.el5_2 and rrset-order: order 'fixed'not fully implemented > To: "CentOS mailing list" <centos at centos.org> > Date: Tuesday, August 12, 2008, 5:34 PM > Scott McClanahan wrote: > >> According to this page, BIND can be compiled with > the "enabled-fixed-rrset" option to support this. > How to determine what switches were used to compile the BIND > RPM I downloaded with "yum update?" > > > > I was recently curious about this too. Is there an > easier way than > > peering into the spec file? Thanks > > > > No, that is the only way I know. > > The build log when we made it said: > > ./configure --build=i686-redhat-linux-gnu > --host=i686-redhat-linux-gnu > --target=i386-redhat-linux-gnu --program-prefix= > --prefix=/usr > --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin > --sysconfdir=/etc --datadir=/usr/share > --includedir=/usr/include > --libdir=/usr/lib --libexecdir=/usr/libexec > --localstatedir=/var > --sharedstatedir=/usr/com --mandir=/usr/share/man > --infodir=/usr/share/info --with-libtool > --localstatedir=/var > --enable-threads --enable-ipv6 --with-pic > --with-openssl=/usr > --enable-libbind 'CFLAGS=-O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector --param=ssp-buffer-size=4 > -m32 > -march=i386 -mtune=generic -fasynchronous-unwind-tables > -I/usr/kerberos/include > > This is also in the log for "/lib/bind": > > running /bin/sh './configure' --prefix=/usr > '--build=i686-redhat-linux-gnu' > '--host=i686-redhat-linux-gnu' > '--target=i386-redhat-linux-gnu' > '--program-prefix=' '--prefix=/usr' > '--exec-prefix=/usr' '--bindir=/usr/bin' > '--sbindir=/usr/sbin' > '--sysconfdir=/etc' '--datadir=/usr/share' > '--includedir=/usr/include' > '--libdir=/usr/lib' > '--libexecdir=/usr/libexec' > '--sharedstatedir=/usr/com' > '--mandir=/usr/share/man' > '--infodir=/usr/share/info' > '--with-libtool' '--localstatedir=/var' > '--enable-threads' '--enable-ipv6' > '--with-pic' '--with-openssl=/usr' > '--enable-libbind' 'CFLAGS=-O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector --param=ssp-buffer-size=4 > -m32 > -march=i386 -mtune=generic -fasynchronous-unwind-tables > -I/usr/kerberos/include ' 'CPPFLAGS= > -I/usr/kerberos/include ' > 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m32 > -march=i386 > -mtune=generic -fasynchronous-unwind-tables' > 'FFLAGS=-O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables' 'LDFLAGS= > -L/usr/kerberos/lib ' > 'build_alias=i686-redhat-linux-gnu' > 'host_alias=i686-redhat-linux-gnu' > 'target_alias=i386-redhat-linux-gnu' > --cache-file=/dev/null --srcdir=. > > But remember, we do not pick these switches, we build them > like they are > in RHEL. Thanks for the info, Johnny --- I extracted the .src.rpm and edited the SPECS/bind.spec file, adding the --enable-fixed-rrset option to the list of options to "configure." After that, I ran rpmbuild, and saw "--enable-fixed-rrset" in my terminal's scrollback buffer. Unfortunately that did not fix the problem. Do you have any other suggestions about other places in the SPECS/bind.spec file to put that option? Interested in producing a compiled RPM with that option. Thanks, =======Keith