Hi,
I'm running into a problem installing this on a CentOS 7 box.
Installing libyubikey-1.10.tar.gz went fine.
Code:
[root@server01 libyubikey-1.10]# ./configure --prefix=/usr/local/yubi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
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 for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/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... dlltool
checking how to associate runtime and link libraries... printf %s\n
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... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -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 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... no
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
checking if LD -Wl,--version-script works... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tests/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
[root@server01 libyubikey-1.10]# make && make install
Making all in .
make[1]: Map '/usr/local/yubi/src/libyubikey-1.10' wordt binnengegaan
CC yktoken.lo
CC ykhex.lo
CC ykmodhex.lo
CC ykcrc.lo
CC ykaes.lo
CCLD libyubikey.la
CC modhex.o
CCLD modhex
CC ykparse.o
CCLD ykparse
CC ykgenerate.o
CCLD ykgenerate
make[1]: Map '/usr/local/yubi/src/libyubikey-1.10' wordt verlaten
Making all in tests
make[1]: Map '/usr/local/yubi/src/libyubikey-1.10/tests' wordt binnengegaan
make[1]: Er hoeft niets gedaan te worden voor 'all'.
make[1]: Map '/usr/local/yubi/src/libyubikey-1.10/tests' wordt verlaten
Making install in .
make[1]: Map '/usr/local/yubi/src/libyubikey-1.10' wordt binnengegaan
make[2]: Map '/usr/local/yubi/src/libyubikey-1.10' wordt binnengegaan
/usr/bin/mkdir -p '/usr/local/yubi/lib'
/bin/sh ./libtool --mode=install /usr/bin/install -c libyubikey.la '/usr/local/yubi/lib'
libtool: install: /usr/bin/install -c .libs/libyubikey.so.0.1.4 /usr/local/yubi/lib/libyubikey.so.0.1.4
libtool: install: (cd /usr/local/yubi/lib && { ln -s -f libyubikey.so.0.1.4 libyubikey.so.0 || { rm -f libyubikey.so.0 && ln -s libyubikey.so.0.1.4 libyubikey.so.0; }; })
libtool: install: (cd /usr/local/yubi/lib && { ln -s -f libyubikey.so.0.1.4 libyubikey.so || { rm -f libyubikey.so && ln -s libyubikey.so.0.1.4 libyubikey.so; }; })
libtool: install: /usr/bin/install -c .libs/libyubikey.lai /usr/local/yubi/lib/libyubikey.la
libtool: install: /usr/bin/install -c .libs/libyubikey.a /usr/local/yubi/lib/libyubikey.a
libtool: install: chmod 644 /usr/local/yubi/lib/libyubikey.a
libtool: install: ranlib /usr/local/yubi/lib/libyubikey.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/yubi/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/yubi/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.
----------------------------------------------------------------------
/usr/bin/mkdir -p '/usr/local/yubi/bin'
/bin/sh ./libtool --mode=install /usr/bin/install -c modhex ykparse ykgenerate '/usr/local/yubi/bin'
libtool: install: /usr/bin/install -c .libs/modhex /usr/local/yubi/bin/modhex
libtool: install: /usr/bin/install -c .libs/ykparse /usr/local/yubi/bin/ykparse
libtool: install: /usr/bin/install -c .libs/ykgenerate /usr/local/yubi/bin/ykgenerate
/usr/bin/mkdir -p '/usr/local/yubi/include'
/usr/bin/install -c -m 644 yubikey.h '/usr/local/yubi/include'
make[2]: Map '/usr/local/yubi/src/libyubikey-1.10' wordt verlaten
make[1]: Map '/usr/local/yubi/src/libyubikey-1.10' wordt verlaten
Making install in tests
make[1]: Map '/usr/local/yubi/src/libyubikey-1.10/tests' wordt binnengegaan
make[2]: Map '/usr/local/yubi/src/libyubikey-1.10/tests' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[2]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[2]: Map '/usr/local/yubi/src/libyubikey-1.10/tests' wordt verlaten
make[1]: Map '/usr/local/yubi/src/libyubikey-1.10/tests' wordt verlaten
But with ykpers-1.14.0.tar.gz I have some problems.
Code:
[root@server01 ykpers-1.14.0]# ./configure --prefix=/usr/local/yubi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
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 build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/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... dlltool
checking how to associate runtime and link libraries... printf %s\n
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... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -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 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... no
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
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for libyubikey... no
configure: error: libyubikey v1.5+ not found, see http://code.google.com/p/yubico-c/
[root@server01 ykpers-1.14.0]# make && make install
make: *** No targets specified and no makefile found. Stop.
Code:
[root@server01 ykpers-1.14.0]# ls
69-yubikey.rules build-aux contrib m4 rfc4634 ykinfo.1 ykpers4mac.mk ykpers.h ykpers-nojson.c ykpers-version.h.in
70-yubikey.rules ChangeLog COPYING Makefile.am tests ykinfo.c ykpers4win.mk ykpers-json.c ykpersonalize.1
aclocal.m4 config.log doc Makefile.in ykchalresp.1 ykpbkdf2.c ykpers-args.c ykpers-json.h ykpersonalize.c
AUTHORS configure INSTALL NEWS ykchalresp.c ykpbkdf2.h ykpers-args.h ykpers_lcl.c ykpers-version.c
build-and-test.sh configure.ac libykpers-1.map README ykcore ykpers-1.pc.in ykpers.c ykpers_lcl.h ykpers-version.h
I'm not sure why this is happening, can anyone put me on the right path?
Thanks