Duo Unix on Synology

Hi, i have tried to compile duo_unix on my synology reading this:

but it doesn’t works.
This is the 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 duo_unix configure 1.11.2, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ ./configure --with-pam --prefix=/usr

---------

Platform.

---------

hostname = Synology
uname -m = x86_64
uname -r = 3.10.105
uname -s = Linux
uname -v = #24922 SMP Wed Jul 3 16:37:24 CST 2019

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

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

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/syno/sbin
PATH: /usr/syno/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /var/packages/Java8/target/j2sdk-image/bin
PATH: /var/packages/Java8/target/j2sdk-image/jre/bin
PATH: /opt/bin
PATH: /opt/sbin
PATH: /var/packages/Java8/target/j2sdk-image/bin
PATH: /var/packages/Java8/target/j2sdk-image/jre/bin

-----------

Core tests.

-----------

configure:2362: checking for a BSD-compatible install
configure:2430: result: /bin/install -c
configure:2441: checking whether build environment is sane
configure:2496: result: yes
configure:2647: checking for a thread-safe mkdir -p
configure:2686: result: /bin/mkdir -p
configure:2693: checking for gawk
configure:2709: found /bin/gawk
configure:2720: result: gawk
configure:2731: checking whether make sets $(MAKE)
configure:2757: result: no
configure:2782: checking whether make supports nested variables
configure:2799: result: no
configure:2884: checking whether to enable maintainer-specific portions of Makefiles
configure:2893: result: no
configure:2910: checking build system type
configure:2924: result: x86_64-unknown-linux-gnu
configure:2944: checking host system type
configure:2957: result: x86_64-unknown-linux-gnu
configure:2984: autobuild project… duo_unix
configure:2990: autobuild revision… 1.11.2
configure:2995: autobuild hostname… Synology
configure:3006: autobuild timestamp… 20190918T155816Z
configure:3054: checking for style of include used by make
configure:3082: result: none
configure:3153: checking for gcc
configure:3183: result: no
configure:3246: checking for cc
configure:3293: result: no
configure:3349: checking for cl.exe
configure:3379: result: no
configure:3403: error: in /volume1/Script/duo/duo_unix-1.11.2': configure:3405: error: no acceptable C compiler found in $PATH Seeconfig.log’ for more details

----------------

Cache variables.

----------------

ac_cv_build=x86_64-unknown-linux-gnu
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_host=x86_64-unknown-linux-gnu
ac_cv_path_install=’/bin/install -c’
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=no
am_cv_make_support_nested_variables=no

-----------------

Output variables.

-----------------

ACLOCAL=’${SHELL} /volume1/Script/duo/duo_unix-1.11.2/autotools/missing aclocal-1.13’
AMDEPBACKSLASH=’’
AMDEP_FALSE=’#’
AMDEP_TRUE=’’
AMTAR=’$${TAR-tar}’
AM_BACKSLASH=’’
AM_DEFAULT_V=‘1’
AM_DEFAULT_VERBOSITY=‘1’
AM_V=‘1’
AR=’’
AUTOCONF=’{SHELL} /volume1/Script/duo/duo_unix-1.11.2/autotools/missing autoconf' AUTOHEADER='{SHELL} /volume1/Script/duo/duo_unix-1.11.2/autotools/missing autoheader’
AUTOMAKE=’{SHELL} /volume1/Script/duo/duo_unix-1.11.2/autotools/missing automake-1.13' AWK='gawk' CC='' CCDEPMODE='' CFLAGS='' CPP='' CPPFLAGS='' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='' DSYMUTIL='' DUMPBIN='' DUO_CONF_DIR='/etc/duo' DUO_PRIVSEP_USER='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' FGREP='' GREP='' INSTALL_DATA='{INSTALL} -m 644’
INSTALL_PROGRAM=’{INSTALL}' INSTALL_SCRIPT='{INSTALL}’
INSTALL_STRIP_PROGRAM=’(install_sh) -c -s' IS_AIX='' LD='' LDFLAGS='' LIBOBJS='' LIBPAM='' LIBS='' LIBTOOL='' LIPO='' LN_S='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='{SHELL} /volume1/Script/duo/duo_unix-1.11.2/autotools/missing makeinfo’
MANIFEST_TOOL=’’
MKDIR_P=’/bin/mkdir -p’
NM=’’
NMEDIT=’’
OBJDUMP=’’
OBJEXT=’’
OPENSSL_INCLUDES=’’
OPENSSL_LDFLAGS=’’
OPENSSL_LIBS=’’
OTOOL64=’’
OTOOL=’’
PACKAGE=‘duo_unix’
PACKAGE_BUGREPORT=‘support@duosecurity.com’
PACKAGE_NAME=‘duo_unix’
PACKAGE_STRING=‘duo_unix 1.11.2’
PACKAGE_TARNAME=‘duo_unix’
PACKAGE_URL=’’
PACKAGE_VERSION=‘1.11.2’
PAMDIR=’’
PAM_FALSE=’’
PAM_TRUE=’’
PATH_SEPARATOR=’:’
PKG_CONFIG=’’
RANLIB=’’
SED=’’
SET_MAKE=‘MAKE=make’
SHELL=’/bin/sh’
STRIP=’’
UNITY_VERSION=’’
VERSION=‘1.11.2’
ac_ct_AR=’’
ac_ct_CC=’’
ac_ct_DUMPBIN=’’
am__EXEEXT_FALSE=’’
am__EXEEXT_TRUE=’’
am__fastdepCC_FALSE=’’
am__fastdepCC_TRUE=’’
am__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' datadir='{datarootdir}’
datarootdir=’{prefix}/share' docdir='{datarootdir}/doc/{PACKAGE_TARNAME}' dvidir='{docdir}’
enable_lib64=’’
exec_prefix=‘NONE’
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} /volume1/Script/duo/duo_unix-1.11.2/autotools/install-sh’
libdir=’{exec_prefix}/lib' libdirsuffix='' libexecdir='{exec_prefix}/libexec’
localedir=’{datarootdir}/locale' localstatedir='{prefix}/var’
mandir=’{datarootdir}/man' mkdir_p='(MKDIR_P)’
oldincludedir=’/usr/include’
pdfdir=’{docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='{docdir}’
sbindir=’{exec_prefix}/sbin' sharedstatedir='{prefix}/com’
sysconfdir=’/etc/duo’
target_alias=’’

-----------

confdefs.h.

-----------

/* confdefs.h */
#define PACKAGE_NAME “duo_unix”
#define PACKAGE_TARNAME “duo_unix”
#define PACKAGE_VERSION “1.11.2”
#define PACKAGE_STRING “duo_unix 1.11.2”
#define PACKAGE_BUGREPORT "support@duosecurity.com"
#define PACKAGE_URL “”
#define PACKAGE “duo_unix”
#define VERSION “1.11.2”
#define DUO_CONF_DIR “/etc/duo”
#define CANONICAL_HOST “x86_64-unknown-linux-gnu”

configure: exit 1

Is there any way to fix this?
Thanks

Hi @martinorob,

You need to install a compiler like GCC on your Synology NAS. It is a prerequisite to installing pam_duo. You can learn more here: Duo Unix - 2FA for SSH with PAM Support (pam_duo) | Duo Security

Thanks @Amy.

It will be great to have a precompiled packages from duo developer :stuck_out_tongue_winking_eye: