[Wine] Installing, "c compiler cannot create exectuables", Mac OSX

John Keel wineforum-user at winehq.org
Fri Mar 26 18:45:21 CDT 2010


Hey. I'm running Mac OS 10.6.2 with XCode and X11 from the install disc. I'm attempting to install wine 1.1.41.
I've tried the "lightweight method" shown here (http://wiki.winehq.org/MacOSX/Building). The export commands return a blank prompt, which I assume is normal, but the second part returns the error: 

CENSORED$ ./configure --verbose
-bash: ./configure: No such file or directory
CENSORED$ make depend && make
make: *** No rule to make target `depend'.  Stop.
(I copy-pasted the thing, so the newline was interpreted as execute.)

I also tried using the "configure" file in "wine-1.1.41", the wine file I downloaded here (http://ibiblio.org/pub/linux/system/emulators/wine/), which returned: 
$ /Users/CENSORED/Downloads/wine-1.1.41/wine-1.1.41/configure ; exit;
checking build system type... i386-apple-darwin10.2.0
checking host system type... i386-apple-darwin10.2.0
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/Users/CENSORED':
configure: error: C compiler cannot create executables
See `config.log' for more details.
logout

This is 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 Wine configure 1.1.41, which was
generated by GNU Autoconf 2.65.  Invocation command line was

  $ /Users/CENSORED/Downloads/wine-1.1.41/wine-1.1.41/configure 

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

hostname = CENSORED
uname -m = i386
uname -r = 10.2.0
uname -s = Darwin
uname -v = Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386

/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 10.2.0: Tue Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~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: 3.00 gigabytes
Default processor set: 61 tasks, 288 threads, 2 processors
Load average: 1.66, Mach factor: 0.55
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

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


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

configure:2760: checking build system type
configure:2774: result: i386-apple-darwin10.2.0
configure:2794: checking host system type
configure:2807: result: i386-apple-darwin10.2.0
configure:2837: checking whether make sets $(MAKE)
configure:2859: result: yes
configure:2916: checking for gcc
configure:2932: found /usr/bin/gcc
configure:2943: result: gcc
configure:3172: checking for C compiler version
configure:3181: gcc --version >&5
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)
Copyright (C) 2002 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:3192: $? = 0
configure:3181: gcc -v >&5
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)
configure:3192: $? = 0
configure:3181: gcc -V >&5
gcc: `-V' option must have argument
configure:3192: $? = 1
configure:3181: gcc -qversion >&5
gcc: unrecognized option `-qversion'
gcc: no input files
configure:3192: $? = 1
configure:3212: checking whether the C compiler works
configure:3234: gcc    conftest.c  >&5
ld: /usr/lib/libSystem.dylib unknown flags (type) of section 6 (__TEXT,__dof_magmalloc) in load command 0
configure:3238: $? = 1
configure:3276: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "1.1.41"
| #define PACKAGE_STRING "Wine 1.1.41"
| #define PACKAGE_BUGREPORT "wine-devel at winehq.org"
| #define PACKAGE_URL "http://www.winehq.org"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3281: error: in `/Users/CENSORED':
configure:3285: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=i386-apple-darwin10.2.0
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
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=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_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=i386-apple-darwin10.2.0
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

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

