That was exactly what I needed. Thanks. -----Original Message----- From: bind-users-bounces+richard.w.olsen.ctr=mail....@lists.isc.org [mailto:bind-users-bounces+richard.w.olsen.ctr=mail....@lists.isc.org] On Behalf Of Marty Lee Sent: Thursday, April 03, 2014 1:06 PM To: bind-users@lists.isc.org Subject: Re: Bind 9.9.5-S1 Cross Compile help
Leave the --prefix option to point to where you want it to finally be positioned (i.e. --prefix=/usr/local or probably just leave it out for /usr/local) Then when you do your 'make install', pass in a 'DESTDIR' to prefix the install location: make install DESTDIR=/tmp/BUILDdir and you should find that under /tmp/BUILDdir is the set of files & dirs that you need to package, and that the actual binaries have the right default locations within them. HTHS (and this works for the vast majority of GNU/Linux/OSS code) cheers marty On 3 Apr 2014, at 17:57, Olsen, Richard William (Rick) CTR DISA PEO-MA (US) <richard.w.olsen....@mail.mil> wrote: > We are trying build out bind for a remote site. When I use the prefix option > so that I can put it all where I can package it, it hardcodes the prefix into > the named binary for several items. How do I get around that. The hardcoded > entries are for rndc.key, name.conf, session.key, named.pid, lwresd.pid, > lwresd.conf. Also the session-keyfile, pid-file, and bindkeys-file lines. > > #Example: > CC=cc CFLAGS="{arch specific options} -m64 -g" ./configure > --prefix=/tmp/BUILDdir/usr/local/ --with-openssl > > #then the make and make install > > #Then pkg it all starting with: > pkgproto /tmp/BUILDdir/usr/local/=/usr/local > > #Strings of named binary > /tmp/BUILDdir/usr/local/etc/named.conf > /tmp/BUILDdir/usr/local/etc/rndc.key > /tmp/BUILDdir/usr/local/var/run/named/session.key > _______________________________________________ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe > from this list > > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users ----- Marty Lee e: ma...@maui-systems.co.uk Technical Director v: +44 845 869 2661 Maui Systems Ltd f: +44 871 433 8922 Scotland, UK w: http://www.maui-systems.co.uk
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users