Re: Installing 9.7?

2010-02-22 Thread Larry Brower

Daniel Morgan wrote:

Apologies - my mailer half sent the post

Following advice on a duplicate query issue, I've downloaded and built
9.7 from source as per the readme:

To build, just
./configure
make

This completed just fine - but what I can't find is any details on how
to physically install it after building. I'm used to things like 'make
install', but I don't want to blindly run random commands that may cause
carnage.

I note that it's created plenty of files - some for the Win platform(?)
and I'm confused as to what I have to put where. I'm running a Debian
based system and I appear to have the most recent packaged version
already - hence the source option.

I can see an install-sh script but that gives me:
./install-sh
install:no input file specified

Is there an install DOC that I can't find?




running make install will install it.


optionally: You may want to look at the configure options as you might 
be wanting to explicitly set some of them.




___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Installing 9.7?

2010-02-22 Thread Evan Hunt
 This completed just fine - but what I can't find is any details on how
 to physically install it after building. I'm used to things like 'make
 install', but I don't want to blindly run random commands that may cause
 carnage.

make install is fine.  By default it installs into /usr/local.

-- 
Evan Hunt -- e...@isc.org
Internet Systems Consortium, Inc.
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: [SPAM:5.2] Re: Installing 9.7?

2010-02-22 Thread Daniel Morgan
On Mon, 2010-02-22 at 08:00 +, Evan Hunt wrote:
  This completed just fine - but what I can't find is any details on how
  to physically install it after building. I'm used to things like 'make
  install', but I don't want to blindly run random commands that may cause
  carnage.
 
 make install is fine.  By default it installs into /usr/local.
 
Thanks, that works in a fashion but as you point out installs to:
/usr/local/sbin/ - but if I don't want to rewrite the init.d scripts for
it I could use it being in /usr/sbin/

I appreciate I can move it all by hand, but I'm guessing I can change
where it installs to with 'make install' ? or do I need to do that when
I build it?


___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: [SPAM:5.2] Re: Installing 9.7?

2010-02-22 Thread Eugene Crosser
Daniel Morgan wrote:
 On Mon, 2010-02-22 at 08:00 +, Evan Hunt wrote:
 This completed just fine - but what I can't find is any details on how
 to physically install it after building. I'm used to things like 'make
 install', but I don't want to blindly run random commands that may cause
 carnage.
 make install is fine.  By default it installs into /usr/local.

 Thanks, that works in a fashion but as you point out installs to:
 /usr/local/sbin/ - but if I don't want to rewrite the init.d scripts for
 it I could use it being in /usr/sbin/
 
 I appreciate I can move it all by hand, but I'm guessing I can change
 where it installs to with 'make install' ? or do I need to do that when
 I build it?

I'd say, you have three options:

1.
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
   make
   sudo make install

The copy of bind that came with your distribution will be replaced, the new copy
will pick up the old configuration, will be started by old startup scripts, and
will face risk of being overwritten when aptitude decides to upgrade the package
from the distribution. And, you have no way back from there. Not recommended.

2.
   ./configure
   make
   sudo make install

Then copy your configuration into /usr/local/etc/..., and modify startup scripts
to start the daemon from /usr/local/sbin. The new copy will not conflict with
the distribution-installed, and you can always fall back to that. Better choice.

3.
   Enable backports repository (see http://www.backports.org/) and upgrade bind
with aptitude. It is at the moment at version 9.6.1-P3 I think. This is your
safest choice, unless you *really* need the new features of 9.7.

Regards,

Eugene



signature.asc
Description: OpenPGP digital signature
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Installing 9.7?

2010-02-22 Thread Daniel Morgan
On Mon, 2010-02-22 at 08:36 +, Daniel Morgan wrote:
 On Mon, 2010-02-22 at 08:00 +, Evan Hunt wrote:
   This completed just fine - but what I can't find is any details on how
   to physically install it after building. I'm used to things like 'make
   install', but I don't want to blindly run random commands that may cause
   carnage.
  
  make install is fine.  By default it installs into /usr/local.
  
 Thanks, that works in a fashion but as you point out installs to:
 /usr/local/sbin/ - but if I don't want to rewrite the init.d scripts for
 it I could use it being in /usr/sbin/
 
 I appreciate I can move it all by hand, but I'm guessing I can change
 where it installs to with 'make install' ? or do I need to do that when
 I build it?
 
 
Strike that - found the answer (it's as clear as mud)
I think I'll just alter the init.d script for now and see if this
version fixes my issue



By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR   user executables [EPREFIX/bin]
  --sbindir=DIR  system admin executables [EPREFIX/sbin]
  --libexecdir=DIR   program executables [EPREFIX/libexec]
  --sysconfdir=DIR   read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data
[PREFIX/com]
  --localstatedir=DIRmodifiable single-machine data [PREFIX/var]
  --libdir=DIR   object code libraries [EPREFIX/lib]
  --includedir=DIR   C header files [PREFIX/include]
  --oldincludedir=DIRC header files for non-gcc [/usr/include]
  --datarootdir=DIR  read-only arch.-independent data root
[PREFIX/share]
  --datadir=DIR  read-only architecture-independent data
[DATAROOTDIR]
  --infodir=DIR  info documentation [DATAROOTDIR/info]
  --localedir=DIRlocale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR   man documentation [DATAROOTDIR/man]
  --docdir=DIR   documentation root [DATAROOTDIR/doc/PACKAGE]
  --htmldir=DIR  html documentation [DOCDIR]
  --dvidir=DIR   dvi documentation [DOCDIR]
  --pdfdir=DIR   pdf documentation [DOCDIR]
  --psdir=DIRps documentation [DOCDIR]




___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Installing 9.7?

2010-02-21 Thread Daniel Morgan
This may seem like a retarded question. Following advice to update I've
downloaded the 9.7 source and built it as per the readme:


___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Installing 9.7?

2010-02-21 Thread Larry Brower

Daniel Morgan wrote:

This may seem like a retarded question. Following advice to update I've
downloaded the 9.7 source and built it as per the readme:



Was there a question somewhere?
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users