ALL_DIRS=''
ALL_DLL_DIRS=''
ALL_IMPORT_LIBS=''
ALL_INSTALL_DIRS=''
ALL_MAKEFILE_DEPENDS=''
ALL_MAKERULES=''
ALL_PROGRAM_BIN_INSTALL_DIRS=''
ALL_PROGRAM_DIRS=''
ALL_STATICLIB_DIRS=''
ALL_STATIC_LIBS=''
ALL_SYMLINKS=''
ALL_TEST_BINARIES=''
ALL_TEST_DIRS=''
ALL_TOOL_DIRS=''
ALL_TOP_DIRS=''
ALL_WINETEST_DEPENDS=''
ALSALIBS=''
AR=''
ARFLAGS=''
AUDIOIOLIBS=''
BISON=''
BUILTINFLAG=''
CARBONLIB=''
CC='gcc'
CFLAGS=''
COREAUDIO=''
COREFOUNDATIONLIB=''
CPP=''
CPPBIN=''
CPPFLAGS=''
CROSSCC=''
CROSSTARGET=''
CROSSTEST=''
CRTLIBS=''
CUPSINCL=''
CXX=''
CXXFLAGS=''
DEFS=''
DISKARBITRATIONLIB=''
DLLEXT=''
DLLFLAGS=''
DLLTOOL=''
DLLWRAP=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
ESDCONFIG=''
ESDINCL=''
ESDLIBS=''
EXEEXT=''
EXTRACFLAGS=''
EXTRA_BINARIES=''
FLEX=''
FONTCONFIGINCL=''
FONTFORGE=''
FREETYPEINCL=''
FREETYPELIBS=''
GNUTLSINCL=''
GPHOTO2INCL=''
GPHOTO2LIBS=''
GREP=''
HALINCL=''
ICOTOOL=''
IMPLIBEXT=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
IOKITLIB=''
LCMSLIBS=''
LDAPLIBS=''
LDCONFIG=''
LDD=''
LDDLLFLAGS=''
LDEXECFLAGS=''
LDFLAGS=''
LDPATH=''
LDRPATH_INSTALL=''
LDRPATH_LOCAL=''
LDSHARED=''
LIBDL=''
LIBEXT=''
LIBKSTAT=''
LIBMPG123=''
LIBOBJS=''
LIBOPENAL=''
LIBPOLL=''
LIBPTHREAD=''
LIBS=''
LINT=''
LINTFLAGS=''
LN_S=''
LTLIBOBJS=''
MAINTAINER_MODE='#'
MAIN_BINARY=''
NASLIBS=''
OBJEXT=''
OPENGL_LIBS=''
PACKAGE_BUGREPORT='wine-devel at winehq.org'
PACKAGE_NAME='Wine'
PACKAGE_STRING='Wine 1.1.41'
PACKAGE_TARNAME='wine'
PACKAGE_URL='http://www.winehq.org'
PACKAGE_VERSION='1.1.41'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PNGINCL=''
PRELINK=''
RANLIB=''
RESOLVLIBS=''
RSVG=''
SANEINCL=''
SECURITYLIB=''
SET_MAKE=''
SHELL='/bin/sh'
SOCKETLIBS=''
STRIP=''
TARGETFLAGS=''
TOOLSDIR=''
TOOLSEXT=''
WOW64_DISABLE=''
XLIB=''
XMKMF=''
XML2INCL=''
XML2LIBS=''
XSLTINCL=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ZLIB=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='i386-apple-darwin10.2.0'
build_alias=''
build_cpu='i386'
build_os='darwin10.2.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
ft_devel=''
gphoto2_devel=''
gphoto2port_devel=''
host='i386-apple-darwin10.2.0'
host_alias=''
host_cpu='i386'
host_os='darwin10.2.0'
host_vendor='apple'
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='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sane_devel=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ------------------- ##
## File substitutions. ##
## ------------------- ##

MAKE_DLL_RULES=''
MAKE_IMPLIB_RULES=''
MAKE_PROG_RULES=''
MAKE_RULES=''
MAKE_TEST_RULES=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "Wine"
#define PACKAGE_TARNAME "wine"
#define PACKAGE_VERSION "1.1.41"
#define PACKAGE_STRING "Wine 1.1.41"
#define PACKAGE_BUGREPORT "wine-devel at winehq.org"
#define PACKAGE_URL "http://www.winehq.org"

configure: exit 77

In case it's important, I only need this for one program (Dwarf Fortress, where the newest version after a multi-year lack of updated versions is finally arriving, but for Windows only for a while).







More information about the wine-users mailing list