----- Original Message -----
From: Cliff McDiarmid
Sent: 06/20/13 09:38 PM
To: BLFS Support List
Subject: Re: [blfs-support] Build failure with dhcp-4.2.5-P1
> ----- Original Message ----- > From: Armin K. > Sent: 06/20/13 09:38 AM > To:
> BLFS Support List > Subject: Re: [blfs-support] Build failure with
> dhcp-4.2.5-P1 > > On 06/20/2013 11:32 AM, Pierre M.R. wrote: > > Cliff
> McDiarmid wrote: > >> gcc -DHAVE_CONFIG_H -I. -I../includes -I..
> -DLOCALSTATEDIR='"/var"' -D_PATH_DHCLIENT_SCRIPT='"/sbin/dhclient-script"'
> -D_PATH_DHCPD_CONF='"/etc/dhcp/dhcpd.conf"' -MT alloc.o -MD -MP -MF
> .deps/alloc.Tpo -c -o alloc.o alloc.c > > > > When using bind which comes
> with dhcp ./configure adds by default > > -I../bind/include to gcc flags. If
> you want to use and installed bind a > > correct path must be given to
> configure, for instance --with-libbind=/usr > > > > Pierre > > > > CFLAGS:
> -D_PATH_DHCLIENT_SCRIPT='"/sbin/dhclient-script"' >
> -D_PATH_DHCPD_CONF='"/etc/dhcp/dhcpd.conf"' >
> -D_PATH_DHCLIENT_CONF='"/etc/dhcp/dhclient.conf"' >
> -I${top_srcdir}/bind/include > > You should see this when configure finishes.
> Note the > -I${top_srcdir}/bind/include
which takes care of that. If you don't get > this output, double check if you
pasted correctly the instructions from > the book. I get this when configure
finishes, but do I need to install the whole of Bind to get dhcp to compile? I
only need the ISC DHCP client. thanks MAC --
http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ:
http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above
information page
It has bundled bind libraries (not whole bind), and yes, they're necesary.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page