Skip to content

Instantly share code, notes, and snippets.

@wjwwood
Created November 1, 2011 22:20
Show Gist options
  • Save wjwwood/1332128 to your computer and use it in GitHub Desktop.
Save wjwwood/1332128 to your computer and use it in GitHub Desktop.
configure fails with -arch x86_64
∫ cat build/SWIG-1.3.29/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 swig configure 1.3.29, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --prefix=/Users/william/devel/new_ros/rx/wxswig --disable-dependency-tracking
## --------- ##
## Platform. ##
## --------- ##
hostname = arepa.local
uname -m = x86_64
uname -r = 11.2.0
uname -s = Darwin
uname -v = Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = Mach kernel version:
Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 8.00 gigabytes
Default processor set: 90 tasks, 451 threads, 4 processors
Load average: 0.57, Mach factor: 3.42
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /Users/william/devel/new_ros/ros/bin
PATH: /usr/local/ada-4.2/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/X11/bin
PATH: /usr/texbin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1440: checking build system type
configure:1458: result: i686-apple-darwin11.2.0
configure:1466: checking host system type
configure:1480: result: i686-apple-darwin11.2.0
configure:1502: checking for a BSD-compatible install
configure:1557: result: /usr/bin/install -c
configure:1568: checking whether build environment is sane
configure:1611: result: yes
configure:1676: checking for gawk
configure:1705: result: no
configure:1676: checking for mawk
configure:1705: result: no
configure:1676: checking for nawk
configure:1705: result: no
configure:1676: checking for awk
configure:1692: found /usr/bin/awk
configure:1702: result: awk
configure:1712: checking whether make sets $(MAKE)
configure:1732: result: yes
configure:1950: checking for gcc
configure:1966: found /usr/local/ada-4.2/bin/gcc
configure:1976: result: gcc
configure:2220: checking for C compiler version
configure:2223: gcc --version </dev/null >&5
gcc (GCC) 4.2.0 20060409 (experimental)
Copyright (C) 2006 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:2226: $? = 0
configure:2228: gcc -v </dev/null >&5
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /Users/drew/Developer/Compiler/gcc-head/configure --target=i686-apple-darwin8 --host=i686-apple-darwin8 --build=i686-apple-darwin8 --prefix=/usr/local/ada-4.2 --disable-libssp --with-arch=pentium-m --with-tune=prescott --enable-languages=c,ada
Thread model: posix
gcc version 4.2.0 20060409 (experimental)
configure:2231: $? = 0
configure:2233: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2236: $? = 1
configure:2259: checking for C compiler default output file name
configure:2262: gcc -arch x86_64 conftest.c >&5
cc1: error: unrecognized command line option "-arch"
configure:2265: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "swig"
| #define PACKAGE_TARNAME "swig"
| #define PACKAGE_VERSION "1.3.29"
| #define PACKAGE_STRING "swig 1.3.29"
| #define PACKAGE_BUGREPORT "http://www.swig.org"
| #define PACKAGE "swig"
| #define VERSION "1.3.29"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2304: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-apple-darwin11.2.0
ac_cv_build_alias=i686-apple-darwin11.2.0
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-arch x86_64'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-arch x86_64'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_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-apple-darwin11.2.0
ac_cv_host_alias=i686-apple-darwin11.2.0
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /Users/william/devel/new_ros/rx/wxswig/build/SWIG-1.3.29/Tools/config/missing --run aclocal-1.9'
ALLEGROCLBIN=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /Users/william/devel/new_ros/rx/wxswig/build/SWIG-1.3.29/Tools/config/missing --run tar'
AR=''
AUTOCONF='${SHELL} /Users/william/devel/new_ros/rx/wxswig/build/SWIG-1.3.29/Tools/config/missing --run autoconf'
AUTOHEADER='${SHELL} /Users/william/devel/new_ros/rx/wxswig/build/SWIG-1.3.29/Tools/config/missing --run autoheader'
AUTOMAKE='${SHELL} /Users/william/devel/new_ros/rx/wxswig/build/SWIG-1.3.29/Tools/config/missing --run automake-1.9'
AWK='awk'
CC='gcc'
CCDEPMODE=''
CCSHARED=''
CFLAGS='-arch x86_64'
CHICKEN=''
CHICKENHOME=''
CHICKENLIB=''
CHICKENOPTS=''
CHICKENSHAREDLIB=''
CHICKENSHAREDOPTS=''
CHICKEN_CONFIG=''
CHICKEN_CSC=''
CHICKEN_CSI=''
CLISPBIN=''
CPP=''
CPPFLAGS=''
CSHARPCFLAGS=''
CSHARPCILINTERPRETER=''
CSHARPCOMPILER=''
CSHARPCYGPATH_W=''
CSHARPDYNAMICLINKING=''
CSHARPLIBRARYPREFIX=''
CSHARPPATHSEPARATOR=''
CSHARPSO=''
CXX=''
CXXDEPMODE=''
CXXFLAGS='-arch x86_64'
CXXSHARED=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C='ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
EXTRA_CLEAN=''
GCJ=''
GCJH=''
GUILE=''
GUILEINCLUDE=''
GUILELIB=''
GUILELINK=''
GUILE_CONFIG=''
GUILE_GH_INTERFACE=''
GUILE_SCM_INTERFACE=''
GUILE_SO=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
JAVA=''
JAVAC=''
JAVACFLAGS=''
JAVACXXSHARED=''
JAVADYNAMICLINKING=''
JAVAINC=''
JAVALDSHARED=''
JAVALIBRARYPREFIX=''
JAVASO=''
LDFLAGS=''
LDSHARED=''
LIBC=''
LIBCRYPT=''
LIBM=''
LIBOBJS=''
LIBS=''
LINKFORSHARED=''
LTLIBOBJS=''
LUABIN=''
LUADYNAMICLINKING=''
LUAINCLUDE=''
LUALIB=''
LUALIBRARY=''
LUA_SO=''
MAKEINFO='${SHELL} /Users/william/devel/new_ros/rx/wxswig/build/SWIG-1.3.29/Tools/config/missing --run makeinfo'
MZC=''
MZDYNOBJ=''
MZSCHEME=''
MZSCHEME_SO=''
OBJEXT=''
OCAMLBIN=''
OCAMLC=''
OCAMLDLGEN=''
OCAMLFIND=''
OCAMLINC=''
OCAMLMKTOP=''
PACKAGE='swig'
PACKAGE_BUGREPORT='http://www.swig.org'
PACKAGE_NAME='swig'
PACKAGE_STRING='swig 1.3.29'
PACKAGE_TARNAME='swig'
PACKAGE_VERSION='1.3.29'
PATH_SEPARATOR=':'
PERL5CCFLAGS=''
PERL5DYNAMICLINKING=''
PERL5EXT=''
PERL5LIB=''
PERL=''
PHP4=''
PHP4INC=''
PHP4_SO=''
PIKE=''
PIKECCDLFLAGS=''
PIKECONFIG=''
PIKEDYNAMICLINKING=''
PIKEINCLUDE=''
PLATFLAGS=''
PYINCLUDE=''
PYLIB=''
PYLINK=''
PYTHON=''
PYTHONDYNAMICLINKING=''
PYTHON_SO=''
RANLIB=''
ROOT_DIR=''
RPATH=''
RUBY=''
RUBYCCDLFLAGS=''
RUBYDYNAMICLINKING=''
RUBYINCLUDE=''
RUBYLIB=''
RUBYLINK=''
SET_MAKE=''
SHELL='/bin/sh'
SKIP_ALLEGROCL=''
SKIP_CFFI=''
SKIP_CHICKEN=''
SKIP_CLISP=''
SKIP_CSHARP=''
SKIP_GCJ=''
SKIP_GUILE=''
SKIP_GUILESCM=''
SKIP_JAVA=''
SKIP_LUA=''
SKIP_MODULA3=''
SKIP_MZSCHEME=''
SKIP_OCAML=''
SKIP_PERL5=''
SKIP_PHP4=''
SKIP_PIKE=''
SKIP_PYTHON=''
SKIP_RUBY=''
SKIP_TCL=''
SKIP_UFFI=''
SO=''
STRIP=''
SWIGLIBS=''
SWILL=''
TCLDYNAMICLINKING=''
TCLINCLUDE=''
TCLLIB=''
TCL_CXXSHARED=''
TCL_LDSHARED=''
TCL_SO=''
TRYLINKINGWITHCXX=''
VERSION='1.3.29'
XINCLUDES=''
XLIBSW=''
YACC=''
ac_aux_dir='Tools/config'
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-apple-darwin11.2.0'
build_alias=''
build_cpu='i686'
build_os='darwin11.2.0'
build_vendor='apple'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-apple-darwin11.2.0'
host_alias=''
host_cpu='i686'
host_os='darwin11.2.0'
host_vendor='apple'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/Users/william/devel/new_ros/rx/wxswig/build/SWIG-1.3.29/Tools/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='$(install_sh) -d'
oldincludedir='/usr/include'
prefix='/Users/william/devel/new_ros/rx/wxswig'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
swig_lib=''
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "swig"
#define PACKAGE_BUGREPORT "http://www.swig.org"
#define PACKAGE_NAME "swig"
#define PACKAGE_STRING "swig 1.3.29"
#define PACKAGE_TARNAME "swig"
#define PACKAGE_VERSION "1.3.29"
#define VERSION "1.3.29"
configure: exit 77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment