[MacPorts] #14823: Trying to install Cheetah, but get "error: C compiler cannot create executables"

MacPorts trac at macosforge.org
Fri Mar 28 10:05:14 PDT 2008


#14823: Trying to install Cheetah, but get "error: C compiler cannot create
executables"
----------------------------------------+-----------------------------------
  Reporter:  simon at simonwheatley.co.uk  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect                     |      Status:  new                                  
  Priority:  Normal                     |   Milestone:  Port Bugs                            
 Component:  ports                      |     Version:  1.6.0                                
Resolution:                             |    Keywords:                                       
----------------------------------------+-----------------------------------
Comment (by simon at simonwheatley.co.uk):

 {{{
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.

 It was created by configure, which was
 generated by GNU Autoconf 2.59.  Invocation command line was

   $ ./configure --prefix=/opt/local --mandir=/opt/local/share/man

 ## --------- ##
 ## Platform. ##
 ## --------- ##

 hostname = Simon-Wheatleys-Computer.local
 uname -m = i386
 uname -r = 9.2.2
 uname -s = Darwin
 uname -v = Darwin Kernel Version 9.2.2: Tue Mar  4 21:17:34 PST 2008;
 root:xnu-1228.4.31~1/RELEASE_I386

 /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 9.2.2: Tue Mar  4 21:17:34 PST 2008;
 root:xnu-1228.4.31~1/RELEASE_I386
 Kernel configured for up to 2 processors.
 2 processors are physically available.
 2 processors are logically available.
 Processor type: i486 (Intel 80486)
 Processors active: 0 1
 Primary memory available: 4.00 gigabytes
 Default processor set: 112 tasks, 567 threads, 2 processors
 Load average: 3.61, Mach factor: 0.49
 /bin/machine           = unknown
 /usr/bin/oslevel       = unknown
 /bin/universe          = unknown

 PATH: /opt/local/bin
 PATH: /opt/local/sbin
 PATH: /bin
 PATH: /sbin
 PATH: /usr/bin
 PATH: /usr/sbin
 PATH: /usr/X11R6/bin


 ## ----------- ##
 ## Core tests. ##
 ## ----------- ##

 configure:1343: checking for a BSD-compatible install
 configure:1398: result: /usr/bin/install
 configure:1409: checking whether build environment is sane
 configure:1452: result: yes
 configure:1476: WARNING: `missing' script is too old or missing
 configure:1509: checking for gawk
 configure:1525: found /opt/local/bin/gawk
 configure:1535: result: gawk
 configure:1545: checking whether make sets $(MAKE)
 configure:1565: result: yes
 configure:1775: checking for gcc
 configure:1801: result: /usr/bin/gcc-4.0
 configure:2045: checking for C compiler version
 configure:2048: /usr/bin/gcc-4.0 --version </dev/null >&5
 i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367)
 Copyright (C) 2005 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:2051: $? = 0
 configure:2053: /usr/bin/gcc-4.0 -v </dev/null >&5
 Using built-in specs.
 Target: i686-apple-darwin8
 Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure
 --disable-checking -enable-werror --prefix=/usr --mandir=/share/man
 --enable-languages=c,objc,c++,obj-c++ --program-transform-
 name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0
 --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-arch=nocona
 --with-tune=generic --program-prefix= --host=i686-apple-darwin8
 --target=i686-apple-darwin8
 Thread model: posix
 gcc version 4.0.1 (Apple Computer, Inc. build 5367)
 configure:2056: $? = 0
 configure:2058: /usr/bin/gcc-4.0 -V </dev/null >&5
 gcc-4.0: argument to `-V' is missing
 configure:2061: $? = 1
 configure:2084: checking for C compiler default output file name
 configure:2087: /usr/bin/gcc-4.0 -O2 -I/opt/local/include -L/opt/local/lib
 conftest.c  >&5
 /usr/bin/ld: /usr/lib/gcc/i686-apple-
 darwin8/4.0.1/../../../libSystem.dylib unknown flags (type) of section 6
 (__TEXT,__literal16) in load command 0
 collect2: ld returned 1 exit status
 configure:2090: $? = 1
 configure: failed program was:
 | /* confdefs.h.  */
 |
 | #define PACKAGE_NAME ""
 | #define PACKAGE_TARNAME ""
 | #define PACKAGE_VERSION ""
 | #define PACKAGE_STRING ""
 | #define PACKAGE_BUGREPORT ""
 | #define PACKAGE "cheetah"
 | #define VERSION "1.8"
 | /* end confdefs.h.  */
 |
 | int
 | main ()
 | {
 |
 |   ;
 |   return 0;
 | }
 configure:2129: error: C compiler cannot create executables
 See `config.log' for more details.

 ## ---------------- ##
 ## Cache variables. ##
 ## ---------------- ##

 ac_cv_env_CC_set=set
 ac_cv_env_CC_value=/usr/bin/gcc-4.0
 ac_cv_env_CFLAGS_set=set
 ac_cv_env_CFLAGS_value=-O2
 ac_cv_env_CPPFLAGS_set=set
 ac_cv_env_CPPFLAGS_value=-I/opt/local/include
 ac_cv_env_CPP_set=set
 ac_cv_env_CPP_value=/usr/bin/cpp-4.0
 ac_cv_env_LDFLAGS_set=set
 ac_cv_env_LDFLAGS_value=-L/opt/local/lib
 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_prog_AWK=gawk
 ac_cv_prog_ac_ct_CC=/usr/bin/gcc-4.0
 ac_cv_prog_make_make_set=yes

 ## ----------------- ##
 ## Output variables. ##
 ## ----------------- ##

 ACLOCAL='aclocal-1.8'
 AMDEPBACKSLASH=''
 AMDEP_FALSE=''
 AMDEP_TRUE=''
 AMTAR='tar'
 AUTOCONF='autoconf'
 AUTOHEADER='autoheader'
 AUTOMAKE='automake-1.8'
 AWK='gawk'
 CC='/usr/bin/gcc-4.0'
 CCDEPMODE=''
 CFLAGS='-O2'
 CPP='/usr/bin/cpp-4.0'
 CPPFLAGS='-I/opt/local/include'
 CYGPATH_W='echo'
 DEFS=''
 DEPDIR=''
 ECHO_C='ECHO_N=''
 ECHO_T=''
 EGREP=''
 EXEEXT=''
 INSTALL_DATA='${INSTALL} -m 644'
 INSTALL_PROGRAM='${INSTALL}'
 INSTALL_SCRIPT='${INSTALL}'
 INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
 LDFLAGS='-L/opt/local/lib'
 LIBOBJS=''
 LIBS=''
 LTLIBOBJS=''
 MAKEINFO='makeinfo'
 OBJEXT=''
 PACKAGE='cheetah'
 PACKAGE_BUGREPORT=''
 PACKAGE_NAME=''
 PACKAGE_STRING=''
 PACKAGE_TARNAME=''
 PACKAGE_VERSION=''
 PATH_SEPARATOR=':'
 SET_MAKE=''
 SHELL='/bin/sh'
 STRIP=''
 VERSION='1.8'
 ac_ct_CC='/usr/bin/gcc-4.0'
 ac_ct_STRIP=''
 am__fastdepCC_FALSE=''
 am__fastdepCC_TRUE=''
 am__include=''
 am__leading_dot='.'
 am__quote=''
 bindir='${exec_prefix}/bin'
 build_alias=''
 datadir='${prefix}/share'
 exec_prefix='NONE'
 host_alias=''
 includedir='${prefix}/include'
 infodir='${prefix}/info'
 install_sh='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_cheetah/work/cheetah-1.8
 /install-sh'
 libdir='${exec_prefix}/lib'
 libexecdir='${exec_prefix}/libexec'
 localstatedir='${prefix}/var'
 mandir='/opt/local/share/man'
 mkdir_p='$(mkinstalldirs)'
 oldincludedir='/usr/include'
 prefix='/opt/local'
 program_transform_name='s,x,x,'
 sbindir='${exec_prefix}/sbin'
 sharedstatedir='${prefix}/com'
 sysconfdir='${prefix}/etc'
 target_alias=''

 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14823#comment:4>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list