Opened 4 years ago

Closed 3 years ago

#803 closed Bug / Defect (notabug)

OpenVPN 2.4.0 fails to build on Mac OS

Reported by: cardioid Owned by:
Priority: major Milestone:
Component: Generic / unclassified Version: OpenVPN git master branch (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords: mac, os, os x
Cc: plaisthos

Description

OS X: 10.11.6 (15G1212)

$ git clone https://github.com/OpenVPN/openvpn
$ git checkout v2.4.0
$ autoreconf -vi

Output:

src/compat/Makefile.am: installing './depcomp'
src/openvpnserv/Makefile.am:32: warning: source file '$(top_srcdir)/src/openvpn/block_dns.c' is in a subdirectory,
src/openvpnserv/Makefile.am:32: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
tests/unit_tests/openvpn/Makefile.am:19: warning: source file '$(openvpn_srcdir)/platform.c' is in a subdirectory,
tests/unit_tests/openvpn/Makefile.am:19: but option 'subdir-objects' is disabled
tests/unit_tests/openvpn/Makefile.am:19: warning: source file '$(openvpn_srcdir)/buffer.c' is in a subdirectory,
tests/unit_tests/openvpn/Makefile.am:19: but option 'subdir-objects' is disabled
tests/unit_tests/openvpn/Makefile.am:19: warning: source file '$(openvpn_srcdir)/argv.c' is in a subdirectory,
tests/unit_tests/openvpn/Makefile.am:19: but option 'subdir-objects' is disabled
tests/unit_tests/openvpn/Makefile.am:26: warning: source file '$(openvpn_srcdir)/buffer.c' is in a subdirectory,
tests/unit_tests/openvpn/Makefile.am:26: but option 'subdir-objects' is disabled
tests/unit_tests/openvpn/Makefile.am:26: warning: source file '$(openvpn_srcdir)/platform.c' is in a subdirectory,
tests/unit_tests/openvpn/Makefile.am:26: but option 'subdir-objects' is disabled
tests/unit_tests/openvpn/Makefile.am:35: warning: source file '$(openvpn_srcdir)/buffer.c' is in a subdirectory,
tests/unit_tests/openvpn/Makefile.am:35: but option 'subdir-objects' is disabled
tests/unit_tests/openvpn/Makefile.am:35: warning: source file '$(openvpn_srcdir)/crypto.c' is in a subdirectory,
tests/unit_tests/openvpn/Makefile.am:35: but option 'subdir-objects' is disabled
tests/unit_tests/openvpn/Makefile.am:35: warning: source file '$(openvpn_srcdir)/crypto_mbedtls.c' is in a subdirectory,
tests/unit_tests/openvpn/Makefile.am:35: but option 'subdir-objects' is disabled
tests/unit_tests/openvpn/Makefile.am:35: warning: source file '$(openvpn_srcdir)/crypto_openssl.c' is in a subdirectory,
tests/unit_tests/openvpn/Makefile.am:35: but option 'subdir-objects' is disabled
tests/unit_tests/openvpn/Makefile.am:35: warning: source file '$(openvpn_srcdir)/otime.c' is in a subdirectory,
tests/unit_tests/openvpn/Makefile.am:35: but option 'subdir-objects' is disabled
tests/unit_tests/openvpn/Makefile.am:35: warning: source file '$(openvpn_srcdir)/packet_id.c' is in a subdirectory,
tests/unit_tests/openvpn/Makefile.am:35: but option 'subdir-objects' is disabled
tests/unit_tests/openvpn/Makefile.am:35: warning: source file '$(openvpn_srcdir)/platform.c' is in a subdirectory,
tests/unit_tests/openvpn/Makefile.am:35: but option 'subdir-objects' is disabled
tests/unit_tests/openvpn/Makefile.am:35: warning: source file '$(openvpn_srcdir)/tls_crypt.c' is in a subdirectory,
tests/unit_tests/openvpn/Makefile.am:35: but option 'subdir-objects' is disabled
tests/unit_tests/plugins/auth-pam/Makefile.am:10: warning: source file '$(sut_sourcedir)/utils.c' is in a subdirectory,
tests/unit_tests/plugins/auth-pam/Makefile.am:10: but option 'subdir-objects' is disabled
autoreconf: Leaving directory `.'

$ ./configure

Output:

...
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking how to run the C preprocessor... gcc -E
configure: error: in `/var/folders/jv/n5rf3drx1td1ljkt6xk2_60w0000gn/T/tmp.5NzEw8LHvN/openvpn':
configure: error: C preprocessor "gcc -E" fails sanity check
See `config.log' for more details

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 OpenVPN configure 2.4.0, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure 

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

hostname = laptop.local
uname -m = x86_64
uname -r = 15.6.0
uname -s = Darwin
uname -v = Darwin Kernel Version 15.6.0: Wed Nov  2 20:30:56 PDT 2016; root:xnu-3248.60.11.1.2~2/RELEASE_X86_64

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

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
	 Darwin Kernel Version 15.6.0: Wed Nov  2 20:30:56 PDT 2016; root:xnu-3248.60.11.1.2~2/RELEASE_X86_64
Kernel configured for up to 8 processors.
4 processors are physically available.
8 processors are logically available.
Processor type: x86_64h (Intel x86-64h Haswell)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 16.00 gigabytes
Default processor set: 345 tasks, 2038 threads, 8 processors
Load average: 2.23, Mach factor: 5.76
/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: /sbin
PATH: /bin


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

configure:2996: checking for a BSD-compatible install
configure:3064: result: /usr/local/bin/ginstall -c
configure:3075: checking whether build environment is sane
configure:3130: result: yes
configure:3281: checking for a thread-safe mkdir -p
configure:3320: result: /usr/local/bin/gmkdir -p
configure:3327: checking for gawk
configure:3343: found /usr/local/bin/gawk
configure:3354: result: gawk
configure:3365: checking whether make sets $(MAKE)
configure:3387: result: yes
configure:3416: checking whether make supports nested variables
configure:3433: result: yes
configure:3562: checking build system type
configure:3576: result: x86_64-apple-darwin15.6.0
configure:3596: checking host system type
configure:3609: result: x86_64-apple-darwin15.6.0
configure:3641: checking for style of include used by make
configure:3669: result: GNU
configure:3740: checking for gcc
configure:3756: found /usr/local/bin/gcc
configure:3767: result: gcc
configure:3996: checking for C compiler version
configure:4005: gcc --version >&5
gcc (Homebrew GCC 6.3.0) 6.3.0
Copyright (C) 2016 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:4016: $? = 0
configure:4005: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/6.3.0/libexec/gcc/x86_64-apple-darwin15.6.0/6.3.0/lto-wrapper
Target: x86_64-apple-darwin15.6.0
Configured with: ../configure --build=x86_64-apple-darwin15.6.0 --prefix=/usr/local/Cellar/gcc/6.3.0 --libdir=/usr/local/Cellar/gcc/6.3.0/lib/gcc/6 --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-6 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl --with-system-zlib --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --with-build-config=bootstrap-debug --disable-werror --with-pkgversion='Homebrew GCC 6.3.0' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues MAKEINFO=missing --enable-plugin --disable-nls --enable-multilib
Thread model: posix
gcc version 6.3.0 (Homebrew GCC 6.3.0) 
configure:4016: $? = 0
configure:4005: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4016: $? = 1
configure:4005: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:4016: $? = 1
configure:4036: checking whether the C compiler works
configure:4058: gcc    conftest.c  >&5
configure:4062: $? = 0
configure:4110: result: yes
configure:4113: checking for C compiler default output file name
configure:4115: result: a.out
configure:4121: checking for suffix of executables
configure:4128: gcc -o conftest    conftest.c  >&5
configure:4132: $? = 0
configure:4154: result: 
configure:4176: checking whether we are cross compiling
configure:4184: gcc -o conftest    conftest.c  >&5
configure:4188: $? = 0
configure:4195: ./conftest
configure:4199: $? = 0
configure:4214: result: no
configure:4219: checking for suffix of object files
configure:4241: gcc -c   conftest.c >&5
configure:4245: $? = 0
configure:4266: result: o
configure:4270: checking whether we are using the GNU C compiler
configure:4289: gcc -c   conftest.c >&5
configure:4289: $? = 0
configure:4298: result: yes
configure:4307: checking whether gcc accepts -g
configure:4327: gcc -c -g  conftest.c >&5
configure:4327: $? = 0
configure:4368: result: yes
configure:4385: checking for gcc option to accept ISO C89
configure:4448: gcc  -c -g -O2  conftest.c >&5
configure:4448: $? = 0
configure:4461: result: none needed
configure:4486: checking whether gcc understands -c and -o together
configure:4508: gcc -c conftest.c -o conftest2.o
configure:4511: $? = 0
configure:4508: gcc -c conftest.c -o conftest2.o
configure:4511: $? = 0
configure:4523: result: yes
configure:4542: checking dependency style of gcc
configure:4653: result: gcc3
configure:4674: checking how to run the C preprocessor
configure:4705: gcc -E  conftest.c
configure:4705: $? = 0
configure:4719: gcc -E  conftest.c
conftest.c:15:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:4719: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenVPN"
| #define PACKAGE_TARNAME "openvpn"
| #define PACKAGE_VERSION "2.4.0"
| #define PACKAGE_STRING "OpenVPN 2.4.0"
| #define PACKAGE_BUGREPORT "openvpn-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define OPENVPN_VERSION_RESOURCE 2,4,0,0
| #define OPENVPN_VERSION_MAJOR 2
| #define OPENVPN_VERSION_MINOR 4
| #define OPENVPN_VERSION_PATCH ".0"
| #define PACKAGE "openvpn"
| #define VERSION "2.4.0"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4744: result: gcc -E
configure:4764: gcc -E  conftest.c
configure:4764: $? = 0
configure:4778: gcc -E  conftest.c
conftest.c:15:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:4778: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenVPN"
| #define PACKAGE_TARNAME "openvpn"
| #define PACKAGE_VERSION "2.4.0"
| #define PACKAGE_STRING "OpenVPN 2.4.0"
| #define PACKAGE_BUGREPORT "openvpn-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define OPENVPN_VERSION_RESOURCE 2,4,0,0
| #define OPENVPN_VERSION_MAJOR 2
| #define OPENVPN_VERSION_MINOR 4
| #define OPENVPN_VERSION_PATCH ".0"
| #define PACKAGE "openvpn"
| #define VERSION "2.4.0"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4807: checking for grep that handles long lines and -e
configure:4865: result: /usr/local/bin/ggrep
configure:4870: checking for egrep
configure:4932: result: /usr/local/bin/ggrep -E
configure:4937: checking for ANSI C header files
configure:4957: gcc -c -g -O2  conftest.c >&5
configure:4957: $? = 0
configure:5030: gcc -o conftest -g -O2   conftest.c  >&5
configure:5030: $? = 0
configure:5030: ./conftest
configure:5030: $? = 0
configure:5041: result: yes
configure:5054: checking for sys/types.h
configure:5054: gcc -c -g -O2  conftest.c >&5
configure:5054: $? = 0
configure:5054: result: yes
configure:5054: checking for sys/stat.h
configure:5054: gcc -c -g -O2  conftest.c >&5
configure:5054: $? = 0
configure:5054: result: yes
configure:5054: checking for stdlib.h
configure:5054: gcc -c -g -O2  conftest.c >&5
configure:5054: $? = 0
configure:5054: result: yes
configure:5054: checking for string.h
configure:5054: gcc -c -g -O2  conftest.c >&5
configure:5054: $? = 0
configure:5054: result: yes
configure:5054: checking for memory.h
configure:5054: gcc -c -g -O2  conftest.c >&5
configure:5054: $? = 0
configure:5054: result: yes
configure:5054: checking for strings.h
configure:5054: gcc -c -g -O2  conftest.c >&5
configure:5054: $? = 0
configure:5054: result: yes
configure:5054: checking for inttypes.h
configure:5054: gcc -c -g -O2  conftest.c >&5
configure:5054: $? = 0
configure:5054: result: yes
configure:5054: checking for stdint.h
configure:5054: gcc -c -g -O2  conftest.c >&5
configure:5054: $? = 0
configure:5054: result: yes
configure:5054: checking for unistd.h
configure:5054: gcc -c -g -O2  conftest.c >&5
configure:5054: $? = 0
configure:5054: result: yes
configure:5067: checking minix/config.h usability
configure:5067: gcc -c -g -O2  conftest.c >&5
conftest.c:58:26: fatal error: minix/config.h: No such file or directory
 #include <minix/config.h>
                          ^
compilation terminated.
configure:5067: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenVPN"
| #define PACKAGE_TARNAME "openvpn"
| #define PACKAGE_VERSION "2.4.0"
| #define PACKAGE_STRING "OpenVPN 2.4.0"
| #define PACKAGE_BUGREPORT "openvpn-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define OPENVPN_VERSION_RESOURCE 2,4,0,0
| #define OPENVPN_VERSION_MAJOR 2
| #define OPENVPN_VERSION_MINOR 4
| #define OPENVPN_VERSION_PATCH ".0"
| #define PACKAGE "openvpn"
| #define VERSION "2.4.0"
| #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:5067: result: no
configure:5067: checking minix/config.h presence
configure:5067: gcc -E  conftest.c
conftest.c:25:26: fatal error: minix/config.h: No such file or directory
 #include <minix/config.h>
                          ^
compilation terminated.
configure:5067: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenVPN"
| #define PACKAGE_TARNAME "openvpn"
| #define PACKAGE_VERSION "2.4.0"
| #define PACKAGE_STRING "OpenVPN 2.4.0"
| #define PACKAGE_BUGREPORT "openvpn-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define OPENVPN_VERSION_RESOURCE 2,4,0,0
| #define OPENVPN_VERSION_MAJOR 2
| #define OPENVPN_VERSION_MINOR 4
| #define OPENVPN_VERSION_PATCH ".0"
| #define PACKAGE "openvpn"
| #define VERSION "2.4.0"
| #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:5067: result: no
configure:5067: checking for minix/config.h
configure:5067: result: no
configure:5088: checking whether it is safe to define __EXTENSIONS__
configure:5106: gcc -c -g -O2  conftest.c >&5
configure:5106: $? = 0
configure:5113: result: yes
configure:5623: checking for pkg-config
configure:5641: found /usr/local/bin/pkg-config
configure:5653: result: /usr/local/bin/pkg-config
configure:5678: checking pkg-config is at least version 0.9.0
configure:5681: result: yes
configure:5694: checking how to run the C preprocessor
configure:5764: result: gcc -E
configure:5784: gcc -E  -no-cpp-precomp conftest.c
gcc: error: unrecognized command line option '-no-cpp-precomp'
configure:5784: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenVPN"
| #define PACKAGE_TARNAME "openvpn"
| #define PACKAGE_VERSION "2.4.0"
| #define PACKAGE_STRING "OpenVPN 2.4.0"
| #define PACKAGE_BUGREPORT "openvpn-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define OPENVPN_VERSION_RESOURCE 2,4,0,0
| #define OPENVPN_VERSION_MAJOR 2
| #define OPENVPN_VERSION_MINOR 4
| #define OPENVPN_VERSION_PATCH ".0"
| #define PACKAGE "openvpn"
| #define VERSION "2.4.0"
| #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 TARGET_ALIAS "x86_64-apple-darwin15.6.0"
| #define TARGET_DARWIN 1
| #define TARGET_PREFIX "M"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:5784: gcc -E  -no-cpp-precomp conftest.c
gcc: error: unrecognized command line option '-no-cpp-precomp'
configure:5784: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenVPN"
| #define PACKAGE_TARNAME "openvpn"
| #define PACKAGE_VERSION "2.4.0"
| #define PACKAGE_STRING "OpenVPN 2.4.0"
| #define PACKAGE_BUGREPORT "openvpn-users@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define OPENVPN_VERSION_RESOURCE 2,4,0,0
| #define OPENVPN_VERSION_MAJOR 2
| #define OPENVPN_VERSION_MINOR 4
| #define OPENVPN_VERSION_PATCH ".0"
| #define PACKAGE "openvpn"
| #define VERSION "2.4.0"
| #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 TARGET_ALIAS "x86_64-apple-darwin15.6.0"
| #define TARGET_DARWIN 1
| #define TARGET_PREFIX "M"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:5814: error: in `/var/folders/jv/n5rf3drx1td1ljkt6xk2_60w0000gn/T/tmp.5NzEw8LHvN/openvpn':
configure:5816: error: C preprocessor "gcc -E" fails sanity check
See `config.log' for more details

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

ac_cv_build=x86_64-apple-darwin15.6.0
ac_cv_c_compiler_gnu=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_GIT_set=
ac_cv_env_GIT_value=
ac_cv_env_IFCONFIG_set=
ac_cv_env_IFCONFIG_value=
ac_cv_env_IPROUTE_set=
ac_cv_env_IPROUTE_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBPAM_CFLAGS_set=
ac_cv_env_LIBPAM_CFLAGS_value=
ac_cv_env_LIBPAM_LIBS_set=
ac_cv_env_LIBPAM_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_LZ4_CFLAGS_set=
ac_cv_env_LZ4_CFLAGS_value=
ac_cv_env_LZ4_LIBS_set=
ac_cv_env_LZ4_LIBS_value=
ac_cv_env_LZO_CFLAGS_set=
ac_cv_env_LZO_CFLAGS_value=
ac_cv_env_LZO_LIBS_set=
ac_cv_env_LZO_LIBS_value=
ac_cv_env_MAN2HTML_set=
ac_cv_env_MAN2HTML_value=
ac_cv_env_MBEDTLS_CFLAGS_set=
ac_cv_env_MBEDTLS_CFLAGS_value=
ac_cv_env_MBEDTLS_LIBS_set=
ac_cv_env_MBEDTLS_LIBS_value=
ac_cv_env_NETSTAT_set=
ac_cv_env_NETSTAT_value=
ac_cv_env_OPENSSL_CFLAGS_set=
ac_cv_env_OPENSSL_CFLAGS_value=
ac_cv_env_OPENSSL_LIBS_set=
ac_cv_env_OPENSSL_LIBS_value=
ac_cv_env_P11KIT_CFLAGS_set=
ac_cv_env_P11KIT_CFLAGS_value=
ac_cv_env_P11KIT_LIBS_set=
ac_cv_env_P11KIT_LIBS_value=
ac_cv_env_PKCS11_HELPER_CFLAGS_set=
ac_cv_env_PKCS11_HELPER_CFLAGS_value=
ac_cv_env_PKCS11_HELPER_LIBS_set=
ac_cv_env_PKCS11_HELPER_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_ROUTE_set=
ac_cv_env_ROUTE_value=
ac_cv_env_SYSTEMD_ASK_PASSWORD_set=
ac_cv_env_SYSTEMD_ASK_PASSWORD_value=
ac_cv_env_TAP_CFLAGS_set=
ac_cv_env_TAP_CFLAGS_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_libsystemd_CFLAGS_set=
ac_cv_env_libsystemd_CFLAGS_value=
ac_cv_env_libsystemd_LIBS_set=
ac_cv_env_libsystemd_LIBS_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
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_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-apple-darwin15.6.0
ac_cv_objext=o
ac_cv_path_EGREP='/usr/local/bin/ggrep -E'
ac_cv_path_GREP=/usr/local/bin/ggrep
ac_cv_path_ac_pt_PKG_CONFIG=/usr/local/bin/pkg-config
ac_cv_path_install='/usr/local/bin/ginstall -c'
ac_cv_path_mkdir=/usr/local/bin/gmkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
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_type_struct_in_pktinfo=no
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes

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

ACLOCAL='${SHELL} /var/folders/jv/n5rf3drx1td1ljkt6xk2_60w0000gn/T/tmp.5NzEw8LHvN/openvpn/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=''
AS=''
AUTOCONF='${SHELL} /var/folders/jv/n5rf3drx1td1ljkt6xk2_60w0000gn/T/tmp.5NzEw8LHvN/openvpn/missing autoconf'
AUTOHEADER='${SHELL} /var/folders/jv/n5rf3drx1td1ljkt6xk2_60w0000gn/T/tmp.5NzEw8LHvN/openvpn/missing autoheader'
AUTOMAKE='${SHELL} /var/folders/jv/n5rf3drx1td1ljkt6xk2_60w0000gn/T/tmp.5NzEw8LHvN/openvpn/missing automake-1.15'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CMAKE=''
CMOCKA_INITIALIZED_FALSE=''
CMOCKA_INITIALIZED_TRUE=''
CPP='gcc -E'
CPPFLAGS=' -no-cpp-precomp'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DL_LIBS=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/local/bin/ggrep -E'
ENABLE_CRYPTO_FALSE=''
ENABLE_CRYPTO_TRUE=''
ENABLE_PLUGIN_AUTH_PAM_FALSE=''
ENABLE_PLUGIN_AUTH_PAM_TRUE=''
ENABLE_PLUGIN_DOWN_ROOT_FALSE=''
ENABLE_PLUGIN_DOWN_ROOT_TRUE=''
ENABLE_SYSTEMD_FALSE=''
ENABLE_SYSTEMD_TRUE=''
EXEEXT=''
FGREP=''
GIT=''
GIT_CHECKOUT_FALSE=''
GIT_CHECKOUT_TRUE=''
GREP='/usr/local/bin/ggrep'
IFCONFIG=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
IPROUTE=''
LD=''
LDFLAGS=''
LIBOBJS=''
LIBPAM_CFLAGS=''
LIBPAM_LIBS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
LZ4_CFLAGS=''
LZ4_LIBS=''
LZO_CFLAGS=''
LZO_LIBS=''
MAKEINFO='${SHELL} /var/folders/jv/n5rf3drx1td1ljkt6xk2_60w0000gn/T/tmp.5NzEw8LHvN/openvpn/missing makeinfo'
MAN2HTML=''
MANIFEST_TOOL=''
MBEDTLS_CFLAGS=''
MBEDTLS_LIBS=''
MKDIR_P='/usr/local/bin/gmkdir -p'
NETSTAT=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT='o'
OPENSSL_CFLAGS=''
OPENSSL_LIBS=''
OPENVPN_VERSION_MAJOR='2'
OPENVPN_VERSION_MINOR='4'
OPENVPN_VERSION_PATCH='.0'
OPTIONAL_CRYPTO_CFLAGS=''
OPTIONAL_CRYPTO_LIBS=''
OPTIONAL_DL_LIBS=''
OPTIONAL_LZ4_CFLAGS=''
OPTIONAL_LZ4_LIBS=''
OPTIONAL_LZO_CFLAGS=''
OPTIONAL_LZO_LIBS=''
OPTIONAL_PKCS11_HELPER_CFLAGS=''
OPTIONAL_PKCS11_HELPER_LIBS=''
OPTIONAL_SELINUX_LIBS=''
OPTIONAL_SYSTEMD_LIBS=''
OTOOL64=''
OTOOL=''
P11KIT_CFLAGS=''
P11KIT_LIBS=''
PACKAGE='openvpn'
PACKAGE_BUGREPORT='openvpn-users@lists.sourceforge.net'
PACKAGE_NAME='OpenVPN'
PACKAGE_STRING='OpenVPN 2.4.0'
PACKAGE_TARNAME='openvpn'
PACKAGE_URL=''
PACKAGE_VERSION='2.4.0'
PATH_SEPARATOR=':'
PKCS11_HELPER_CFLAGS=''
PKCS11_HELPER_LIBS=''
PKG_CONFIG='/usr/local/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
PLUGIN_AUTH_PAM_CFLAGS=''
PLUGIN_AUTH_PAM_LIBS=''
RANLIB=''
RC=''
ROUTE=''
SED=''
SELINUX_LIBS=''
SET_MAKE=''
SHELL='/bin/sh'
SOCKETS_LIBS=''
STRIP=''
SYSTEMD_ASK_PASSWORD=''
TAP_CFLAGS=''
TAP_WIN_COMPONENT_ID=''
TAP_WIN_MIN_MAJOR=''
TAP_WIN_MIN_MINOR=''
TEST_CFLAGS=''
TEST_LDFLAGS=''
VENDOR_BUILD_ROOT=''
VENDOR_DIST_ROOT=''
VENDOR_SRC_ROOT=''
VERSION='2.4.0'
WIN32_FALSE=''
WIN32_TRUE=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
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-apple-darwin15.6.0'
build_alias=''
build_cpu='x86_64'
build_os='darwin15.6.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-apple-darwin15.6.0'
host_alias=''
host_cpu='x86_64'
host_os='darwin15.6.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /var/folders/jv/n5rf3drx1td1ljkt6xk2_60w0000gn/T/tmp.5NzEw8LHvN/openvpn/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libsystemd_CFLAGS=''
libsystemd_LIBS=''
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
plugindir=''
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sampledir=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

/* confdefs.h */
#define PACKAGE_NAME "OpenVPN"
#define PACKAGE_TARNAME "openvpn"
#define PACKAGE_VERSION "2.4.0"
#define PACKAGE_STRING "OpenVPN 2.4.0"
#define PACKAGE_BUGREPORT "openvpn-users@lists.sourceforge.net"
#define PACKAGE_URL ""
#define OPENVPN_VERSION_RESOURCE 2,4,0,0
#define OPENVPN_VERSION_MAJOR 2
#define OPENVPN_VERSION_MINOR 4
#define OPENVPN_VERSION_PATCH ".0"
#define PACKAGE "openvpn"
#define VERSION "2.4.0"
#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 TARGET_ALIAS "x86_64-apple-darwin15.6.0"
#define TARGET_DARWIN 1
#define TARGET_PREFIX "M"

configure: exit 1

Change History (4)

comment:1 Changed 4 years ago by Gert Döring

Cc: plaisthos added

Mmmh, this is a bit surprising - it builds nicely on my test system (besides the fact that you need to install OpenSSL first, as the MacOS-shipped OpenSSL is lacking required header files). I do have an older version of MacOS, though - 16.3.0, not 16.5.0 (though Wikipedia says it's both "sierra").

What does gcc -v report for you? Mine says "Apple LLVM version 7.3.0 (clang-703.0.31)".

@Plaisthos, do you have more insights into this?

comment:2 Changed 4 years ago by plaisthos

That looks like your build chain is not setup correctly.

Also our automated build test is running on OS 10.11

You probably need to run cc standalone to agree to xcode license before doing anything useful.

comment:3 Changed 4 years ago by Gert Döring

@cardioid: any feedback?

comment:4 Changed 3 years ago by Gert Döring

Resolution: notabug
Status: newclosed

Closing this. No feedback for 6 months on an issue that smells like a local thing (as we build and test on OS X for every commit) is not something I'm going to spend more time on.

Note: See TracTickets for help on using tickets.