<div dir="ltr"><br><div>You probably want the ISC DHCP mailing list, this list is for Kea DHCP, which is a different product ...</div><div><br></div><div>hth,</div><div>Klaus</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 19, 2019 at 3:04 PM Mayank Tiwari <<a href="mailto:mike.tiwari@gmail.com">mike.tiwari@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>  I am trying to compile ISC DHCP code as I want to use relay feature from it. When I compile the code from <a class="gmail-m_7201598758081081152gmail-ulink" href="ftp://ftp.isc.org/isc/dhcp/4.4.1/dhcp-4.4.1.tar.gz" style="color:rgb(85,85,255);font-weight:bold;font-family:verdana,tahoma,helvetica,arial,sans-serif;font-size:16px" target="_blank">ftp://ftp.isc.org/isc/dhcp/4.4.1/dhcp-4.4.1.tar.gz</a> link it works fine.</div><div><br></div><div>  However, when I try to checkout the code from git and compile it fails. I check out the code from <a href="https://github.com/isc-projects/dhcp/tree/v4_4_1" target="_blank">https://github.com/isc-projects/dhcp/tree/v4_4_1</a></div><div><br></div><div>  Steps used for compilation:</div><div>autoreconf -f -i<br>./configure <br>make<br>make install<br></div><div><br></div><div>  The requirement is make code compilable from the code checked out of git.</div><div><br></div><div>  The failure happens in configure step and the error is:</div><div>"configure: error: Where to find or build bind includes and libraries must be specified'</div><div><br></div><div>  When I compared the code and the compilation steps between working and non-working code I have observed that the bind folder is missing when I checkout the code from git. However, the code downloaded from ftp server has that folder.</div><div><br></div><div>$ ls -lrt bind/ --> Code from ftp folder<br>total 9576<br>-rw-rw-r-- 1 mayank mayank    4702 May 29 10:29 Makefile.in<br>-rw-rw-r-- 1 mayank mayank     183 May 29 10:29 version.tmp<br>-rw-rw-r-- 1 mayank mayank 9793066 May 29 10:29 bind.tar.gz<br></div><div><br></div><div> My query. What are different steps for compilation from the code checked out from git so that this bind related error does not come. Please provide any inputs or reference. Or is there any other way to integrate bind related code with the code checked out from git to make compilation work.</div><div><br></div><div>  I am doing the compilation inside the alpine docker container. Here is the spec for it.</div><div><br></div><div>FROM alpine:3.8<br>RUN apk update && apk upgrade && apk add curl tar make gcc build-base wget gnupg && \<br>    apk add tcpdump libtool autoconf automake alpine-sdk libcap-dev openssl-dev --no-update && \<br>    apk add --no-cache bash libgcc git openssh <br><br><br>RUN mkdir /isc<br>RUN git clone --branch=v4_4_1 <a href="https://github.com/isc-projects/dhcp.git" target="_blank">https://github.com/isc-projects/dhcp.git</a> /isc<br>WORKDIR /isc<br><br><br><br>RUN autoreconf -f -i && \<br>    ./configure  && \<br>    make && \<br>    make install<br></div><div><br></div><div>  Please let me know if there is any alpine package which I need to install to make it work so that the bind related error does not come. The same spec works fine for the code checked out from ftp server which has bind folder.</div><div><br></div><div>Thanks and Regards,</div><div>Mayank</div></div>
_______________________________________________<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</blockquote></div>