Super noob installation question

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Super noob installation question

Pranchisco Castro
Good day everyone.

I'm still new to the linux scene and hoping to get some help with a dhcp source install.
I have a new CentOS 7.6 server and unpacked dhcp 4.4.1 in /usr/local/src/

I had installed dependencies based on what I saw from "yum install dhcp"
Then from within the /usr/local/src/dhcp-4.4.1/ directory, I've done the following:

./configure --prefix=/usr
make
make install

Once it completed, I wanted to see if the service was available so I entered:

# systemctl status dhcpd
Unit dhcpd.service could not be found.

# systemctl enable dhcpd
Failed to execute operation: No such file or directory

It seems the server doesnt see the service. I can't figure out where I went wrong and googling would just bring up pages of normal "yum install dhcp" or archlinux

Could someone point me in the right direction please?
Thank you in advance.

my config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by DHCP configure 4.4.1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix=/usr

## --------- ##
## Platform. ##
## --------- ##

hostname = test.domain.com
uname -m = x86_64
uname -r = 3.10.0-957.el7.x86_64
uname -s = Linux
uname -v = #1 SMP Thu Nov 8 23:39:32 UTC 2018

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2784: checking for a BSD-compatible install
configure:2852: result: /usr/bin/install -c
configure:2863: checking whether build environment is sane
configure:2918: result: yes
configure:3069: checking for a thread-safe mkdir -p
configure:3108: result: /usr/bin/mkdir -p
configure:3115: checking for gawk
configure:3131: found /usr/bin/gawk
configure:3142: result: gawk
configure:3153: checking whether make sets $(MAKE)
configure:3175: result: yes
configure:3204: checking whether make supports nested variables
configure:3221: result: yes
configure:3354: checking whether to enable maintainer-specific portions of Makefiles
configure:3363: result: no
configure:3381: checking build system type
configure:3395: result: x86_64-unknown-linux-gnu
configure:3415: checking host system type
configure:3428: result: x86_64-unknown-linux-gnu
configure:3503: checking for gcc
configure:3519: found /usr/bin/gcc
configure:3530: result: gcc
configure:3759: checking for C compiler version
configure:3768: gcc --version >&5
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3779: $? = 0
configure:3768: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)
configure:3779: $? = 0
configure:3768: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3779: $? = 4
configure:3768: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3779: $? = 4
configure:3799: checking whether the C compiler works
configure:3821: gcc    conftest.c  >&5
configure:3825: $? = 0
configure:3873: result: yes
configure:3876: checking for C compiler default output file name
configure:3878: result: a.out
configure:3884: checking for suffix of executables
configure:3891: gcc -o conftest    conftest.c  >&5
configure:3895: $? = 0
configure:3917: result:
configure:3939: checking whether we are cross compiling
configure:3947: gcc -o conftest    conftest.c  >&5
configure:3951: $? = 0
configure:3958: ./conftest
configure:3962: $? = 0
configure:3977: result: no
configure:3982: checking for suffix of object files
configure:4004: gcc -c   conftest.c >&5
configure:4008: $? = 0
configure:4029: result: o
configure:4033: checking whether we are using the GNU C compiler
configure:4052: gcc -c   conftest.c >&5
configure:4052: $? = 0
configure:4061: result: yes
configure:4070: checking whether gcc accepts -g
configure:4090: gcc -c -g  conftest.c >&5
configure:4090: $? = 0
configure:4131: result: yes
configure:4148: checking for gcc option to accept ISO C89
configure:4211: gcc  -c -g -O2  conftest.c >&5
configure:4211: $? = 0
configure:4224: result: none needed
configure:4249: checking whether gcc understands -c and -o together
configure:4271: gcc -c conftest.c -o conftest2.o
configure:4274: $? = 0
configure:4271: gcc -c conftest.c -o conftest2.o
configure:4274: $? = 0
configure:4286: result: yes
configure:4314: checking for style of include used by make
configure:4342: result: GNU
configure:4368: checking dependency style of gcc
configure:4479: result: gcc3
configure:4537: checking how to run the C preprocessor
configure:4568: gcc -E  conftest.c
configure:4568: $? = 0
configure:4582: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:4582: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4607: result: gcc -E
configure:4627: gcc -E  conftest.c
configure:4627: $? = 0
configure:4641: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:4641: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4670: checking for grep that handles long lines and -e
configure:4728: result: /usr/bin/grep
configure:4733: checking for egrep
configure:4795: result: /usr/bin/grep -E
configure:4800: checking for ANSI C header files
configure:4820: gcc -c -g -O2  conftest.c >&5
configure:4820: $? = 0
configure:4893: gcc -o conftest -g -O2   conftest.c  >&5
configure:4893: $? = 0
configure:4893: ./conftest
configure:4893: $? = 0
configure:4904: result: yes
configure:4917: checking for sys/types.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking for sys/stat.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking for stdlib.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking for string.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking for memory.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking for strings.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking for inttypes.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking for stdint.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking for unistd.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4930: checking minix/config.h usability
configure:4930: gcc -c -g -O2  conftest.c >&5
conftest.c:54:26: fatal error: minix/config.h: No such file or directory
 #include <minix/config.h>
                          ^
compilation terminated.
configure:4930: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:4930: result: no
configure:4930: checking minix/config.h presence
configure:4930: gcc -E  conftest.c
conftest.c:21:26: fatal error: minix/config.h: No such file or directory
 #include <minix/config.h>
                          ^
compilation terminated.
configure:4930: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <minix/config.h>
configure:4930: result: no
configure:4930: checking for minix/config.h
configure:4930: result: no
configure:4951: checking whether it is safe to define __EXTENSIONS__
configure:4969: gcc -c -g -O2  conftest.c >&5
configure:4969: $? = 0
configure:4976: result: yes
configure:5034: checking for ranlib
configure:5050: found /usr/bin/ranlib
configure:5061: result: ranlib
configure:5086: checking for ar
configure:5104: found /usr/bin/ar
configure:5116: result: /usr/bin/ar
configure:5136: checking whether byte ordering is bigendian
configure:5151: gcc -c -g -O2  conftest.c >&5
conftest.c:27:9: error: unknown type name 'not'
         not a universal capable compiler
         ^
conftest.c:27:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
         not a universal capable compiler
               ^
conftest.c:27:15: error: unknown type name 'universal'
configure:5151: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
| #ifndef __APPLE_CC__
|       not a universal capable compiler
|     #endif
|     typedef int dummy;
|
configure:5196: gcc -c -g -O2  conftest.c >&5
configure:5196: $? = 0
configure:5214: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:33:4: error: unknown type name 'not'
    not big endian
    ^
conftest.c:33:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
    not big endian
            ^
configure:5214: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
|   ;
|   return 0;
| }
configure:5342: result: no
configure:5855: checking for dhcpd.leases location
configure:5878: result: /var/db/dhcpd.leases
configure:5892: checking for dhcpd6.leases location
configure:5915: result: /var/db/dhcpd6.leases
configure:5929: checking for dhclient.leases location
configure:5952: result: /var/db/dhclient.leases
configure:5966: checking for dhclient6.leases location
configure:5989: result: /var/db/dhclient6.leases
configure:6054: checking for int8_t
configure:6054: gcc -c -g -O2  conftest.c >&5
configure:6054: $? = 0
configure:6054: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:69:12: error: size of array 'test_array' is negative
 static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1)
            ^
configure:6054: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|        enum { N = 8 / 2 - 1 };
| int
| main ()
| {
| static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1)
| < (int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 2))];
| test_array [0] = 0;
| return test_array [0];
|
|   ;
|   return 0;
| }
configure:6054: result: yes
configure:6065: checking for int16_t
configure:6065: gcc -c -g -O2  conftest.c >&5
configure:6065: $? = 0
configure:6065: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:69:12: error: size of array 'test_array' is negative
 static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1)
            ^
configure:6065: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|        enum { N = 16 / 2 - 1 };
| int
| main ()
| {
| static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1)
| < (int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 2))];
| test_array [0] = 0;
| return test_array [0];
|
|   ;
|   return 0;
| }
configure:6065: result: yes
configure:6076: checking for int32_t
configure:6076: gcc -c -g -O2  conftest.c >&5
configure:6076: $? = 0
configure:6076: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:70:53: warning: integer overflow in expression [-Woverflow]
    < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))];
                                                     ^
conftest.c:69:12: error: storage size of 'test_array' isn't constant
 static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1)
            ^
configure:6076: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|        enum { N = 32 / 2 - 1 };
| int
| main ()
| {
| static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1)
| < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))];
| test_array [0] = 0;
| return test_array [0];
|
|   ;
|   return 0;
| }
configure:6076: result: yes
configure:6087: checking for int64_t
configure:6087: gcc -c -g -O2  conftest.c >&5
configure:6087: $? = 0
configure:6087: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:70:53: warning: integer overflow in expression [-Woverflow]
    < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))];
                                                     ^
conftest.c:69:12: error: storage size of 'test_array' isn't constant
 static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1)
            ^
configure:6087: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|        enum { N = 64 / 2 - 1 };
| int
| main ()
| {
| static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1)
| < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))];
| test_array [0] = 0;
| return test_array [0];
|
|   ;
|   return 0;
| }
configure:6087: result: yes
configure:6100: checking for u_int8_t
configure:6100: gcc -c -g -O2  conftest.c >&5
configure:6100: $? = 0
configure:6100: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:68:23: error: expected expression before ')' token
 if (sizeof ((u_int8_t)))
                       ^
configure:6100: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((u_int8_t)))
|    return 0;
|   ;
|   return 0;
| }
configure:6100: result: yes
configure:6125: checking for u_int16_t
configure:6125: gcc -c -g -O2  conftest.c >&5
configure:6125: $? = 0
configure:6125: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:68:24: error: expected expression before ')' token
 if (sizeof ((u_int16_t)))
                        ^
configure:6125: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((u_int16_t)))
|    return 0;
|   ;
|   return 0;
| }
configure:6125: result: yes
configure:6148: checking for u_int32_t
configure:6148: gcc -c -g -O2  conftest.c >&5
configure:6148: $? = 0
configure:6148: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:68:24: error: expected expression before ')' token
 if (sizeof ((u_int32_t)))
                        ^
configure:6148: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((u_int32_t)))
|    return 0;
|   ;
|   return 0;
| }
configure:6148: result: yes
configure:6173: checking for u_int64_t
configure:6173: gcc -c -g -O2  conftest.c >&5
configure:6173: $? = 0
configure:6173: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:68:24: error: expected expression before ')' token
 if (sizeof ((u_int64_t)))
                        ^
configure:6173: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((u_int64_t)))
|    return 0;
|   ;
|   return 0;
| }
configure:6173: result: yes
configure:6202: checking ifaddrs.h usability
configure:6202: gcc -c -g -O2  conftest.c >&5
configure:6202: $? = 0
configure:6202: result: yes
configure:6202: checking ifaddrs.h presence
configure:6202: gcc -E  conftest.c
configure:6202: $? = 0
configure:6202: result: yes
configure:6202: checking for ifaddrs.h
configure:6202: result: yes
configure:6216: checking linux/types.h usability
configure:6216: gcc -c -g -O2  conftest.c >&5
configure:6216: $? = 0
configure:6216: result: yes
configure:6216: checking linux/types.h presence
configure:6216: gcc -E  conftest.c
configure:6216: $? = 0
configure:6216: result: yes
configure:6216: checking for linux/types.h
configure:6216: result: yes
configure:6228: checking for linux/filter.h
configure:6228: gcc -c -g -O2  conftest.c >&5
configure:6228: $? = 0
configure:6228: result: yes
configure:6286: checking for struct lifnum
configure:6303: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:42:16: error: storage size of 'a' isn't known
  struct lifnum a;
                ^
configure:6303: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| /* end confdefs.h.  */
|  #include <sys/types.h>
|   #include <sys/socket.h>
|   #include <net/if.h>
|
| int
| main ()
| {
|  struct lifnum a;
|
|   ;
|   return 0;
| }
configure:6310: result: no
configure:6315: checking for struct if_laddrconf
configure:6331: gcc -c -g -O2  conftest.c >&5
conftest.c:36:23: fatal error: net/if6.h: No such file or directory
   #include <net/if6.h>
                       ^
compilation terminated.
configure:6331: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| /* end confdefs.h.  */
|  #include <sys/types.h>
|   #include <net/if6.h>
|
| int
| main ()
| {
|  struct if_laddrconf a;
|
|   ;
|   return 0;
| }
configure:6338: result: no
configure:6343: checking for struct if_laddrreq
configure:6359: gcc -o conftest -g -O2   conftest.c  >&5
conftest.c:36:22: fatal error: net/if6.h: No such file or directory
  #include <net/if6.h>
                      ^
compilation terminated.
configure:6359: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| /* end confdefs.h.  */
| #include <sys/types.h>
|  #include <net/if6.h>
|
| int
| main ()
| {
|  struct if_laddrreq a;
|
|   ;
|   return 0;
| }
configure:6366: result: no
configure:6375: checking for GCC noreturn attribute
configure:6388: gcc -c -g -O2  conftest.c >&5
configure:6388: $? = 0
configure:6389: result: yes
configure:6407: checking sys/socket.h usability
configure:6407: gcc -c -g -O2  conftest.c >&5
configure:6407: $? = 0
configure:6407: result: yes
configure:6407: checking sys/socket.h presence
configure:6407: gcc -E  conftest.c
configure:6407: $? = 0
configure:6407: result: yes
configure:6407: checking for sys/socket.h
configure:6407: result: yes
configure:6407: checking net/if_dl.h usability
configure:6407: gcc -c -g -O2  conftest.c >&5
conftest.c:70:23: fatal error: net/if_dl.h: No such file or directory
 #include <net/if_dl.h>
                       ^
compilation terminated.
configure:6407: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| #define ISC_DHCP_NORETURN __attribute__((noreturn))
| #define HAVE_SYS_SOCKET_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <net/if_dl.h>
configure:6407: result: no
configure:6407: checking net/if_dl.h presence
configure:6407: gcc -E  conftest.c
conftest.c:37:23: fatal error: net/if_dl.h: No such file or directory
 #include <net/if_dl.h>
                       ^
compilation terminated.
configure:6407: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| #define ISC_DHCP_NORETURN __attribute__((noreturn))
| #define HAVE_SYS_SOCKET_H 1
| /* end confdefs.h.  */
| #include <net/if_dl.h>
configure:6407: result: no
configure:6407: checking for net/if_dl.h
configure:6407: result: no
configure:6407: checking net/if6.h usability
configure:6407: gcc -c -g -O2  conftest.c >&5
conftest.c:70:21: fatal error: net/if6.h: No such file or directory
 #include <net/if6.h>
                     ^
compilation terminated.
configure:6407: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| #define ISC_DHCP_NORETURN __attribute__((noreturn))
| #define HAVE_SYS_SOCKET_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <net/if6.h>
configure:6407: result: no
configure:6407: checking net/if6.h presence
configure:6407: gcc -E  conftest.c
conftest.c:37:21: fatal error: net/if6.h: No such file or directory
 #include <net/if6.h>
                     ^
compilation terminated.
configure:6407: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| #define ISC_DHCP_NORETURN __attribute__((noreturn))
| #define HAVE_SYS_SOCKET_H 1
| /* end confdefs.h.  */
| #include <net/if6.h>
configure:6407: result: no
configure:6407: checking for net/if6.h
configure:6407: result: no
configure:6407: checking regex.h usability
configure:6407: gcc -c -g -O2  conftest.c >&5
configure:6407: $? = 0
configure:6407: result: yes
configure:6407: checking regex.h presence
configure:6407: gcc -E  conftest.c
configure:6407: $? = 0
configure:6407: result: yes
configure:6407: checking for regex.h
configure:6407: result: yes
configure:6419: checking for library containing socket
configure:6450: gcc -o conftest -g -O2   conftest.c  >&5
configure:6450: $? = 0
configure:6467: result: none required
configure:6475: checking for library containing inet_ntoa
configure:6506: gcc -o conftest -g -O2   conftest.c  >&5
configure:6506: $? = 0
configure:6523: result: none required
configure:6532: checking for library containing inet_aton
configure:6563: gcc -o conftest -g -O2   conftest.c  >&5
configure:6563: $? = 0
configure:6580: result: none required
configure:6594: checking for library containing regcomp
configure:6625: gcc -o conftest -g -O2   conftest.c  >&5
configure:6625: $? = 0
configure:6642: result: none required
configure:6653: checking for strlcat
configure:6653: gcc -o conftest -g -O2   conftest.c  >&5
/tmp/cc5jawdl.o: In function `main':
/usr/local/src/dhcp-4.4.1/conftest.c:72: undefined reference to `strlcat'
collect2: error: ld returned 1 exit status
configure:6653: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| #define ISC_DHCP_NORETURN __attribute__((noreturn))
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_REGEX_H 1
| /* end confdefs.h.  */
| /* Define strlcat to an innocuous variant, in case <limits.h> declares strlcat.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define strlcat innocuous_strlcat
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char strlcat (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef strlcat
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char strlcat ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_strlcat || defined __stub___strlcat
| choke me
| #endif
|
| int
| main ()
| {
| return strlcat ();
|   ;
|   return 0;
| }
configure:6653: result: no
configure:6664: checking for library containing if_nametoindex
configure:6695: gcc -o conftest -g -O2   conftest.c  >&5
configure:6695: $? = 0
configure:6712: result: none required
configure:6723: checking for nanosleep
configure:6723: gcc -o conftest -g -O2   conftest.c  >&5
configure:6723: $? = 0
configure:6723: result: yes
configure:6775: checking for random device
configure:6804: result: /dev/random
configure:6807: checking for /dev/random
configure:6821: result: yes
configure:6895: checking for struct sockaddr.sa_len
configure:6895: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:45:12: error: 'struct sockaddr' has no member named 'sa_len'
 if (ac_aggr.sa_len)
            ^
configure:6895: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| #define ISC_DHCP_NORETURN __attribute__((noreturn))
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_DEV_RANDOM 1
| /* end confdefs.h.  */
| #include <sys/socket.h>
|
| int
| main ()
| {
| static struct sockaddr ac_aggr;
| if (ac_aggr.sa_len)
| return 0;
|   ;
|   return 0;
| }
configure:6895: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:45:19: error: 'struct sockaddr' has no member named 'sa_len'
 if (sizeof ac_aggr.sa_len)
                   ^
configure:6895: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| #define ISC_DHCP_NORETURN __attribute__((noreturn))
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_DEV_RANDOM 1
| /* end confdefs.h.  */
| #include <sys/socket.h>
|
| int
| main ()
| {
| static struct sockaddr ac_aggr;
| if (sizeof ac_aggr.sa_len)
| return 0;
|   ;
|   return 0;
| }
configure:6895: result: no
configure:6911: checking size of struct iaddr *
configure:6916: gcc -o conftest -g -O2 -I.   conftest.c  >&5
configure:6916: $? = 0
configure:6916: ./conftest
configure:6916: $? = 0
configure:6934: result: 8
configure:6957: checking for struct msghdr.msg_control
configure:6957: gcc -c -g -O2  conftest.c >&5
configure:6957: $? = 0
configure:6957: result: yes
configure:6984: checking for struct tpacket_auxdata.tp_vlan_tci
configure:6984: gcc -c -g -O2  conftest.c >&5
configure:6984: $? = 0
configure:6984: result: yes
configure:7510: checking for flexible array members
configure:7533: gcc -c -g -O2  -Wall -Werror -fno-strict-aliasing -I$(top_srcdir)/includes -I/usr/local/src/dhcp-4.4.1/bind/include  conftest.c >&5
configure:7533: $? = 0
configure:7540: result: yes
configure:7663: checking that generated files are newer than configure
configure:7669: result: done
configure:7713: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by DHCP config.status 4.4.1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on test.domain.com

config.status:937: creating ./bind/Makefile
config.status:937: creating Makefile
config.status:937: creating client/Makefile
config.status:937: creating client/tests/Makefile
config.status:937: creating common/Makefile.am
config.status:937: creating common/Makefile
config.status:937: creating common/tests/Makefile
config.status:937: creating dhcpctl/Makefile.am
config.status:937: creating dhcpctl/Makefile
config.status:937: creating includes/Makefile
config.status:937: creating omapip/Makefile.am
config.status:937: creating omapip/Makefile
config.status:937: creating relay/Makefile
config.status:937: creating server/Makefile
config.status:937: creating tests/Makefile.am
config.status:937: creating tests/Makefile
config.status:937: creating tests/unittest.sh
config.status:937: creating server/tests/Makefile
config.status:937: creating doc/devel/doxyfile
config.status:937: creating includes/config.h
config.status:1131: executing depfiles commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_flexmember=yes
ac_cv_c_int16_t=yes
ac_cv_c_int32_t=yes
ac_cv_c_int64_t=yes
ac_cv_c_int8_t=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_file__dev_random=yes
ac_cv_func_nanosleep=yes
ac_cv_func_strlcat=no
ac_cv_header_ifaddrs_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_linux_filter_h=yes
ac_cv_header_linux_types_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_net_if6_h=no
ac_cv_header_net_if_dl_h=no
ac_cv_header_regex_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_member_struct_msghdr_msg_control=yes
ac_cv_member_struct_sockaddr_sa_len=no
ac_cv_member_struct_tpacket_auxdata_tp_vlan_tci=yes
ac_cv_objext=o
ac_cv_path_AR=/usr/bin/ar
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_search_if_nametoindex='none required'
ac_cv_search_inet_aton='none required'
ac_cv_search_inet_ntoa='none required'
ac_cv_search_regcomp='none required'
ac_cv_search_socket='none required'
ac_cv_sizeof_struct_iaddr_p=8
ac_cv_type_u_int16_t=yes
ac_cv_type_u_int32_t=yes
ac_cv_type_u_int64_t=yes
ac_cv_type_u_int8_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

A='a'
ACLOCAL='${SHELL} /usr/local/src/dhcp-4.4.1/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='/usr/bin/ar'
ATF_BIN=''
ATF_CFLAGS=''
ATF_LDFLAGS=''
AUTOCONF='${SHELL} /usr/local/src/dhcp-4.4.1/missing autoconf'
AUTOHEADER='${SHELL} /usr/local/src/dhcp-4.4.1/missing autoheader'
AUTOMAKE='${SHELL} /usr/local/src/dhcp-4.4.1/missing automake-1.15'
AWK='gawk'
BINDCONFIG=' --with-randomdev=/dev/random'
BINDDIR='/usr/local/src/dhcp-4.4.1/bind'
BINDIOMUX='--disable-kqueue --disable-epoll --disable-devpoll'
BINDLIBDNSDIR='/usr/local/src/dhcp-4.4.1/bind/bind-9.11.2-P1/lib/dns'
BINDLIBIRSDIR='/usr/local/src/dhcp-4.4.1/bind/bind-9.11.2-P1/lib/irs'
BINDLIBISCCFGDIR='/usr/local/src/dhcp-4.4.1/bind/bind-9.11.2-P1/lib/isccfg'
BINDLIBISCDIR='/usr/local/src/dhcp-4.4.1/bind/bind-9.11.2-P1/lib/isc'
BINDLT=''
BINDSRCDIR='/usr/local/src/dhcp-4.4.1/bind/bind-9.11.2-P1'
BINDSUBDIR='${top_srcdir}/bind'
BIND_ATF_FALSE=''
BIND_ATF_TRUE='#'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2  -Wall -Werror -fno-strict-aliasing -I$(top_srcdir)/includes -I/usr/local/src/dhcp-4.4.1/bind/include'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DHLIBS='LIBRARIES'
DISTCHECK_ATF_CONFIGURE_FLAG=''
DISTCHECK_LIBBIND_CONFIGURE_FLAG=''
DISTCHECK_LIBTOOL_CONFIGURE_FLAG=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
GREP='/usr/bin/grep'
HAVE_ATF_FALSE=''
HAVE_ATF_TRUE='#'
HAVE_BINDDIR_FALSE='#'
HAVE_BINDDIR_TRUE=''
INSTALL_BIND_FALSE=''
INSTALL_BIND_TRUE='#'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDAP_CFLAGS=''
LDAP_LIBS=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /usr/local/src/dhcp-4.4.1/missing makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
OBJEXT='o'
PACKAGE='dhcp'
PACKAGE_BUGREPORT='[hidden email]'
PACKAGE_NAME='DHCP'
PACKAGE_STRING='DHCP 4.4.1'
PACKAGE_TARNAME='dhcp'
PACKAGE_URL=''
PACKAGE_VERSION='4.4.1'
PATH_SEPARATOR=':'
Q='@'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
UNITTESTS=''
VERSION='4.4.1'
ac_ct_CC='gcc'
ac_prefix_program=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
byte_order='LITTLE_ENDIAN'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /usr/local/src/dhcp-4.4.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgcfg_found=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "DHCP"
#define PACKAGE_TARNAME "dhcp"
#define PACKAGE_VERSION "4.4.1"
#define PACKAGE_STRING "DHCP 4.4.1"
#define PACKAGE_BUGREPORT "[hidden email]"
#define PACKAGE_URL ""
#define PACKAGE "dhcp"
#define VERSION "4.4.1"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define DHCP_BYTE_ORDER LITTLE_ENDIAN
#define FAILOVER_PROTOCOL 1
#define ENABLE_EXECUTE 1
#define TRACING 1
#define DELAYED_ACK 1
#define DHCPv6 1
#define HAVE_IFADDRS_H 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_LPF 1
#define ISC_DHCP_NORETURN __attribute__((noreturn))
#define HAVE_SYS_SOCKET_H 1
#define HAVE_REGEX_H 1
#define HAVE_DEV_RANDOM 1
#define SIZEOF_STRUCT_IADDR_P 8
#define VLAN_TCI_PRESENT 1
#define FLEXIBLE_ARRAY_MEMBER /**/

configure: exit 0


Respectfully,
Pranchisco K. Castro


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: Super noob installation question

perl-list
Assuming the make install completed properly, it probably didn't add the startup file or however it works on the newer stuff (i'm still on sysv init :)  So, while it may have installed dhcpd, it didn't make it an item that systemd (I assume thats what you are using) has control over or something to that effect...  hopefully someone who is familiar with systemd will be along soon...


----- Original Message -----
> From: "Pranchisco Castro" <[hidden email]>
> To: "Users of ISC DHCP" <[hidden email]>
> Sent: Thursday, May 23, 2019 12:34:41 AM
> Subject: Super noob installation question

> Good day everyone.

> I'm still new to the linux scene and hoping to get some help with a dhcp source
> install.
> I have a new CentOS 7.6 server and unpacked dhcp 4.4.1 in /usr/local/src/

> I had installed dependencies based on what I saw from "yum install dhcp"
> Then from within the /usr/local/src/dhcp-4.4.1/ directory, I've done the
> following:

> ./configure --prefix=/usr
> make
> make install

> Once it completed, I wanted to see if the service was available so I entered:

> # systemctl status dhcpd
> Unit dhcpd.service could not be found.

> # systemctl enable dhcpd
> Failed to execute operation: No such file or directory

> It seems the server doesnt see the service. I can't figure out where I went
> wrong and googling would just bring up pages of normal "yum install dhcp" or
> archlinux

> Could someone point me in the right direction please?
> Thank you in advance.
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Super noob installation question

Leroy Tennison
In reply to this post by Pranchisco Castro

Try "systemctl status isc-dhcp-server" (no promises - this is from Ubuntu) or "systemctl list-unit-files | grep dhcp" (might provide information if the first option doesn't work).  I am curious, if you're new to Linux why are you compiling from source?  I would expect CentOs to have a dhcp server package which should make things very straightforward unless you need a newer version of dhcp.


From: dhcp-users <[hidden email]> on behalf of Pranchisco Castro <[hidden email]>
Sent: Wednesday, May 22, 2019 11:34:41 PM
To: [hidden email]
Subject: [EXTERNAL] Super noob installation question
 
Good day everyone.

I'm still new to the linux scene and hoping to get some help with a dhcp source install.
I have a new CentOS 7.6 server and unpacked dhcp 4.4.1 in /usr/local/src/

I had installed dependencies based on what I saw from "yum install dhcp"
Then from within the /usr/local/src/dhcp-4.4.1/ directory, I've done the following:

./configure --prefix=/usr
make
make install

Once it completed, I wanted to see if the service was available so I entered:

# systemctl status dhcpd
Unit dhcpd.service could not be found.

# systemctl enable dhcpd
Failed to execute operation: No such file or directory

It seems the server doesnt see the service. I can't figure out where I went wrong and googling would just bring up pages of normal "yum install dhcp" or archlinux

Could someone point me in the right direction please?
Thank you in advance.

my config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by DHCP configure 4.4.1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix=/usr

## --------- ##
## Platform. ##
## --------- ##

hostname = test.domain.com
uname -m = x86_64
uname -r = 3.10.0-957.el7.x86_64
uname -s = Linux
uname -v = #1 SMP Thu Nov 8 23:39:32 UTC 2018

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2784: checking for a BSD-compatible install
configure:2852: result: /usr/bin/install -c
configure:2863: checking whether build environment is sane
configure:2918: result: yes
configure:3069: checking for a thread-safe mkdir -p
configure:3108: result: /usr/bin/mkdir -p
configure:3115: checking for gawk
configure:3131: found /usr/bin/gawk
configure:3142: result: gawk
configure:3153: checking whether make sets $(MAKE)
configure:3175: result: yes
configure:3204: checking whether make supports nested variables
configure:3221: result: yes
configure:3354: checking whether to enable maintainer-specific portions of Makefiles
configure:3363: result: no
configure:3381: checking build system type
configure:3395: result: x86_64-unknown-linux-gnu
configure:3415: checking host system type
configure:3428: result: x86_64-unknown-linux-gnu
configure:3503: checking for gcc
configure:3519: found /usr/bin/gcc
configure:3530: result: gcc
configure:3759: checking for C compiler version
configure:3768: gcc --version >&5
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3779: $? = 0
configure:3768: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)
configure:3779: $? = 0
configure:3768: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3779: $? = 4
configure:3768: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3779: $? = 4
configure:3799: checking whether the C compiler works
configure:3821: gcc    conftest.c  >&5
configure:3825: $? = 0
configure:3873: result: yes
configure:3876: checking for C compiler default output file name
configure:3878: result: a.out
configure:3884: checking for suffix of executables
configure:3891: gcc -o conftest    conftest.c  >&5
configure:3895: $? = 0
configure:3917: result:
configure:3939: checking whether we are cross compiling
configure:3947: gcc -o conftest    conftest.c  >&5
configure:3951: $? = 0
configure:3958: ./conftest
configure:3962: $? = 0
configure:3977: result: no
configure:3982: checking for suffix of object files
configure:4004: gcc -c   conftest.c >&5
configure:4008: $? = 0
configure:4029: result: o
configure:4033: checking whether we are using the GNU C compiler
configure:4052: gcc -c   conftest.c >&5
configure:4052: $? = 0
configure:4061: result: yes
configure:4070: checking whether gcc accepts -g
configure:4090: gcc -c -g  conftest.c >&5
configure:4090: $? = 0
configure:4131: result: yes
configure:4148: checking for gcc option to accept ISO C89
configure:4211: gcc  -c -g -O2  conftest.c >&5
configure:4211: $? = 0
configure:4224: result: none needed
configure:4249: checking whether gcc understands -c and -o together
configure:4271: gcc -c conftest.c -o conftest2.o
configure:4274: $? = 0
configure:4271: gcc -c conftest.c -o conftest2.o
configure:4274: $? = 0
configure:4286: result: yes
configure:4314: checking for style of include used by make
configure:4342: result: GNU
configure:4368: checking dependency style of gcc
configure:4479: result: gcc3
configure:4537: checking how to run the C preprocessor
configure:4568: gcc -E  conftest.c
configure:4568: $? = 0
configure:4582: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:4582: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4607: result: gcc -E
configure:4627: gcc -E  conftest.c
configure:4627: $? = 0
configure:4641: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:4641: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4670: checking for grep that handles long lines and -e
configure:4728: result: /usr/bin/grep
configure:4733: checking for egrep
configure:4795: result: /usr/bin/grep -E
configure:4800: checking for ANSI C header files
configure:4820: gcc -c -g -O2  conftest.c >&5
configure:4820: $? = 0
configure:4893: gcc -o conftest -g -O2   conftest.c  >&5
configure:4893: $? = 0
configure:4893: ./conftest
configure:4893: $? = 0
configure:4904: result: yes
configure:4917: checking for sys/types.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking for sys/stat.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking for stdlib.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking for string.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking for memory.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking for strings.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking for inttypes.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking for stdint.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4917: checking for unistd.h
configure:4917: gcc -c -g -O2  conftest.c >&5
configure:4917: $? = 0
configure:4917: result: yes
configure:4930: checking minix/config.h usability
configure:4930: gcc -c -g -O2  conftest.c >&5
conftest.c:54:26: fatal error: minix/config.h: No such file or directory
 #include <minix/config.h>
                          ^
compilation terminated.
configure:4930: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:4930: result: no
configure:4930: checking minix/config.h presence
configure:4930: gcc -E  conftest.c
conftest.c:21:26: fatal error: minix/config.h: No such file or directory
 #include <minix/config.h>
                          ^
compilation terminated.
configure:4930: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <minix/config.h>
configure:4930: result: no
configure:4930: checking for minix/config.h
configure:4930: result: no
configure:4951: checking whether it is safe to define __EXTENSIONS__
configure:4969: gcc -c -g -O2  conftest.c >&5
configure:4969: $? = 0
configure:4976: result: yes
configure:5034: checking for ranlib
configure:5050: found /usr/bin/ranlib
configure:5061: result: ranlib
configure:5086: checking for ar
configure:5104: found /usr/bin/ar
configure:5116: result: /usr/bin/ar
configure:5136: checking whether byte ordering is bigendian
configure:5151: gcc -c -g -O2  conftest.c >&5
conftest.c:27:9: error: unknown type name 'not'
         not a universal capable compiler
         ^
conftest.c:27:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
         not a universal capable compiler
               ^
conftest.c:27:15: error: unknown type name 'universal'
configure:5151: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
| #ifndef __APPLE_CC__
|       not a universal capable compiler
|     #endif
|     typedef int dummy;
|
configure:5196: gcc -c -g -O2  conftest.c >&5
configure:5196: $? = 0
configure:5214: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:33:4: error: unknown type name 'not'
    not big endian
    ^
conftest.c:33:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
    not big endian
            ^
configure:5214: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
|   ;
|   return 0;
| }
configure:5342: result: no
configure:5855: checking for dhcpd.leases location
configure:5878: result: /var/db/dhcpd.leases
configure:5892: checking for dhcpd6.leases location
configure:5915: result: /var/db/dhcpd6.leases
configure:5929: checking for dhclient.leases location
configure:5952: result: /var/db/dhclient.leases
configure:5966: checking for dhclient6.leases location
configure:5989: result: /var/db/dhclient6.leases
configure:6054: checking for int8_t
configure:6054: gcc -c -g -O2  conftest.c >&5
configure:6054: $? = 0
configure:6054: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:69:12: error: size of array 'test_array' is negative
 static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1)
            ^
configure:6054: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|        enum { N = 8 / 2 - 1 };
| int
| main ()
| {
| static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1)
| < (int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 2))];
| test_array [0] = 0;
| return test_array [0];
|
|   ;
|   return 0;
| }
configure:6054: result: yes
configure:6065: checking for int16_t
configure:6065: gcc -c -g -O2  conftest.c >&5
configure:6065: $? = 0
configure:6065: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:69:12: error: size of array 'test_array' is negative
 static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1)
            ^
configure:6065: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|        enum { N = 16 / 2 - 1 };
| int
| main ()
| {
| static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1)
| < (int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 2))];
| test_array [0] = 0;
| return test_array [0];
|
|   ;
|   return 0;
| }
configure:6065: result: yes
configure:6076: checking for int32_t
configure:6076: gcc -c -g -O2  conftest.c >&5
configure:6076: $? = 0
configure:6076: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:70:53: warning: integer overflow in expression [-Woverflow]
    < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))];
                                                     ^
conftest.c:69:12: error: storage size of 'test_array' isn't constant
 static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1)
            ^
configure:6076: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|        enum { N = 32 / 2 - 1 };
| int
| main ()
| {
| static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1)
| < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))];
| test_array [0] = 0;
| return test_array [0];
|
|   ;
|   return 0;
| }
configure:6076: result: yes
configure:6087: checking for int64_t
configure:6087: gcc -c -g -O2  conftest.c >&5
configure:6087: $? = 0
configure:6087: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:70:53: warning: integer overflow in expression [-Woverflow]
    < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))];
                                                     ^
conftest.c:69:12: error: storage size of 'test_array' isn't constant
 static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1)
            ^
configure:6087: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|        enum { N = 64 / 2 - 1 };
| int
| main ()
| {
| static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1)
| < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))];
| test_array [0] = 0;
| return test_array [0];
|
|   ;
|   return 0;
| }
configure:6087: result: yes
configure:6100: checking for u_int8_t
configure:6100: gcc -c -g -O2  conftest.c >&5
configure:6100: $? = 0
configure:6100: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:68:23: error: expected expression before ')' token
 if (sizeof ((u_int8_t)))
                       ^
configure:6100: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((u_int8_t)))
|    return 0;
|   ;
|   return 0;
| }
configure:6100: result: yes
configure:6125: checking for u_int16_t
configure:6125: gcc -c -g -O2  conftest.c >&5
configure:6125: $? = 0
configure:6125: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:68:24: error: expected expression before ')' token
 if (sizeof ((u_int16_t)))
                        ^
configure:6125: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((u_int16_t)))
|    return 0;
|   ;
|   return 0;
| }
configure:6125: result: yes
configure:6148: checking for u_int32_t
configure:6148: gcc -c -g -O2  conftest.c >&5
configure:6148: $? = 0
configure:6148: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:68:24: error: expected expression before ')' token
 if (sizeof ((u_int32_t)))
                        ^
configure:6148: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((u_int32_t)))
|    return 0;
|   ;
|   return 0;
| }
configure:6148: result: yes
configure:6173: checking for u_int64_t
configure:6173: gcc -c -g -O2  conftest.c >&5
configure:6173: $? = 0
configure:6173: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:68:24: error: expected expression before ')' token
 if (sizeof ((u_int64_t)))
                        ^
configure:6173: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((u_int64_t)))
|    return 0;
|   ;
|   return 0;
| }
configure:6173: result: yes
configure:6202: checking ifaddrs.h usability
configure:6202: gcc -c -g -O2  conftest.c >&5
configure:6202: $? = 0
configure:6202: result: yes
configure:6202: checking ifaddrs.h presence
configure:6202: gcc -E  conftest.c
configure:6202: $? = 0
configure:6202: result: yes
configure:6202: checking for ifaddrs.h
configure:6202: result: yes
configure:6216: checking linux/types.h usability
configure:6216: gcc -c -g -O2  conftest.c >&5
configure:6216: $? = 0
configure:6216: result: yes
configure:6216: checking linux/types.h presence
configure:6216: gcc -E  conftest.c
configure:6216: $? = 0
configure:6216: result: yes
configure:6216: checking for linux/types.h
configure:6216: result: yes
configure:6228: checking for linux/filter.h
configure:6228: gcc -c -g -O2  conftest.c >&5
configure:6228: $? = 0
configure:6228: result: yes
configure:6286: checking for struct lifnum
configure:6303: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:42:16: error: storage size of 'a' isn't known
  struct lifnum a;
                ^
configure:6303: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| /* end confdefs.h.  */
|  #include <sys/types.h>
|   #include <sys/socket.h>
|   #include <net/if.h>
|
| int
| main ()
| {
|  struct lifnum a;
|
|   ;
|   return 0;
| }
configure:6310: result: no
configure:6315: checking for struct if_laddrconf
configure:6331: gcc -c -g -O2  conftest.c >&5
conftest.c:36:23: fatal error: net/if6.h: No such file or directory
   #include <net/if6.h>
                       ^
compilation terminated.
configure:6331: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| /* end confdefs.h.  */
|  #include <sys/types.h>
|   #include <net/if6.h>
|
| int
| main ()
| {
|  struct if_laddrconf a;
|
|   ;
|   return 0;
| }
configure:6338: result: no
configure:6343: checking for struct if_laddrreq
configure:6359: gcc -o conftest -g -O2   conftest.c  >&5
conftest.c:36:22: fatal error: net/if6.h: No such file or directory
  #include <net/if6.h>
                      ^
compilation terminated.
configure:6359: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| /* end confdefs.h.  */
| #include <sys/types.h>
|  #include <net/if6.h>
|
| int
| main ()
| {
|  struct if_laddrreq a;
|
|   ;
|   return 0;
| }
configure:6366: result: no
configure:6375: checking for GCC noreturn attribute
configure:6388: gcc -c -g -O2  conftest.c >&5
configure:6388: $? = 0
configure:6389: result: yes
configure:6407: checking sys/socket.h usability
configure:6407: gcc -c -g -O2  conftest.c >&5
configure:6407: $? = 0
configure:6407: result: yes
configure:6407: checking sys/socket.h presence
configure:6407: gcc -E  conftest.c
configure:6407: $? = 0
configure:6407: result: yes
configure:6407: checking for sys/socket.h
configure:6407: result: yes
configure:6407: checking net/if_dl.h usability
configure:6407: gcc -c -g -O2  conftest.c >&5
conftest.c:70:23: fatal error: net/if_dl.h: No such file or directory
 #include <net/if_dl.h>
                       ^
compilation terminated.
configure:6407: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| #define ISC_DHCP_NORETURN __attribute__((noreturn))
| #define HAVE_SYS_SOCKET_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <net/if_dl.h>
configure:6407: result: no
configure:6407: checking net/if_dl.h presence
configure:6407: gcc -E  conftest.c
conftest.c:37:23: fatal error: net/if_dl.h: No such file or directory
 #include <net/if_dl.h>
                       ^
compilation terminated.
configure:6407: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| #define ISC_DHCP_NORETURN __attribute__((noreturn))
| #define HAVE_SYS_SOCKET_H 1
| /* end confdefs.h.  */
| #include <net/if_dl.h>
configure:6407: result: no
configure:6407: checking for net/if_dl.h
configure:6407: result: no
configure:6407: checking net/if6.h usability
configure:6407: gcc -c -g -O2  conftest.c >&5
conftest.c:70:21: fatal error: net/if6.h: No such file or directory
 #include <net/if6.h>
                     ^
compilation terminated.
configure:6407: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| #define ISC_DHCP_NORETURN __attribute__((noreturn))
| #define HAVE_SYS_SOCKET_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <net/if6.h>
configure:6407: result: no
configure:6407: checking net/if6.h presence
configure:6407: gcc -E  conftest.c
conftest.c:37:21: fatal error: net/if6.h: No such file or directory
 #include <net/if6.h>
                     ^
compilation terminated.
configure:6407: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| #define ISC_DHCP_NORETURN __attribute__((noreturn))
| #define HAVE_SYS_SOCKET_H 1
| /* end confdefs.h.  */
| #include <net/if6.h>
configure:6407: result: no
configure:6407: checking for net/if6.h
configure:6407: result: no
configure:6407: checking regex.h usability
configure:6407: gcc -c -g -O2  conftest.c >&5
configure:6407: $? = 0
configure:6407: result: yes
configure:6407: checking regex.h presence
configure:6407: gcc -E  conftest.c
configure:6407: $? = 0
configure:6407: result: yes
configure:6407: checking for regex.h
configure:6407: result: yes
configure:6419: checking for library containing socket
configure:6450: gcc -o conftest -g -O2   conftest.c  >&5
configure:6450: $? = 0
configure:6467: result: none required
configure:6475: checking for library containing inet_ntoa
configure:6506: gcc -o conftest -g -O2   conftest.c  >&5
configure:6506: $? = 0
configure:6523: result: none required
configure:6532: checking for library containing inet_aton
configure:6563: gcc -o conftest -g -O2   conftest.c  >&5
configure:6563: $? = 0
configure:6580: result: none required
configure:6594: checking for library containing regcomp
configure:6625: gcc -o conftest -g -O2   conftest.c  >&5
configure:6625: $? = 0
configure:6642: result: none required
configure:6653: checking for strlcat
configure:6653: gcc -o conftest -g -O2   conftest.c  >&5
/tmp/cc5jawdl.o: In function `main':
/usr/local/src/dhcp-4.4.1/conftest.c:72: undefined reference to `strlcat'
collect2: error: ld returned 1 exit status
configure:6653: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| #define ISC_DHCP_NORETURN __attribute__((noreturn))
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_REGEX_H 1
| /* end confdefs.h.  */
| /* Define strlcat to an innocuous variant, in case <limits.h> declares strlcat.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define strlcat innocuous_strlcat
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char strlcat (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef strlcat
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char strlcat ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_strlcat || defined __stub___strlcat
| choke me
| #endif
|
| int
| main ()
| {
| return strlcat ();
|   ;
|   return 0;
| }
configure:6653: result: no
configure:6664: checking for library containing if_nametoindex
configure:6695: gcc -o conftest -g -O2   conftest.c  >&5
configure:6695: $? = 0
configure:6712: result: none required
configure:6723: checking for nanosleep
configure:6723: gcc -o conftest -g -O2   conftest.c  >&5
configure:6723: $? = 0
configure:6723: result: yes
configure:6775: checking for random device
configure:6804: result: /dev/random
configure:6807: checking for /dev/random
configure:6821: result: yes
configure:6895: checking for struct sockaddr.sa_len
configure:6895: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:45:12: error: 'struct sockaddr' has no member named 'sa_len'
 if (ac_aggr.sa_len)
            ^
configure:6895: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| #define ISC_DHCP_NORETURN __attribute__((noreturn))
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_DEV_RANDOM 1
| /* end confdefs.h.  */
| #include <sys/socket.h>
|
| int
| main ()
| {
| static struct sockaddr ac_aggr;
| if (ac_aggr.sa_len)
| return 0;
|   ;
|   return 0;
| }
configure:6895: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:45:19: error: 'struct sockaddr' has no member named 'sa_len'
 if (sizeof ac_aggr.sa_len)
                   ^
configure:6895: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.4.1"
| #define PACKAGE_STRING "DHCP 4.4.1"
| #define PACKAGE_BUGREPORT "[hidden email]"
| #define PACKAGE_URL ""
| #define PACKAGE "dhcp"
| #define VERSION "4.4.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define FAILOVER_PROTOCOL 1
| #define ENABLE_EXECUTE 1
| #define TRACING 1
| #define DELAYED_ACK 1
| #define DHCPv6 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_LPF 1
| #define ISC_DHCP_NORETURN __attribute__((noreturn))
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_DEV_RANDOM 1
| /* end confdefs.h.  */
| #include <sys/socket.h>
|
| int
| main ()
| {
| static struct sockaddr ac_aggr;
| if (sizeof ac_aggr.sa_len)
| return 0;
|   ;
|   return 0;
| }
configure:6895: result: no
configure:6911: checking size of struct iaddr *
configure:6916: gcc -o conftest -g -O2 -I.   conftest.c  >&5
configure:6916: $? = 0
configure:6916: ./conftest
configure:6916: $? = 0
configure:6934: result: 8
configure:6957: checking for struct msghdr.msg_control
configure:6957: gcc -c -g -O2  conftest.c >&5
configure:6957: $? = 0
configure:6957: result: yes
configure:6984: checking for struct tpacket_auxdata.tp_vlan_tci
configure:6984: gcc -c -g -O2  conftest.c >&5
configure:6984: $? = 0
configure:6984: result: yes
configure:7510: checking for flexible array members
configure:7533: gcc -c -g -O2  -Wall -Werror -fno-strict-aliasing -I$(top_srcdir)/includes -I/usr/local/src/dhcp-4.4.1/bind/include  conftest.c >&5
configure:7533: $? = 0
configure:7540: result: yes
configure:7663: checking that generated files are newer than configure
configure:7669: result: done
configure:7713: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by DHCP config.status 4.4.1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on test.domain.com

config.status:937: creating ./bind/Makefile
config.status:937: creating Makefile
config.status:937: creating client/Makefile
config.status:937: creating client/tests/Makefile
config.status:937: creating common/Makefile.am
config.status:937: creating common/Makefile
config.status:937: creating common/tests/Makefile
config.status:937: creating dhcpctl/Makefile.am
config.status:937: creating dhcpctl/Makefile
config.status:937: creating includes/Makefile
config.status:937: creating omapip/Makefile.am
config.status:937: creating omapip/Makefile
config.status:937: creating relay/Makefile
config.status:937: creating server/Makefile
config.status:937: creating tests/Makefile.am
config.status:937: creating tests/Makefile
config.status:937: creating tests/unittest.sh
config.status:937: creating server/tests/Makefile
config.status:937: creating doc/devel/doxyfile
config.status:937: creating includes/config.h
config.status:1131: executing depfiles commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_flexmember=yes
ac_cv_c_int16_t=yes
ac_cv_c_int32_t=yes
ac_cv_c_int64_t=yes
ac_cv_c_int8_t=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_file__dev_random=yes
ac_cv_func_nanosleep=yes
ac_cv_func_strlcat=no
ac_cv_header_ifaddrs_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_linux_filter_h=yes
ac_cv_header_linux_types_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_net_if6_h=no
ac_cv_header_net_if_dl_h=no
ac_cv_header_regex_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_member_struct_msghdr_msg_control=yes
ac_cv_member_struct_sockaddr_sa_len=no
ac_cv_member_struct_tpacket_auxdata_tp_vlan_tci=yes
ac_cv_objext=o
ac_cv_path_AR=/usr/bin/ar
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_search_if_nametoindex='none required'
ac_cv_search_inet_aton='none required'
ac_cv_search_inet_ntoa='none required'
ac_cv_search_regcomp='none required'
ac_cv_search_socket='none required'
ac_cv_sizeof_struct_iaddr_p=8
ac_cv_type_u_int16_t=yes
ac_cv_type_u_int32_t=yes
ac_cv_type_u_int64_t=yes
ac_cv_type_u_int8_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

A='a'
ACLOCAL='${SHELL} /usr/local/src/dhcp-4.4.1/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='/usr/bin/ar'
ATF_BIN=''
ATF_CFLAGS=''
ATF_LDFLAGS=''
AUTOCONF='${SHELL} /usr/local/src/dhcp-4.4.1/missing autoconf'
AUTOHEADER='${SHELL} /usr/local/src/dhcp-4.4.1/missing autoheader'
AUTOMAKE='${SHELL} /usr/local/src/dhcp-4.4.1/missing automake-1.15'
AWK='gawk'
BINDCONFIG=' --with-randomdev=/dev/random'
BINDDIR='/usr/local/src/dhcp-4.4.1/bind'
BINDIOMUX='--disable-kqueue --disable-epoll --disable-devpoll'
BINDLIBDNSDIR='/usr/local/src/dhcp-4.4.1/bind/bind-9.11.2-P1/lib/dns'
BINDLIBIRSDIR='/usr/local/src/dhcp-4.4.1/bind/bind-9.11.2-P1/lib/irs'
BINDLIBISCCFGDIR='/usr/local/src/dhcp-4.4.1/bind/bind-9.11.2-P1/lib/isccfg'
BINDLIBISCDIR='/usr/local/src/dhcp-4.4.1/bind/bind-9.11.2-P1/lib/isc'
BINDLT=''
BINDSRCDIR='/usr/local/src/dhcp-4.4.1/bind/bind-9.11.2-P1'
BINDSUBDIR='${top_srcdir}/bind'
BIND_ATF_FALSE=''
BIND_ATF_TRUE='#'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2  -Wall -Werror -fno-strict-aliasing -I$(top_srcdir)/includes -I/usr/local/src/dhcp-4.4.1/bind/include'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DHLIBS='LIBRARIES'
DISTCHECK_ATF_CONFIGURE_FLAG=''
DISTCHECK_LIBBIND_CONFIGURE_FLAG=''
DISTCHECK_LIBTOOL_CONFIGURE_FLAG=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
GREP='/usr/bin/grep'
HAVE_ATF_FALSE=''
HAVE_ATF_TRUE='#'
HAVE_BINDDIR_FALSE='#'
HAVE_BINDDIR_TRUE=''
INSTALL_BIND_FALSE=''
INSTALL_BIND_TRUE='#'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDAP_CFLAGS=''
LDAP_LIBS=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /usr/local/src/dhcp-4.4.1/missing makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
OBJEXT='o'
PACKAGE='dhcp'
PACKAGE_BUGREPORT='[hidden email]'
PACKAGE_NAME='DHCP'
PACKAGE_STRING='DHCP 4.4.1'
PACKAGE_TARNAME='dhcp'
PACKAGE_URL=''
PACKAGE_VERSION='4.4.1'
PATH_SEPARATOR=':'
Q='@'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
UNITTESTS=''
VERSION='4.4.1'
ac_ct_CC='gcc'
ac_prefix_program=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
byte_order='LITTLE_ENDIAN'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /usr/local/src/dhcp-4.4.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgcfg_found=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "DHCP"
#define PACKAGE_TARNAME "dhcp"
#define PACKAGE_VERSION "4.4.1"
#define PACKAGE_STRING "DHCP 4.4.1"
#define PACKAGE_BUGREPORT "[hidden email]"
#define PACKAGE_URL ""
#define PACKAGE "dhcp"
#define VERSION "4.4.1"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define DHCP_BYTE_ORDER LITTLE_ENDIAN
#define FAILOVER_PROTOCOL 1
#define ENABLE_EXECUTE 1
#define TRACING 1
#define DELAYED_ACK 1
#define DHCPv6 1
#define HAVE_IFADDRS_H 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_LPF 1
#define ISC_DHCP_NORETURN __attribute__((noreturn))
#define HAVE_SYS_SOCKET_H 1
#define HAVE_REGEX_H 1
#define HAVE_DEV_RANDOM 1
#define SIZEOF_STRUCT_IADDR_P 8
#define VLAN_TCI_PRESENT 1
#define FLEXIBLE_ARRAY_MEMBER /**/

configure: exit 0


Respectfully,
Pranchisco K. Castro

Harriscomputer

Leroy Tennison
Network Information/Cyber Security Specialist
E: [hidden email]


2220 Bush Dr
McKinney, Texas
75070
www.datavoiceint.com
 

This message has been sent on behalf of a company that is part of the Harris Operating Group of Constellation Software Inc. These companies are listed here.

If you prefer not to be contacted by Harris Operating Group please notify us.

 

This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged or confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by e-mail and delete all copies of the message.

 


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: Super noob installation question

Rick Dicaire
Why are you compiling from source, your distro has a package for this, which includes the init script. Since you mentioned centos, the package is 'dhcp':

user@host~: yum info dhcp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.genesisadaptive.com
 * epel: mirrors.rit.edu
 * extras: centos.s.uw.edu
 * updates: centos.mirrors.tds.net
Available Packages
Name        : dhcp
Arch        : x86_64
Epoch       : 12
Version     : 4.2.5
Release     : 68.el7.centos.1
Size        : 513 k
Repo        : base/7/x86_64
Summary     : Dynamic host configuration protocol software
URL         : http://isc.org/products/DHCP/
License     : ISC
Description : DHCP (Dynamic Host Configuration Protocol) is a protocol which allows
            : individual devices on an IP network to get their own network
            : configuration information (IP address, subnetmask, broadcast address,
            : etc.) from a DHCP server. The overall purpose of DHCP is to make it
            : easier to administer a large network.
            :
            : To use DHCP on your network, install a DHCP service (or relay agent),
            : and on clients run a DHCP client daemon.  The dhcp package provides
            : the ISC DHCP service and relay agent.


Source compiles typically do not include init scripts. You should only be compiling from source if you have a specific need that the binary package can't or doesn't address.


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: Super noob installation question

Peter Rathlev
In reply to this post by Pranchisco Castro
On Thu, 2019-05-23 at 14:34 +1000, Pranchisco Castro wrote:
> I have a new CentOS 7.6 server and unpacked dhcp 4.4.1 in
> /usr/local/src/
[...]

> Once it completed, I wanted to see if the service was available so I
> entered:
>
> # systemctl status dhcpd
> Unit dhcpd.service could not be found.
>
> # systemctl enable dhcpd
> Failed to execute operation: No such file or directory
>
> It seems the server doesnt see the service. I can't figure out where
> I went wrong and googling would just bring up pages of normal "yum
> install dhcp" or archlinux

Though Rick is right about there being a pre-compiled version in
RHEL/CentOS, it's kind of old. Even though RedHat probably does a good
job of back porting fixes, you can expect many people to advise you to
use the official release when asking on this list.

Compiling you own does work best if you're comfortable with compiling
stuff and writing your own configuration and service files.

The ISC DHCP source doesn't contain a systemd ".service" file so you
have to make one yourself. The contents depend on how you configured
dhcpd regarding where executables and configuration and lease files are
placed.

With "--prefix=/usr" the executable is installed in /usr/sbin/dhcpd.
The lease files seem to be placed in "/var/db" from the output you
pasted.

The systemd service file from a CentOS 7 vendor version of ISC dhcpd is
placed in /usr/lib/systemd/system/dhcpd.service when installed and
looks like this:

  [Unit]
  Description=DHCPv4 Server Daemon
  Documentation=man:dhcpd(8) man:dhcpd.conf(5)
  Wants=network-online.target
  After=network-online.target
  After=time-sync.target
 
  [Service]
  Type=notify
  ExecStart=/usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid
 
  [Install]
  WantedBy=multi-user.target

I'm not sure if a plain build can use this, but you could try.

We configure with the following command:

CFLAGS="-Wno-unused-but-set-variable" ./configure --prefix=/usr \
  --with-srv-lease-file=/var/lib/dhcpd/dhcpd.leases \
  --with-srv-pid-file=/var/run/dhcpd.pid \
  --enable-failover --enable-execute --enable-binary-leases

We use a service unit file (in /etc/systemd/system/dhcpd.service to
override any built in) with the following contents:

   [Unit]
   Description=DHCPv4 Server Daemon
   Documentation=man:dhcpd(8) man:dhcpd.conf(5)
   Wants=network-online.target
   After=network-online.target
   After=time-sync.target
   
   [Service]
   Type=forking
   ExecStart=/usr/sbin/dhcpd -cf /etc/dhcp/dhcpd.conf -pf /var/run/dhcpd.pid -lf /var/lib/dhcpd/dhcpd.leases bond0
   PIDFile=/var/run/dhcpd.pid
   
   [Install]
   WantedBy=multi-user.target

--
Peter


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: Super noob installation question

Pranchisco Castro
Thank you for responding everyone!

@Perl-list, yeah, looks like that's what happened. I thought it was something i did wrong but turns out it's something I didn't do.
@Leroy, I've tried that with a few other variations initially but no luck.
@Rick, I installed from yum repository at first but my boss wanted the latest version which is 4.4.1
@Peter, That is it! Thank you so much! This is exactly what I needed!

For the .configure process, I had added a few more stuff from your suggestion

CFLAGS="-D_PATH_DHCLIENT_SCRIPT='\"/sbin/dhclient-script\"'         \
        -D_PATH_DHCPD_CONF='\"/etc/dhcp/dhcpd.conf\"'               \
        -D_PATH_DHCLIENT_CONF='\"/etc/dhcp/dhclient.conf\"'"        &&

./configure --prefix=/usr                                           \
            --sysconfdir=/etc/dhcp                                  \
            --localstatedir=/var                                    \
            --with-srv-lease-file=/var/lib/dhcpd/dhcpd.leases       \
            --with-srv6-lease-file=/var/lib/dhcpd/dhcpd6.leases     \
            --with-cli-lease-file=/var/lib/dhclient/dhclient.leases \
            --with-cli6-lease-file=/var/lib/dhclient/dhclient6.leases \
            --with-srv-lease-file=/var/lib/dhcpd/dhcpd.leases \
            --with-srv-pid-file=/var/run/dhcpd.pid \
            --enable-failover --enable-execute --enable-binary-leases &&


Systemctl status dhcpd finally responded after I created the .service file like you said. Based on a yum install in a test server, I've placed the dhcpd.service file in /usr/lib/systemd/system and also created dhcrelay.service. Now I know a little more about systemd and what to look for in future compiling issues.

Thank you again! Much appreciated!

Respectfully,
Pranchisco K. Castro



On Fri, May 24, 2019 at 2:09 AM Peter Rathlev <[hidden email]> wrote:
On Thu, 2019-05-23 at 14:34 +1000, Pranchisco Castro wrote:
> I have a new CentOS 7.6 server and unpacked dhcp 4.4.1 in
> /usr/local/src/
[...]
> Once it completed, I wanted to see if the service was available so I
> entered:
>
> # systemctl status dhcpd
> Unit dhcpd.service could not be found.
>
> # systemctl enable dhcpd
> Failed to execute operation: No such file or directory
>
> It seems the server doesnt see the service. I can't figure out where
> I went wrong and googling would just bring up pages of normal "yum
> install dhcp" or archlinux

Though Rick is right about there being a pre-compiled version in
RHEL/CentOS, it's kind of old. Even though RedHat probably does a good
job of back porting fixes, you can expect many people to advise you to
use the official release when asking on this list.

Compiling you own does work best if you're comfortable with compiling
stuff and writing your own configuration and service files.

The ISC DHCP source doesn't contain a systemd ".service" file so you
have to make one yourself. The contents depend on how you configured
dhcpd regarding where executables and configuration and lease files are
placed.

With "--prefix=/usr" the executable is installed in /usr/sbin/dhcpd.
The lease files seem to be placed in "/var/db" from the output you
pasted.

The systemd service file from a CentOS 7 vendor version of ISC dhcpd is
placed in /usr/lib/systemd/system/dhcpd.service when installed and
looks like this:

  [Unit]
  Description=DHCPv4 Server Daemon
  Documentation=man:dhcpd(8) man:dhcpd.conf(5)
  Wants=network-online.target
  After=network-online.target
  After=time-sync.target

  [Service]
  Type=notify
  ExecStart=/usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid

  [Install]
  WantedBy=multi-user.target

I'm not sure if a plain build can use this, but you could try.

We configure with the following command:

CFLAGS="-Wno-unused-but-set-variable" ./configure --prefix=/usr \
  --with-srv-lease-file=/var/lib/dhcpd/dhcpd.leases \
  --with-srv-pid-file=/var/run/dhcpd.pid \
  --enable-failover --enable-execute --enable-binary-leases

We use a service unit file (in /etc/systemd/system/dhcpd.service to
override any built in) with the following contents:

   [Unit]
   Description=DHCPv4 Server Daemon
   Documentation=man:dhcpd(8) man:dhcpd.conf(5)
   Wants=network-online.target
   After=network-online.target
   After=time-sync.target

   [Service]
   Type=forking
   ExecStart=/usr/sbin/dhcpd -cf /etc/dhcp/dhcpd.conf -pf /var/run/dhcpd.pid -lf /var/lib/dhcpd/dhcpd.leases bond0
   PIDFile=/var/run/dhcpd.pid

   [Install]
   WantedBy=multi-user.target

--
Peter


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: Super noob installation question

Peter Rathlev
On Fri, 2019-05-24 at 11:49 +1000, Pranchisco Castro wrote:
> Based on a yum install in a test server, I've placed the
> dhcpd.service file in /usr/lib/systemd/system and [...]

Minor thing: You ought to place your own service unit file it in
/etc/systemd/system instead, where local overrides normally go. The
directory /usr/lib/systemd/system is for system installed unit files.
There's no guarantee that things aren't overwritten there.

--
Peter


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: Super noob installation question

Pranchisco Castro
@Peter Okay, I'll change that back. Thank you so much for your help man. You really saved me!

Respectfully,
Pranchisco K. Castro



On Fri, May 24, 2019 at 5:51 PM Peter Rathlev <[hidden email]> wrote:
On Fri, 2019-05-24 at 11:49 +1000, Pranchisco Castro wrote:
> Based on a yum install in a test server, I've placed the
> dhcpd.service file in /usr/lib/systemd/system and [...]

Minor thing: You ought to place your own service unit file it in
/etc/systemd/system instead, where local overrides normally go. The
directory /usr/lib/systemd/system is for system installed unit files.
There's no guarantee that things aren't overwritten there.

--
Peter


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users