Hi,
I downloaded wine source from winehq and installed all dependencies as per the
wiki:
http://wiki.winehq.org/WineOn64bit
However when i run ./configure,its displays the following and exits:
Code:
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = localhost.localdomain
uname -m = x86_64
uname -r = 2.6.26.5-45.fc9.x86_64
uname -s = Linux
uname -v = #1 SMP Sat Sep 20 03:23:12 EDT 2008
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/kerberos/sbin
PATH: /usr/lib64/qt-3.3/bin
PATH: /usr/kerberos/bin
PATH: /usr/lib64/ccache
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/real/RealPlayer
PATH: /home/Vsen/bin
PATH: /usr/local/real/RealPlayer
PATH: /usr/local/real/RealPlayer
PATH: /usr/local/real/RealPlayer
PATH: /usr/local/real/RealPlayer
PATH: /usr/local/real/RealPlayer
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2128: checking build system type
configure:2146: result: x86_64-unknown-linux-gnu
configure:2168: checking host system type
configure:2183: result: x86_64-unknown-linux-gnu
configure:2249: checking whether make sets $(MAKE)
configure:2270: result: yes
configure:2327: checking for gcc
configure:2354: result: gcc -m32
configure:2592: checking for C compiler version
configure:2599: gcc -m32 --version >&5
gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8)
Copyright (C) 2008 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:2602: $? = 0
configure:2609: gcc -m32 -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-cpu=generic --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)
configure:2612: $? = 0
configure:2619: gcc -m32 -V >&5
gcc: '-V' must come at the start of the command line
configure:2622: $? = 1
configure:2645: checking for C compiler default output file name
configure:2672: gcc -m32 -fno-tree-pre -fno-tree-fre conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2675: $? = 1
configure:2713: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "1.0.1"
| #define PACKAGE_STRING "Wine 1.0.1"
| #define PACKAGE_BUGREPORT "wine-devel at winehq.org"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2720: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CCC_setac_cv_env_CCC_valueac_cv_env_CC_setac_cv_env_CC_valueac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-fno-tree-pre -fno-tree-fre'
ac_cv_env_CPPFLAGS_setac_cv_env_CPPFLAGS_valueac_cv_env_CPP_setac_cv_env_CPP_valueac_cv_env_CXXFLAGS_setac_cv_env_CXXFLAGS_valueac_cv_env_CXX_setac_cv_env_CXX_valueac_cv_env_LDFLAGS_setac_cv_env_LDFLAGS_valueac_cv_env_LIBS_setac_cv_env_LIBS_valueac_cv_env_XMKMF_setac_cv_env_XMKMF_valueac_cv_env_build_alias_setac_cv_env_build_alias_valueac_cv_env_host_alias_setac_cv_env_host_alias_valueac_cv_env_target_alias_setac_cv_env_target_alias_valueac_cv_host=x86_64-unknown-linux-gnu
ac_cv_prog_ac_ct_CC='gcc -m32'
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ALSALIBS=''
AR=''
ARFLAGS=''
AS='as --32'
AUDIOIOLIBS=''
BISON=''
BUILTINFLAG=''
CARBONLIB=''
CC='gcc -m32'
CFLAGS='-fno-tree-pre -fno-tree-fre'
COREAUDIO=''
COREFOUNDATIONLIB=''
CPP=''
CPPBIN=''
CPPFLAGS=''
CROSSCC=''
CROSSTEST=''
CROSSWINDRES=''
CRTLIBS=''
CXX='g++ -m32'
CXXFLAGS=''
DEFS=''
DEPENDENCIES=''
DISKARBITRATIONLIB=''
DLLEXT=''
DLLFLAGS=''
DLLTOOL=''
DLLWRAP=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ESDCONFIG=''
ESDINCL=''
ESDLIBS=''
EXEEXT=''
EXTRACFLAGS=''
EXTRA_BINARIES=''
FLEX=''
FONTCONFIGINCL=''
FONTFORGE=''
FONTSSUBDIRS=''
FREETYPEINCL=''
FREETYPELIBS=''
GLU32FILES=''
GPHOTO2INCL=''
GPHOTO2LIBS=''
GREP=''
HALINCL=''
ICOTOOL=''
IMPLIBEXT=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
IOKITLIB=''
LCMSLIBS=''
LD='ld -m elf_i386'
LDAPLIBS=''
LDCONFIG=''
LDD=''
LDDLLFLAGS=''
LDEXECFLAGS=''
LDFLAGS=''
LDPATH=''
LDRPATH_INSTALL=''
LDRPATH_LOCAL=''
LDSHARED=''
LIBDL=''
LIBEXT=''
LIBOBJS=''
LIBPOLL=''
LIBPTHREAD=''
LIBS=''
LINT=''
LINTFLAGS=''
LN=''
LN_S=''
LTLIBOBJS=''
MAINTAINER_MODE='#'
MAIN_BINARY=''
MINGWAR=''
NASLIBS=''
OBJEXT=''
OPENGLFILES=''
OPENGL_LIBS=''
PACKAGE_BUGREPORT='wine-devel at winehq.org'
PACKAGE_NAME='Wine'
PACKAGE_STRING='Wine 1.0.1'
PACKAGE_TARNAME='wine'
PACKAGE_VERSION='1.0.1'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PRELINK=''
QUARTZFILES=''
RANLIB=''
RESOLVLIBS=''
RSVG=''
SANEINCL=''
SECURITYLIB=''
SET_MAKE=''
SHELL='/bin/sh'
SOCKETLIBS=''
STRIP=''
TOOLSDIR=''
WIN16_FILES='$(WIN16_FILES)'
WIN16_INSTALL='$(WIN16_INSTALL)'
WINDRES=''
XFILES=''
XLIB=''
XMKMF=''
XML2INCL=''
XML2LIBS=''
XSLTINCL=''
XSLTLIBS=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_AS=''
ac_ct_CC='gcc -m32'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
ft_devel=''
gphoto2_devel=''
gphoto2port_devel=''
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='i386'
host_os='linux-gnu'
host_vendor='unknown'
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. ##
## ----------- ##
#define PACKAGE_NAME "Wine"
#define PACKAGE_TARNAME "wine"
#define PACKAGE_VERSION "1.0.1"
#define PACKAGE_STRING "Wine 1.0.1"
#define PACKAGE_BUGREPORT "wine-devel at winehq.org"
configure: exit 77
This was the stable wine 1.0.1 release.I tried wine 1.1.6 with similar
results.Any idea whats causing this?Installing via wine didn't work for me
as a few programs I had crashed on wine 1.1.5(the current distro in Fedora
repos).Have reported them to bugzilla.
Where is the config.log? Have you looked at it? Could you send it to me off-list because I'm not sure that this list handles attachments. I'm not sure I can help you but I think you've got an old gcc, or you've missed an attachment or two. I used to run Ubuntu 64 and I had a similar problem. Perhaps the config.log will jog my memory. Susan -----Original Message----->From: Vsen <wineforum-user at winehq.org> >Sent: Oct 28, 2008 7:42 AM >To: wine-users at winehq.org >Subject: [Wine] Wine does not compile on Fedora 9 x86_64 > >Hi, >I downloaded wine source from winehq and installed all dependencies as per the wiki: > >http://wiki.winehq.org/WineOn64bit > >However when i run ./configure,its displays the following and exits: > > >Code: >$ ./configure > >## --------- ## >## Platform. ## >## --------- ## > >hostname = localhost.localdomain >uname -m = x86_64 >uname -r = 2.6.26.5-45.fc9.x86_64 >uname -s = Linux >uname -v = #1 SMP Sat Sep 20 03:23:12 EDT 2008 > >/usr/bin/uname -p = unknown >/bin/uname -X = unknown > >/bin/arch = x86_64 >/usr/bin/arch -k = unknown >/usr/convex/getsysinfo = unknown >/usr/bin/hostinfo = unknown >/bin/machine = unknown >/usr/bin/oslevel = unknown >/bin/universe = unknown > >PATH: /usr/kerberos/sbin >PATH: /usr/lib64/qt-3.3/bin >PATH: /usr/kerberos/bin >PATH: /usr/lib64/ccache >PATH: /usr/local/bin >PATH: /usr/bin >PATH: /bin >PATH: /usr/local/real/RealPlayer >PATH: /home/Vsen/bin >PATH: /usr/local/real/RealPlayer >PATH: /usr/local/real/RealPlayer >PATH: /usr/local/real/RealPlayer >PATH: /usr/local/real/RealPlayer >PATH: /usr/local/real/RealPlayer > > >## ----------- ## >## Core tests. ## >## ----------- ## > >configure:2128: checking build system type >configure:2146: result: x86_64-unknown-linux-gnu >configure:2168: checking host system type >configure:2183: result: x86_64-unknown-linux-gnu >configure:2249: checking whether make sets $(MAKE) >configure:2270: result: yes >configure:2327: checking for gcc >configure:2354: result: gcc -m32 >configure:2592: checking for C compiler version >configure:2599: gcc -m32 --version >&5 >gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8) >Copyright (C) 2008 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:2602: $? = 0 >configure:2609: gcc -m32 -v >&5 >Using built-in specs. >Target: x86_64-redhat-linux >Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-cpu=generic --build=x86_64-redhat-linux >Thread model: posix >gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) >configure:2612: $? = 0 >configure:2619: gcc -m32 -V >&5 >gcc: '-V' must come at the start of the command line >configure:2622: $? = 1 >configure:2645: checking for C compiler default output file name >configure:2672: gcc -m32 -fno-tree-pre -fno-tree-fre conftest.c >&5 >/usr/bin/ld: crt1.o: No such file: No such file or directory >collect2: ld returned 1 exit status >configure:2675: $? = 1 >configure:2713: result: >configure: failed program was: >| /* confdefs.h. */ >| #define PACKAGE_NAME "Wine" >| #define PACKAGE_TARNAME "wine" >| #define PACKAGE_VERSION "1.0.1" >| #define PACKAGE_STRING "Wine 1.0.1" >| #define PACKAGE_BUGREPORT "wine-devel at winehq.org" >| /* end confdefs.h. */ >| >| int >| main () >| { >| >| ; >| return 0; >| } >configure:2720: error: C compiler cannot create executables >See `config.log' for more details. > >## ---------------- ## >## Cache variables. ## >## ---------------- ## > >ac_cv_build=x86_64-unknown-linux-gnu >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=set >ac_cv_env_CFLAGS_value='-fno-tree-pre -fno-tree-fre' >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=x86_64-unknown-linux-gnu >ac_cv_prog_ac_ct_CC='gcc -m32' >ac_cv_prog_make_make_set=yes > >## ----------------- ## >## Output variables. ## >## ----------------- ## > >ALSALIBS='' >AR='' >ARFLAGS='' >AS='as --32' >AUDIOIOLIBS='' >BISON='' >BUILTINFLAG='' >CARBONLIB='' >CC='gcc -m32' >CFLAGS='-fno-tree-pre -fno-tree-fre' >COREAUDIO='' >COREFOUNDATIONLIB='' >CPP='' >CPPBIN='' >CPPFLAGS='' >CROSSCC='' >CROSSTEST='' >CROSSWINDRES='' >CRTLIBS='' >CXX='g++ -m32' >CXXFLAGS='' >DEFS='' >DEPENDENCIES='' >DISKARBITRATIONLIB='' >DLLEXT='' >DLLFLAGS='' >DLLTOOL='' >DLLWRAP='' >ECHO_C='' >ECHO_N='-n' >ECHO_T='' >EGREP='' >ESDCONFIG='' >ESDINCL='' >ESDLIBS='' >EXEEXT='' >EXTRACFLAGS='' >EXTRA_BINARIES='' >FLEX='' >FONTCONFIGINCL='' >FONTFORGE='' >FONTSSUBDIRS='' >FREETYPEINCL='' >FREETYPELIBS='' >GLU32FILES='' >GPHOTO2INCL='' >GPHOTO2LIBS='' >GREP='' >HALINCL='' >ICOTOOL='' >IMPLIBEXT='' >INSTALL_DATA='' >INSTALL_PROGRAM='' >INSTALL_SCRIPT='' >IOKITLIB='' >LCMSLIBS='' >LD='ld -m elf_i386' >LDAPLIBS='' >LDCONFIG='' >LDD='' >LDDLLFLAGS='' >LDEXECFLAGS='' >LDFLAGS='' >LDPATH='' >LDRPATH_INSTALL='' >LDRPATH_LOCAL='' >LDSHARED='' >LIBDL='' >LIBEXT='' >LIBOBJS='' >LIBPOLL='' >LIBPTHREAD='' >LIBS='' >LINT='' >LINTFLAGS='' >LN='' >LN_S='' >LTLIBOBJS='' >MAINTAINER_MODE='#' >MAIN_BINARY='' >MINGWAR='' >NASLIBS='' >OBJEXT='' >OPENGLFILES='' >OPENGL_LIBS='' >PACKAGE_BUGREPORT='wine-devel at winehq.org' >PACKAGE_NAME='Wine' >PACKAGE_STRING='Wine 1.0.1' >PACKAGE_TARNAME='wine' >PACKAGE_VERSION='1.0.1' >PATH_SEPARATOR=':' >PKG_CONFIG='' >PRELINK='' >QUARTZFILES='' >RANLIB='' >RESOLVLIBS='' >RSVG='' >SANEINCL='' >SECURITYLIB='' >SET_MAKE='' >SHELL='/bin/sh' >SOCKETLIBS='' >STRIP='' >TOOLSDIR='' >WIN16_FILES='$(WIN16_FILES)' >WIN16_INSTALL='$(WIN16_INSTALL)' >WINDRES='' >XFILES='' >XLIB='' >XMKMF='' >XML2INCL='' >XML2LIBS='' >XSLTINCL='' >XSLTLIBS='' >X_CFLAGS='' >X_EXTRA_LIBS='' >X_LIBS='' >X_PRE_LIBS='' >ac_ct_AS='' >ac_ct_CC='gcc -m32' >ac_ct_CXX='' >bindir='${exec_prefix}/bin' >build='x86_64-unknown-linux-gnu' >build_alias='' >build_cpu='x86_64' >build_os='linux-gnu' >build_vendor='unknown' >datadir='${datarootdir}' >datarootdir='${prefix}/share' >docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' >dvidir='${docdir}' >exec_prefix='NONE' >ft_devel='' >gphoto2_devel='' >gphoto2port_devel='' >host='x86_64-unknown-linux-gnu' >host_alias='' >host_cpu='i386' >host_os='linux-gnu' >host_vendor='unknown' >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. ## >## ----------- ## > >#define PACKAGE_NAME "Wine" >#define PACKAGE_TARNAME "wine" >#define PACKAGE_VERSION "1.0.1" >#define PACKAGE_STRING "Wine 1.0.1" >#define PACKAGE_BUGREPORT "wine-devel at winehq.org" > >configure: exit 77 > > > >This was the stable wine 1.0.1 release.I tried wine 1.1.6 with similar results.Any idea whats causing this?Installing via wine didn't work for me as a few programs I had crashed on wine 1.1.5(the current distro in Fedora repos).Have reported them to bugzilla. > > > > >
Oh,sorry.That is the config.log file I put up(in code tags),not screen output.My gcc version is the latest in the Fedora 9 repositories. I can send u the config.log off list if u pm me how to.I couldn't find a way to attach it in this forum.
Vsen wrote:> Hi, > I downloaded wine source from winehq and installed all dependencies as per the wiki: > > http://wiki.winehq.org/WineOn64bitYou did not install all the required 32-bit packages. Looks like you missing the most important one - the 32-bit gcc.
Gert van den Berg wrote:> Why is the 32-bit version of GCC needed? Doesn't just installing the > libraries needed for cross-compilation (and adding the -m32 or a -b > option for gcc) work?That is what I meant under 32-bit gcc. In most cases it really is a separate binary for cross-compiling installed somewhere into lib dir. I have no idea what all packages are required on FC9.