Created
January 18, 2015 02:56
-
-
Save hutson/198c4ab7173f1754e0b4 to your computer and use it in GitHub Desktop.
readline: build failure
This file contains hidden or 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
2015-01-17 20:35:13 -0600 | |
./configure | |
--prefix=/home/hutson/.local/Cellar/readline/6.3.8 | |
--enable-multibyte | |
checking build system type... i686-pc-linux-gnu | |
checking host system type... i686-pc-linux-gnu | |
Beginning configuration for readline-6.3 for i686-pc-linux-gnu | |
checking whether make sets $(MAKE)... yes | |
checking for gcc... /usr/bin/gcc-4.9 | |
checking whether the C compiler works... no | |
configure: error: in `/home/hutson/.local/tmp/readline-PmD0uz/readline-6.3': | |
configure: error: C compiler cannot create executables | |
See `config.log' for more details | |
HOMEBREW_VERSION: 0.9.5 | |
ORIGIN: https://github.com/Homebrew/linuxbrew.git | |
HEAD: acf2fd1568258ae78d6b6223c49567e66ebb3dbf | |
Last commit: 27 hours ago | |
HOMEBREW_PREFIX: /home/hutson/.local | |
HOMEBREW_CELLAR: /home/hutson/.local/Cellar | |
CPU: dual-core 32-bit 6 | |
OS X: 0-i686 | |
Xcode: N/A | |
CLT: N/A | |
Clang: N/A | |
X11: N/A | |
System Ruby: 2.1.5 => /usr/bin/ruby2.1 | |
Perl: /usr/bin/perl | |
Python: /usr/bin/python => /usr/bin/python2.7 | |
Ruby: /usr/bin/ruby => /usr/bin/ruby2.1 | |
CC: /usr/bin/gcc-4.9 | |
CXX: /usr/bin/g++-4.9 | |
OBJC: /usr/bin/gcc-4.9 | |
OBJCXX: /usr/bin/g++-4.9 | |
CFLAGS: -Os -w -pipe -Xarch_i386 -march=prescott | |
CXXFLAGS: -Os -w -pipe -Xarch_i386 -march=prescott | |
CPPFLAGS: -isystem/home/hutson/.local/include | |
LDFLAGS: -L/home/hutson/.local/lib -Wl,-rpath,/home/hutson/.local/lib | |
MAKEFLAGS: -j2 | |
CMAKE_PREFIX_PATH: /home/hutson/.local | |
PKG_CONFIG_LIBDIR: /home/hutson/.local/lib/pkgconfig:/usr/lib/pkgconfig | |
PATH: /home/hutson/.local/var/rbenv/shims:/home/hutson/.local/bin:./node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/hutson/.local/Library/ENV/scm |
This file contains hidden or 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 readline configure 6.3, which was | |
generated by GNU Autoconf 2.68. Invocation command line was | |
$ ./configure --prefix=/home/hutson/.local/Cellar/readline/6.3.8 --enable-multibyte | |
## --------- ## | |
## Platform. ## | |
## --------- ## | |
hostname = mini | |
uname -m = i686 | |
uname -r = 3.14-2-686-pae | |
uname -s = Linux | |
uname -v = #1 SMP Debian 3.14.15-2 (2014-08-09) | |
/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/hutson/.local/var/rbenv/shims | |
PATH: /home/hutson/.local/bin | |
PATH: ./node_modules/.bin | |
PATH: /usr/local/bin | |
PATH: /usr/bin | |
PATH: /bin | |
PATH: /usr/local/games | |
PATH: /usr/games | |
PATH: /home/hutson/.local/Library/ENV/scm | |
## ----------- ## | |
## Core tests. ## | |
## ----------- ## | |
configure:2282: checking build system type | |
configure:2296: result: i686-pc-linux-gnu | |
configure:2316: checking host system type | |
configure:2329: result: i686-pc-linux-gnu | |
configure:2435: checking whether make sets $(MAKE) | |
configure:2457: result: yes | |
configure:2514: checking for gcc | |
configure:2541: result: /usr/bin/gcc-4.9 | |
configure:2770: checking for C compiler version | |
configure:2779: /usr/bin/gcc-4.9 --version >&5 | |
gcc-4.9 (Debian 4.9.2-10) 4.9.2 | |
Copyright (C) 2014 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:2790: $? = 0 | |
configure:2779: /usr/bin/gcc-4.9 -v >&5 | |
Using built-in specs. | |
COLLECT_GCC=/usr/bin/gcc-4.9 | |
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-linux-gnu/4.9/lto-wrapper | |
Target: i586-linux-gnu | |
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-i386/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-i386 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-i386 --with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-targets=all --enable-multiarch --with-arch-32=i586 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=i586-linux-gnu --host=i586-linux-gnu --target=i586-linux-gnu | |
Thread model: posix | |
gcc version 4.9.2 (Debian 4.9.2-10) | |
configure:2790: $? = 0 | |
configure:2779: /usr/bin/gcc-4.9 -V >&5 | |
gcc-4.9: error: unrecognized command line option '-V' | |
gcc-4.9: fatal error: no input files | |
compilation terminated. | |
configure:2790: $? = 4 | |
configure:2779: /usr/bin/gcc-4.9 -qversion >&5 | |
gcc-4.9: error: unrecognized command line option '-qversion' | |
gcc-4.9: fatal error: no input files | |
compilation terminated. | |
configure:2790: $? = 4 | |
configure:2810: checking whether the C compiler works | |
configure:2832: /usr/bin/gcc-4.9 -Os -w -pipe -Xarch_i386 -march=prescott -isystem/home/hutson/.local/include -L/home/hutson/.local/lib -Wl,-rpath,/home/hutson/.local/lib conftest.c >&5 | |
gcc-4.9: error: unrecognized command line option '-Xarch_i386' | |
configure:2836: $? = 1 | |
configure:2874: result: no | |
configure: failed program was: | |
| /* confdefs.h */ | |
| #define PACKAGE_NAME "readline" | |
| #define PACKAGE_TARNAME "readline" | |
| #define PACKAGE_VERSION "6.3" | |
| #define PACKAGE_STRING "readline 6.3" | |
| #define PACKAGE_BUGREPORT "[email protected]" | |
| #define PACKAGE_URL "" | |
| /* end confdefs.h. */ | |
| | |
| int | |
| main () | |
| { | |
| | |
| ; | |
| return 0; | |
| } | |
configure:2879: error: in `/home/hutson/.local/tmp/readline-PmD0uz/readline-6.3': | |
configure:2881: error: C compiler cannot create executables | |
See `config.log' for more details | |
## ---------------- ## | |
## Cache variables. ## | |
## ---------------- ## | |
ac_cv_build=i686-pc-linux-gnu | |
ac_cv_env_CC_set=set | |
ac_cv_env_CC_value=/usr/bin/gcc-4.9 | |
ac_cv_env_CFLAGS_set=set | |
ac_cv_env_CFLAGS_value='-Os -w -pipe -Xarch_i386 -march=prescott ' | |
ac_cv_env_CPPFLAGS_set=set | |
ac_cv_env_CPPFLAGS_value=-isystem/home/hutson/.local/include | |
ac_cv_env_CPP_set= | |
ac_cv_env_CPP_value= | |
ac_cv_env_LDFLAGS_set=set | |
ac_cv_env_LDFLAGS_value='-L/home/hutson/.local/lib -Wl,-rpath,/home/hutson/.local/lib ' | |
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=i686-pc-linux-gnu | |
ac_cv_prog_ac_ct_CC=/usr/bin/gcc-4.9 | |
ac_cv_prog_make_make_set=yes | |
## ----------------- ## | |
## Output variables. ## | |
## ----------------- ## | |
AR='' | |
ARFLAGS='' | |
BUILD_DIR='' | |
CC='/usr/bin/gcc-4.9' | |
CFLAGS='-Os -w -pipe -Xarch_i386 -march=prescott ' | |
CPP='' | |
CPPFLAGS='-isystem/home/hutson/.local/include' | |
CROSS_COMPILE='' | |
DEFS='' | |
ECHO_C='' | |
ECHO_N='-n' | |
ECHO_T='' | |
EGREP='' | |
EXEEXT='' | |
GREP='' | |
INSTALL_DATA='' | |
INSTALL_PROGRAM='' | |
INSTALL_SCRIPT='' | |
LDFLAGS='-L/home/hutson/.local/lib -Wl,-rpath,/home/hutson/.local/lib ' | |
LIBOBJS='' | |
LIBS='' | |
LIBVERSION='6.3' | |
LOCAL_CFLAGS='' | |
LOCAL_DEFS='' | |
LOCAL_LDFLAGS='' | |
LTLIBOBJS='' | |
MAKE_SHELL='' | |
OBJEXT='' | |
PACKAGE_BUGREPORT='[email protected]' | |
PACKAGE_NAME='readline' | |
PACKAGE_STRING='readline 6.3' | |
PACKAGE_TARNAME='readline' | |
PACKAGE_URL='' | |
PACKAGE_VERSION='6.3' | |
PATH_SEPARATOR=':' | |
PURIFY='' | |
RANLIB='' | |
SET_MAKE='' | |
SHARED_INSTALL_TARGET='' | |
SHARED_TARGET='' | |
SHELL='/bin/bash' | |
SHLIB_DLLVERSION='' | |
SHLIB_DOT='' | |
SHLIB_LIBPREF='' | |
SHLIB_LIBS='' | |
SHLIB_LIBSUFF='' | |
SHLIB_LIBVERSION='' | |
SHLIB_MAJOR='' | |
SHLIB_MINOR='' | |
SHLIB_STATUS='' | |
SHLIB_XLDFLAGS='' | |
SHOBJ_CC='' | |
SHOBJ_CFLAGS='' | |
SHOBJ_LD='' | |
SHOBJ_LDFLAGS='' | |
SHOBJ_LIBS='' | |
SHOBJ_STATUS='' | |
SHOBJ_XLDFLAGS='' | |
STATIC_INSTALL_TARGET='' | |
STATIC_TARGET='' | |
TERMCAP_LIB='' | |
ac_ct_CC='/usr/bin/gcc-4.9' | |
bindir='${exec_prefix}/bin' | |
build='i686-pc-linux-gnu' | |
build_alias='' | |
build_cpu='i686' | |
build_os='linux-gnu' | |
build_vendor='pc' | |
datadir='${datarootdir}' | |
datarootdir='${prefix}/share' | |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | |
dvidir='${docdir}' | |
exec_prefix='NONE' | |
host='i686-pc-linux-gnu' | |
host_alias='' | |
host_cpu='i686' | |
host_os='linux-gnu' | |
host_vendor='pc' | |
htmldir='${docdir}' | |
includedir='${prefix}/include' | |
infodir='${datarootdir}/info' | |
libdir='${exec_prefix}/lib' | |
libexecdir='${exec_prefix}/libexec' | |
localedir='${datarootdir}/locale' | |
localstatedir='${prefix}/var' | |
mandir='${datarootdir}/man' | |
oldincludedir='/usr/include' | |
pdfdir='${docdir}' | |
prefix='/home/hutson/.local/Cellar/readline/6.3.8' | |
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 "readline" | |
#define PACKAGE_TARNAME "readline" | |
#define PACKAGE_VERSION "6.3" | |
#define PACKAGE_STRING "readline 6.3" | |
#define PACKAGE_BUGREPORT "[email protected]" | |
#define PACKAGE_URL "" | |
configure: exit 77 |
@Nakilon I don't remember if I ever fixed this issue. Shortly after the date this Gist was posted I switched to a 64-bit operating system and haven't experienced compiler issues using linuxbrew
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How did you fix this?