[MacPorts] #30628: C compiler cannot create executables under Lion
MacPorts
noreply at macports.org
Sat Aug 6 19:55:41 PDT 2011
#30628: C compiler cannot create executables under Lion
------------------------------------+---------------------------------------
Reporter: whittaker007@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.1
Keywords: | Port:
------------------------------------+---------------------------------------
Comment(by whittaker007@…):
Replying to [comment:4 ryandesign@…]:
> "C compiler cannot create executables" means [wiki:FAQ#missingxcode
Xcode is not installed correctly]. Note that downloading Xcode from the
App Store only places the Xcode installer into the Applications folder;
you still need to run that installer in order to actually install Xcode.
So please (re-)install Xcode, then clean the port ("sudo port clean
expat") and try again. If that does not help and you get the same message,
attach the config.log so we can see what happened.
OK here's the output of gperf's config.log:
{{{
$ cat
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/gperf/work/gperf-3.0.4/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 configure, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure --prefix=/opt/local --infodir=/opt/local/share/info
## --------- ##
## Platform. ##
## --------- ##
hostname = Scotts-Mac-Air.local
uname -m = x86_64
uname -r = 11.0.0
uname -s = Darwin
uname -v = Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011;
root:xnu-1699.22.73~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
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011;
root:xnu-1699.22.73~1/RELEASE_X86_64
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: 2.00 gigabytes
Default processor set: 105 tasks, 537 threads, 2 processors
Load average: 3.91, Mach factor: 0.30
/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
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1609: checking whether make sets $(MAKE)
configure:1634: result: no
configure:1797: creating ./config.status
configure:2341: error: could not make ./config.status
## ---------------- ##
## Cache variables. ##
## ---------------- ##
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_make_make_set=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\"'
ECHO_C='ECHO_N=''
ECHO_T=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SET_MAKE='MAKE=make'
SHELL='/bin/sh'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/opt/local/share/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/opt/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' lib src tests doc'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
configure: exit 1
}}}
It sounds like it has a problem with make, but make definitely exists:
{{{
which make
/usr/bin/make
}}}
--
Ticket URL: <https://trac.macports.org/ticket/30628#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list