8.3.2 'make install' problem

phn at icke-reklam.ipsec.nu phn at icke-reklam.ipsec.nu
Thu Jun 27 22:14:44 UTC 2002

bit-bucket at maney.org wrote:
> Hello all,

> I've run across a problem with 'make install' for bind-8.3.2.

> Here's the scenario:

> We currently have multiple HPUX machines acting as DNS servers. These
> machines need to be upgraded/replaced. We are going to be using several
> new HPUX 11.0 machines in their place. The new machines do not have
> compilers on them. We are using another HPUX 11.0 machine that does
> have compilers on it (B.11.01.06 HP C/ANSI C Developer's Bundle and
> B11.01.06 HP aC++ Compiler S800) to build BIND 8.3.2. The intent being 
> to do all the compiling there and then simply tarring the whole mess up, 
> moving it over to the new DNS machines, untarring and running 'make 
> install'. 

> Unfortunately, after faithfully following all of the steps in the
> INSTALL document up to the 'make install', then tarring the whole
> thing up and moving it to the target machine, the 'make install'
> dies a spectacular death.

> I've tried building 8.3.2 on a Solaris 8 machine with the same results,
> so I started looking into the makefiles to trace the problem. The 
> problem is that 'make install' doesn't just do the little things of 
> making directories, copying files and creating links like you'd expect. 
> It actually calls the compiler.

> I admit that I haven't looked too hard, but I didn't see this
> answered anyplace on the net.

> So, my questions are:
> 1. has anyone else run into this problem? and if so, have they found
>    a work around that did not require rewriting all the makefiles?
> 2. why was this makefile configuration used in the first place?

1. Seen this, been there :-)
  What i do is compile & manually copy the files to a 
  file-tree created for this purpose. Could be located anywhere, just 
  populated with etc/ usr/sbin etc . Then a tar the whole bunch 
  ( make shure you get a relative path : cd $BY-TREE ; tar cvf tarfile.tar . ),
  move the tarfile to target systems ; on target system : cd / ; tar xvf tarfile.tar 

2. the makefile assumes you have the compiler and other tools installed, which
  might not be the case.

The more general solution is creating a pkg / RPM / depot ( or whatever your
vendor finds fance. The above is simpler.

> fpsm
> -- 
> | Fredrich P. Maney              my_last_name AT my_last_name DOT org |
> |   Do NOT send me HTML formatted E-mail or copies of netnews posts!  |
> |  Address in header is a spamtrap. Use one in signature for replies. |
> |  Please review http://www.maney.org/fred/site/uce/ before emailing. |

Peter Håkanson         
        IPSec  Sverige      ( At Gothenburg Riverside )
           Sorry about my e-mail address, but i'm trying to keep spam out,
	   remove "icke-reklam" if you feel for mailing me. Thanx.

More information about the bind-users mailing list