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.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page