Created
October 13, 2015 05:47
-
-
Save adament/68897817542127fc3c93 to your computer and use it in GitHub Desktop.
Installing ruby-gpgme troubles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by libgpg-error configure 1.20, which was | |
generated by GNU Autoconf 2.69. Invocation command line was | |
$ configure --disable-shared --enable-static --disable-nls CFLAGS='-fPIC ' --prefix=/tmp/test/gem/gems/gpgme-2.0.10/ports/x86_64-unknown-linux-gnu/libgpg-error/1.20 | |
## --------- ## | |
## Platform. ## | |
## --------- ## | |
hostname = adament-tower | |
uname -m = x86_64 | |
uname -r = 4.2.2-1-ARCH | |
uname -s = Linux | |
uname -v = #1 SMP PREEMPT Tue Sep 29 22:21:33 CEST 2015 | |
/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: /home/adament/local/bin | |
PATH: /home/adament/.cabal/bin | |
PATH: /home/adament/perl5/bin | |
PATH: /usr/local/sbin | |
PATH: /usr/local/bin | |
PATH: /usr/bin | |
PATH: /usr/lib/jvm/default/bin | |
PATH: /usr/bin/site_perl | |
PATH: /usr/bin/vendor_perl | |
PATH: /usr/bin/core_perl | |
## ----------- ## | |
## Core tests. ## | |
## ----------- ## | |
configure:2647: checking for a BSD-compatible install | |
configure:2715: result: /usr/bin/install -c | |
configure:2726: checking whether build environment is sane | |
configure:2781: result: yes | |
configure:2932: checking for a thread-safe mkdir -p | |
configure:2971: result: /usr/bin/mkdir -p | |
configure:2978: checking for gawk | |
configure:2994: found /usr/bin/gawk | |
configure:3005: result: gawk | |
configure:3016: checking whether make sets $(MAKE) | |
configure:3038: result: yes | |
configure:3067: checking whether make supports nested variables | |
configure:3084: result: yes | |
configure:3211: checking whether to enable maintainer-specific portions of Makefiles | |
configure:3220: result: no | |
configure:3248: checking whether make supports nested variables | |
configure:3265: result: yes | |
configure:3283: checking build system type | |
configure:3297: result: x86_64-unknown-linux-gnu | |
configure:3317: checking host system type | |
configure:3330: result: x86_64-unknown-linux-gnu | |
configure:3354: autobuild project... libgpg-error | |
configure:3356: autobuild revision... 1.20 | |
configure:3360: autobuild hostname... adament-tower | |
configure:3369: autobuild timestamp... 20151013-073942 | |
configure:3423: checking for gcc | |
configure:3439: found /usr/bin/gcc | |
configure:3450: result: gcc | |
configure:3679: checking for C compiler version | |
configure:3688: gcc --version >&5 | |
gcc (GCC) 5.2.0 | |
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:3699: $? = 0 | |
configure:3688: gcc -v >&5 | |
Using built-in specs. | |
COLLECT_GCC=gcc | |
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/lto-wrapper | |
Target: x86_64-unknown-linux-gnu | |
Configured with: /build/gcc-multilib/src/gcc-5.2.0/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --with-default-libstdcxx-abi=gcc4-compatible | |
Thread model: posix | |
gcc version 5.2.0 (GCC) | |
configure:3699: $? = 0 | |
configure:3688: gcc -V >&5 | |
gcc: error: unrecognized command line option '-V' | |
gcc: fatal error: no input files | |
compilation terminated. | |
configure:3699: $? = 1 | |
configure:3688: gcc -qversion >&5 | |
gcc: error: unrecognized command line option '-qversion' | |
gcc: fatal error: no input files | |
compilation terminated. | |
configure:3699: $? = 1 | |
configure:3719: checking whether the C compiler works | |
configure:3741: gcc '-fPIC ' conftest.c >&5 | |
gcc: error: '-fPIC: No such file or directory | |
gcc: error: ': No such file or directory | |
configure:3745: $? = 1 | |
configure:3783: result: no | |
configure: failed program was: | |
| /* confdefs.h */ | |
| #define PACKAGE_NAME "libgpg-error" | |
| #define PACKAGE_TARNAME "libgpg-error" | |
| #define PACKAGE_VERSION "1.20" | |
| #define PACKAGE_STRING "libgpg-error 1.20" | |
| #define PACKAGE_BUGREPORT "http://bugs.gnupg.org" | |
| #define PACKAGE_URL "" | |
| #define PACKAGE "libgpg-error" | |
| #define VERSION "1.20" | |
| /* end confdefs.h. */ | |
| | |
| int | |
| main () | |
| { | |
| | |
| ; | |
| return 0; | |
| } | |
configure:3788: error: in `/tmp/test/gem/gems/gpgme-2.0.10/ext/gpgme/tmp/x86_64-unknown-linux-gnu/ports/libgpg-error/1.20/libgpg-error-1.20': | |
configure:3790: error: C compiler cannot create executables | |
See `config.log' for more details | |
## ---------------- ## | |
## Cache variables. ## | |
## ---------------- ## | |
ac_cv_build=x86_64-unknown-linux-gnu | |
ac_cv_env_CC_FOR_BUILD_set= | |
ac_cv_env_CC_FOR_BUILD_value= | |
ac_cv_env_CC_set= | |
ac_cv_env_CC_value= | |
ac_cv_env_CFLAGS_set=set | |
ac_cv_env_CFLAGS_value=''\''-fPIC '\''' | |
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='/usr/bin/install -c' | |
ac_cv_path_mkdir=/usr/bin/mkdir | |
ac_cv_prog_AWK=gawk | |
ac_cv_prog_ac_ct_CC=gcc | |
ac_cv_prog_make_make_set=yes | |
am_cv_make_support_nested_variables=yes | |
## ----------------- ## | |
## Output variables. ## | |
## ----------------- ## | |
ACLOCAL='${SHELL} /tmp/test/gem/gems/gpgme-2.0.10/ext/gpgme/tmp/x86_64-unknown-linux-gnu/ports/libgpg-error/1.20/libgpg-error-1.20/build-aux/missing aclocal-1.14' | |
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} /tmp/test/gem/gems/gpgme-2.0.10/ext/gpgme/tmp/x86_64-unknown-linux-gnu/ports/libgpg-error/1.20/libgpg-error-1.20/build-aux/missing autoconf' | |
AUTOHEADER='${SHELL} /tmp/test/gem/gems/gpgme-2.0.10/ext/gpgme/tmp/x86_64-unknown-linux-gnu/ports/libgpg-error/1.20/libgpg-error-1.20/build-aux/missing autoheader' | |
AUTOMAKE='${SHELL} /tmp/test/gem/gems/gpgme-2.0.10/ext/gpgme/tmp/x86_64-unknown-linux-gnu/ports/libgpg-error/1.20/libgpg-error-1.20/build-aux/missing automake-1.14' | |
AWK='gawk' | |
BUILD_DOC_FALSE='' | |
BUILD_DOC_TRUE='' | |
BUILD_FILEVERSION='' | |
BUILD_REVISION='' | |
BUILD_TIMESTAMP='' | |
BUILD_VERSION='' | |
CC='gcc' | |
CCDEPMODE='' | |
CC_FOR_BUILD='' | |
CFLAGS=''\''-fPIC '\''' | |
CPP='' | |
CPPFLAGS='' | |
CROSS_COMPILING_FALSE='' | |
CROSS_COMPILING_TRUE='' | |
CYGPATH_W='echo' | |
DEFS='' | |
DEPDIR='' | |
DLLTOOL='' | |
DSYMUTIL='' | |
DUMPBIN='' | |
ECHO_C='' | |
ECHO_N='-n' | |
ECHO_T='' | |
EGREP='' | |
EXEEXT='' | |
FGREP='' | |
FORCE_USE_SYSCFG_FALSE='' | |
FORCE_USE_SYSCFG_TRUE='' | |
GETTEXT_MACRO_VERSION='' | |
GMSGFMT='' | |
GMSGFMT_015='' | |
GPG_ERROR_CONFIG_CFLAGS='' | |
GPG_ERROR_CONFIG_HOST='' | |
GPG_ERROR_CONFIG_ISUBDIRAFTER='' | |
GPG_ERROR_CONFIG_LIBS='' | |
GPG_ERROR_CONFIG_MT_CFLAGS='' | |
GPG_ERROR_CONFIG_MT_LIBS='' | |
GREP='' | |
HAVE_LD_VERSION_SCRIPT_FALSE='' | |
HAVE_LD_VERSION_SCRIPT_TRUE='' | |
HAVE_W32CE_SYSTEM_FALSE='' | |
HAVE_W32CE_SYSTEM_TRUE='' | |
HAVE_W32_SYSTEM_FALSE='' | |
HAVE_W32_SYSTEM_TRUE='' | |
HAVE_W64_SYSTEM_FALSE='' | |
HAVE_W64_SYSTEM_TRUE='' | |
INSTALL_DATA='${INSTALL} -m 644' | |
INSTALL_PROGRAM='${INSTALL}' | |
INSTALL_SCRIPT='${INSTALL}' | |
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' | |
INTLLIBS='' | |
INTL_MACOSX_LIBS='' | |
LANGUAGES_SOME_FALSE='' | |
LANGUAGES_SOME_TRUE='' | |
LD='' | |
LDFLAGS='' | |
LIBGPG_ERROR_LT_AGE='16' | |
LIBGPG_ERROR_LT_CURRENT='16' | |
LIBGPG_ERROR_LT_REVISION='0' | |
LIBICONV='' | |
LIBINTL='' | |
LIBMULTITHREAD='' | |
LIBOBJS='' | |
LIBS='' | |
LIBTHREAD='' | |
LIBTOOL='' | |
LIPO='' | |
LN_S='' | |
LTLIBICONV='' | |
LTLIBINTL='' | |
LTLIBMULTITHREAD='' | |
LTLIBOBJS='' | |
LTLIBTHREAD='' | |
MAINT='#' | |
MAINTAINER_MODE_FALSE='' | |
MAINTAINER_MODE_TRUE='#' | |
MAKEINFO='${SHELL} /tmp/test/gem/gems/gpgme-2.0.10/ext/gpgme/tmp/x86_64-unknown-linux-gnu/ports/libgpg-error/1.20/libgpg-error-1.20/build-aux/missing makeinfo' | |
MANIFEST_TOOL='' | |
MKDIR_P='/usr/bin/mkdir -p' | |
MSGFMT='' | |
MSGFMT_015='' | |
MSGMERGE='' | |
NM='' | |
NMEDIT='' | |
OBJDUMP='' | |
OBJEXT='' | |
OTOOL64='' | |
OTOOL='' | |
PACKAGE='libgpg-error' | |
PACKAGE_BUGREPORT='http://bugs.gnupg.org' | |
PACKAGE_NAME='libgpg-error' | |
PACKAGE_STRING='libgpg-error 1.20' | |
PACKAGE_TARNAME='libgpg-error' | |
PACKAGE_URL='' | |
PACKAGE_VERSION='1.20' | |
PATH_SEPARATOR=':' | |
POSUB='' | |
RANLIB='' | |
RC='' | |
SED='' | |
SET_MAKE='' | |
SHELL='/bin/sh' | |
STRIP='' | |
USE_NLS='' | |
VERSION='1.20' | |
VERSION_NUMBER='0x011400' | |
XGETTEXT='' | |
XGETTEXT_015='' | |
XGETTEXT_EXTRA_OPTIONS='' | |
ac_ct_AR='' | |
ac_ct_CC='gcc' | |
ac_ct_DUMPBIN='' | |
am__EXEEXT_FALSE='' | |
am__EXEEXT_TRUE='' | |
am__fastdepCC_FALSE='' | |
am__fastdepCC_TRUE='' | |
am__include='' | |
am__isrc='' | |
am__leading_dot='.' | |
am__nodep='' | |
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}' | |
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} /tmp/test/gem/gems/gpgme-2.0.10/ext/gpgme/tmp/x86_64-unknown-linux-gnu/ports/libgpg-error/1.20/libgpg-error-1.20/build-aux/install-sh' | |
libdir='${exec_prefix}/lib' | |
libexecdir='${exec_prefix}/libexec' | |
localedir='${datarootdir}/locale' | |
localstatedir='${prefix}/var' | |
mandir='${datarootdir}/man' | |
mkdir_p='$(MKDIR_P)' | |
oldincludedir='/usr/include' | |
pdfdir='${docdir}' | |
prefix='/tmp/test/gem/gems/gpgme-2.0.10/ports/x86_64-unknown-linux-gnu/libgpg-error/1.20' | |
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 "libgpg-error" | |
#define PACKAGE_TARNAME "libgpg-error" | |
#define PACKAGE_VERSION "1.20" | |
#define PACKAGE_STRING "libgpg-error 1.20" | |
#define PACKAGE_BUGREPORT "http://bugs.gnupg.org" | |
#define PACKAGE_URL "" | |
#define PACKAGE "libgpg-error" | |
#define VERSION "1.20" | |
configure: exit 77 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Building native extensions. This could take a while... | |
ERROR: Error installing gpgme-2.0.10.gem: | |
ERROR: Failed to build gem native extension. | |
/usr/bin/ruby -r ./siteconf20151013-7852-1blnaaa.rb extconf.rb | |
************************************************************************ | |
IMPORTANT! gpgme gem uses locally built versions of required C libraries, | |
namely libgpg-error, libassuan, and gpgme. | |
If this is a concern for you and you want to use the system library | |
instead, abort this installation process and reinstall gpgme gem as | |
follows: | |
gem install gpgme -- --use-system-libraries | |
************************************************************************ | |
Extracting libgpg-error-1.20.tar.bz2 into tmp/x86_64-unknown-linux-gnu/ports/libgpg-error/1.20... OK | |
Running 'configure' for libgpg-error 1.20... ERROR, review '/tmp/test/gem/gems/gpgme-2.0.10/ext/gpgme/tmp/x86_64-unknown-linux-gnu/ports/libgpg-error/1.20/configure.log' to see what happened. Last lines are: | |
======================================================================== | |
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 whether to enable maintainer-specific portions of Makefiles... no | |
checking whether make supports nested variables... (cached) yes | |
checking build system type... x86_64-unknown-linux-gnu | |
checking host system type... x86_64-unknown-linux-gnu | |
configure: autobuild project... libgpg-error | |
configure: autobuild revision... 1.20 | |
configure: autobuild hostname... adament-tower | |
configure: autobuild timestamp... 20151013-073942 | |
checking for gcc... gcc | |
checking whether the C compiler works... no | |
configure: error: in `/tmp/test/gem/gems/gpgme-2.0.10/ext/gpgme/tmp/x86_64-unknown-linux-gnu/ports/libgpg-error/1.20/libgpg-error-1.20': | |
configure: error: C compiler cannot create executables | |
See `config.log' for more details | |
======================================================================== | |
*** extconf.rb failed *** | |
Could not create Makefile due to some reason, probably lack of necessary | |
libraries and/or headers. Check the mkmf.log file for more details. You may | |
need configuration options. | |
Provided configuration options: | |
--with-opt-dir | |
--without-opt-dir | |
--with-opt-include | |
--without-opt-include=${opt-dir}/include | |
--with-opt-lib | |
--without-opt-lib=${opt-dir}/lib | |
--with-make-prog | |
--without-make-prog | |
--srcdir=. | |
--curdir | |
--ruby=/usr/bin/$(RUBY_BASE_NAME) | |
--clean | |
--use-system-libraries | |
/usr/lib/ruby/gems/2.2.0/gems/mini_portile-0.7.0.rc3/lib/mini_portile/mini_portile.rb:364:in `block in execute': Failed to complete configure task (RuntimeError) | |
from /usr/lib/ruby/gems/2.2.0/gems/mini_portile-0.7.0.rc3/lib/mini_portile/mini_portile.rb:333:in `chdir' | |
from /usr/lib/ruby/gems/2.2.0/gems/mini_portile-0.7.0.rc3/lib/mini_portile/mini_portile.rb:333:in `execute' | |
from /usr/lib/ruby/gems/2.2.0/gems/mini_portile-0.7.0.rc3/lib/mini_portile/mini_portile.rb:103:in `configure' | |
from /usr/lib/ruby/gems/2.2.0/gems/mini_portile-0.7.0.rc3/lib/mini_portile/mini_portile.rb:145:in `cook' | |
from extconf.rb:76:in `block in <main>' | |
from extconf.rb:65:in `tap' | |
from extconf.rb:65:in `<main>' | |
extconf failed, exit code 1 | |
Gem files will remain installed in /tmp/test/gem/gems/gpgme-2.0.10 for inspection. | |
Results logged to /tmp/test/gem/extensions/x86_64-linux/2.2.0/gpgme-2.0.10/gem_make.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment