Skip to content

Instantly share code, notes, and snippets.

@ches
Created April 15, 2011 07:37
Show Gist options
  • Save ches/921319 to your computer and use it in GitHub Desktop.
Save ches/921319 to your computer and use it in GitHub Desktop.
attempt to install duo_unix-1.5 on Ubuntu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: Adding gcc options: -g -O2 -Wall -D_FORTIFY_SOURCE=2
checking if -fstack-protector and -fstack-protector-all are supported.... yes
configure: -fstack-protector enabled in CFLAGS
checking whether byte ordering is bigendian... no
checking for int64_t... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for gawk... (cached) mawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.19.7
checking for libcurl >= version 7.15.1... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking for asprintf... yes
checking for getgrouplist... yes
checking for strlcpy... no
checking for library containing inet_ntoa... none required
checking for library containing gethostbyname... none required
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating lib/Makefile
config.status: creating lib/libduo.pc
config.status: creating login_duo/Makefile
config.status: creating pam_duo/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make all-recursive
make[1]: Entering directory `/root/src/duo_unix-1.5'
Making all in compat
make[2]: Entering directory `/root/src/duo_unix-1.5/compat'
depbase=`echo bson.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT bson.lo -MD -MP -MF $depbase.Tpo -c -o bson.lo bson.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT bson.lo -MD -MP -MF .deps/bson.Tpo -c bson.c -fPIC -DPIC -o .libs/bson.o
bson.c:42: warning: 'bson_swap_endian64' defined but not used
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT bson.lo -MD -MP -MF .deps/bson.Tpo -c bson.c -o bson.o >/dev/null 2>&1
depbase=`echo strlcpy.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT strlcpy.lo -MD -MP -MF $depbase.Tpo -c -o strlcpy.lo strlcpy.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT strlcpy.lo -MD -MP -MF .deps/strlcpy.Tpo -c strlcpy.c -fPIC -DPIC -o .libs/strlcpy.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT strlcpy.lo -MD -MP -MF .deps/strlcpy.Tpo -c strlcpy.c -o strlcpy.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -o libcompat.la bson.lo strlcpy.lo
libtool: link: ar cru .libs/libcompat.a .libs/bson.o .libs/strlcpy.o
libtool: link: ranlib .libs/libcompat.a
libtool: link: ( cd ".libs" && rm -f "libcompat.la" && ln -s "../libcompat.la" "libcompat.la" )
make[2]: Leaving directory `/root/src/duo_unix-1.5/compat'
Making all in lib
make[2]: Entering directory `/root/src/duo_unix-1.5/lib'
depbase=`echo dummy.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT dummy.lo -MD -MP -MF $depbase.Tpo -c -o dummy.lo dummy.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT dummy.lo -MD -MP -MF .deps/dummy.Tpo -c dummy.c -fPIC -DPIC -o .libs/dummy.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT dummy.lo -MD -MP -MF .deps/dummy.Tpo -c dummy.c -o dummy.o >/dev/null 2>&1
depbase=`echo duo.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT duo.lo -MD -MP -MF $depbase.Tpo -c -o duo.lo duo.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT duo.lo -MD -MP -MF .deps/duo.Tpo -c duo.c -fPIC -DPIC -o .libs/duo.o
duo.c: In function 'duo_call':
duo.c:392: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT duo.lo -MD -MP -MF .deps/duo.Tpo -c duo.c -o duo.o >/dev/null 2>&1
depbase=`echo ini.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT ini.lo -MD -MP -MF $depbase.Tpo -c -o ini.lo ini.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT ini.lo -MD -MP -MF .deps/ini.Tpo -c ini.c -fPIC -DPIC -o .libs/ini.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT ini.lo -MD -MP -MF .deps/ini.Tpo -c ini.c -o ini.o >/dev/null 2>&1
depbase=`echo urlenc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT urlenc.lo -MD -MP -MF $depbase.Tpo -c -o urlenc.lo urlenc.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT urlenc.lo -MD -MP -MF .deps/urlenc.Tpo -c urlenc.c -fPIC -DPIC -o .libs/urlenc.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT urlenc.lo -MD -MP -MF .deps/urlenc.Tpo -c urlenc.c -o urlenc.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -o libcommon.la duo.lo ini.lo urlenc.lo ../compat/libcompat.la -lcurl -lssl -lcrypto
libtool: link: (cd .libs/libcommon.lax/libcompat.a && ar x "/root/src/duo_unix-1.5/lib/../compat/.libs/libcompat.a")
libtool: link: ar cru .libs/libcommon.a .libs/duo.o .libs/ini.o .libs/urlenc.o .libs/libcommon.lax/libcompat.a/bson.o .libs/libcommon.lax/libcompat.a/strlcpy.o
libtool: link: ranlib .libs/libcommon.a
libtool: link: rm -fr .libs/libcommon.lax
libtool: link: ( cd ".libs" && rm -f "libcommon.la" && ln -s "../libcommon.la" "libcommon.la" )
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -no-undefined -version-info 1:0:0 -o libduo.la -rpath /usr/local/lib dummy.lo libcommon.la
libtool: link: gcc -shared -fPIC -DPIC .libs/dummy.o -Wl,--whole-archive ./.libs/libcommon.a -Wl,--no-whole-archive /usr/lib/libcurl.so -lssl -lcrypto -O2 -Wl,-soname -Wl,libduo.so.1 -o .libs/libduo.so.1.0.0
libtool: link: (cd ".libs" && rm -f "libduo.so.1" && ln -s "libduo.so.1.0.0" "libduo.so.1")
libtool: link: (cd ".libs" && rm -f "libduo.so" && ln -s "libduo.so.1.0.0" "libduo.so")
libtool: link: (cd .libs/libduo.lax/libcommon.a && ar x "/root/src/duo_unix-1.5/lib/./.libs/libcommon.a")
libtool: link: ar cru .libs/libduo.a dummy.o .libs/libduo.lax/libcommon.a/bson.o .libs/libduo.lax/libcommon.a/duo.o .libs/libduo.lax/libcommon.a/ini.o .libs/libduo.lax/libcommon.a/strlcpy.o .libs/libduo.lax/libcommon.a/urlenc.o
libtool: link: ranlib .libs/libduo.a
libtool: link: rm -fr .libs/libduo.lax
libtool: link: ( cd ".libs" && rm -f "libduo.la" && ln -s "../libduo.la" "libduo.la" )
depbase=`echo testduo.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT testduo.o -MD -MP -MF $depbase.Tpo -c -o testduo.o testduo.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -o testduo testduo.o libduo.la
libtool: link: gcc -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -o .libs/testduo testduo.o ./.libs/libduo.so /usr/lib/libcurl.so -lssl -lcrypto
make[2]: Leaving directory `/root/src/duo_unix-1.5/lib'
Making all in login_duo
make[2]: Entering directory `/root/src/duo_unix-1.5/login_duo'
depbase=`echo login_duo.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -I../compat -I../lib -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT login_duo.o -MD -MP -MF $depbase.Tpo -c -o login_duo.o login_duo.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -o login_duo login_duo.o ../lib/libduo.la -lcurl -lssl -lcrypto
libtool: link: gcc -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -o .libs/login_duo login_duo.o ../lib/.libs/libduo.so /usr/lib/libcurl.so -lssl -lcrypto
make[2]: Leaving directory `/root/src/duo_unix-1.5/login_duo'
make[2]: Entering directory `/root/src/duo_unix-1.5'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/src/duo_unix-1.5'
make[1]: Leaving directory `/root/src/duo_unix-1.5'
Making install in compat
make[1]: Entering directory `/root/src/duo_unix-1.5/compat'
make[2]: Entering directory `/root/src/duo_unix-1.5/compat'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/src/duo_unix-1.5/compat'
make[1]: Leaving directory `/root/src/duo_unix-1.5/compat'
Making install in lib
make[1]: Entering directory `/root/src/duo_unix-1.5/lib'
make[2]: Entering directory `/root/src/duo_unix-1.5/lib'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c libduo.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libduo.so.1.0.0 /usr/local/lib/libduo.so.1.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libduo.so.1.0.0 libduo.so.1 || { rm -f libduo.so.1 && ln -s libduo.so.1.0.0 libduo.so.1; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libduo.so.1.0.0 libduo.so || { rm -f libduo.so && ln -s libduo.so.1.0.0 libduo.so; }; })
libtool: install: /usr/bin/install -c .libs/libduo.lai /usr/local/lib/libduo.la
libtool: install: /usr/bin/install -c .libs/libduo.a /usr/local/lib/libduo.a
libtool: install: chmod 644 /usr/local/lib/libduo.a
libtool: install: ranlib /usr/local/lib/libduo.a
libtool: finish: PATH="/opt/mongodb-1.6.3:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
/usr/bin/install -c -m 644 duo.h '/usr/local/include'
test -z "/usr/local/share/man/man3" || /bin/mkdir -p "/usr/local/share/man/man3"
/usr/bin/install -c -m 644 duo.3 '/usr/local/share/man/man3'
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 libduo.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory `/root/src/duo_unix-1.5/lib'
make[1]: Leaving directory `/root/src/duo_unix-1.5/lib'
Making install in login_duo
make[1]: Entering directory `/root/src/duo_unix-1.5/login_duo'
make[2]: Entering directory `/root/src/duo_unix-1.5/login_duo'
test -z "/usr/local/sbin" || /bin/mkdir -p "/usr/local/sbin"
/bin/bash ../libtool --mode=install /usr/bin/install -c login_duo '/usr/local/sbin'
libtool: install: /usr/bin/install -c .libs/login_duo /usr/local/sbin/login_duo
make install-exec-hook
make[3]: Entering directory `/root/src/duo_unix-1.5/login_duo'
chown root /usr/local/sbin/login_duo && \
chmod 4755 /usr/local/sbin/login_duo
Found existing /etc/duo/login_duo.conf - updating permissions
chown sshd /etc/duo/login_duo.conf
chmod 600 /etc/duo/login_duo.conf
make[3]: Leaving directory `/root/src/duo_unix-1.5/login_duo'
test -z "/usr/local/share/man/man8" || /bin/mkdir -p "/usr/local/share/man/man8"
/usr/bin/install -c -m 644 login_duo.8 '/usr/local/share/man/man8'
make[2]: Leaving directory `/root/src/duo_unix-1.5/login_duo'
make[1]: Leaving directory `/root/src/duo_unix-1.5/login_duo'
make[1]: Entering directory `/root/src/duo_unix-1.5'
make[2]: Entering directory `/root/src/duo_unix-1.5'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/src/duo_unix-1.5'
make[1]: Leaving directory `/root/src/duo_unix-1.5'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment