Files location in DHCP 4.0.0

rakesh zingade rakeshzingade at gmail.com
Tue Apr 29 15:27:30 UTC 2008


have you defined $INSTALL_DIR as an environmental variable...
before proceding check `echo $INSTALL_DIR` or directly execute configure as
below

./configure --prefix=/home/xyz/dhcp
where /home/xyz/dhcp is the target dir

try this ..


On Tue, Apr 29, 2008 at 4:14 PM, <gagadget at free.fr> wrote:

>
> Dear listers,
>
> I have troubles to get the right files in the right places when compiling
> dhcp
> 4.0.0 :
>
> ./configure --prefix=$INSTALL_DIR --disable-dhcpv6
> where $INSTALL_DIR is where I want to install everthing.
>
> What I got is a dhcpd that use these files :
> /var/run/dhcpd.pid
> /var/db/dhcpd.leases
> /etc/dhcpd.conf
>
> Instead of :
> $INSTALL_DIR/var/run/dhcpd.pid
> $INSTALL_DIR/var/db/dhcpd.leases
> $INSTALL_DIR/etc/dhcpd.conf
>
> as documented in ./configure --help
>
> If I set manually the directories like that :
> --prefix=$INSTALL_DIR --disable-dhcpv6 --sysconfdir=$INSTALL_DIR/etc
> --localstatedir=$INSTALL_DIR/var
>
> dhcpd is still looking for dhcpd.conf in /etc ... no way to configure that
> at
> compile time.
>
> Am I missing something ?
>
> Regards,
> Gael.
>
>


-- 
Rakesh P. Zingade
+919420357790
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20080429/b217be05/attachment.html>


More information about the dhcp-users mailing list