ref. Linux Format DVD 104 April 2008From: stephen cooper (stephencooper96@hotmail.com) I am new to Linux.I have just installed Linux UBUNTU 7.1 (gutsy) onto my computer with no problems. I want to install wine.I have written the source code onto my hard disc. (using tar ) When I run ./configure (.tools/wineinstall) I get an error - C compiler cannot create executables. I am including the output from the config.log for wine installation below. PLEASE ADVISE ME. Stephen Cooper. This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake. It was created by Wine configure 0.9.54, which wasgenerated by GNU Autoconf 2.61. Invocation command line was $ ./configure --verbose ## --------- #### Platform. #### --------- ## hostname = stephen-desktopuname -m = i686uname -r = 2.6.22-14-genericuname -s = Linuxuname -v = #1 SMP Sun Oct 14 23:05:12 GMT 2007 /usr/bin/uname -p = unknown/bin/uname -X = unknown /bin/arch = unknown/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/local/sbinPATH: /usr/local/binPATH: /usr/sbinPATH: /usr/binPATH: /sbinPATH: /binPATH: /usr/games ## ----------- #### Core tests. #### ----------- ## configure:2100: checking build system typeconfigure:2118: result: i686-pc-linux-gnulibc1configure:2140: checking host system typeconfigure:2155: result: i686-pc-linux-gnulibc1configure:2221: checking whether make sets $(MAKE)configure:2242: result: yesconfigure:2299: checking for gccconfigure:2315: found /usr/bin/gccconfigure:2326: result: gccconfigure:2564: checking for C compiler versionconfigure:2571: gcc --version >&5gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)Copyright (C) 2006 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2574: $? = 0configure:2581: gcc -v >&5Using built-in specs.Target: i486-linux-gnuConfigured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnuThread model: posixgcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)configure:2584: $? = 0configure:2591: gcc -V >&5gcc: '-V' option must have argumentconfigure:2594: $? = 1configure:2617: checking for C compiler default output file nameconfigure:2644: gcc conftest.c >&5/usr/bin/ld: crt1.o: No such file: No such file or directorycollect2: ld returned 1 exit statusconfigure:2647: $? = 1configure:2685: result: configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME "Wine"| #define PACKAGE_TARNAME "wine"| #define PACKAGE_VERSION "0.9.54"| #define PACKAGE_STRING "Wine 0.9.54"| #define PACKAGE_BUGREPORT "wine-devel@winehq.org"| /* end confdefs.h. */| | int| main ()| {| | ;| return 0;| }configure:2692: error: C compiler cannot create executablesSee `config.log' for more details. ## ---------------- #### Cache variables. #### ---------------- ## ac_cv_build=i686-pc-linux-gnulibc1ac_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=i686-pc-linux-gnulibc1ac_cv_prog_ac_ct_CC=gccac_cv_prog_make_make_set=yes ## ----------------- #### Output variables. #### ----------------- ## ALSALIBS=''AR=''AS=''AUDIOIOLIBS=''BISON=''BUILTINFLAG=''CARBONLIB=''CC='gcc'CFLAGS=''COREAUDIO=''COREFOUNDATIONLIB=''CPP=''CPPBIN=''CPPFLAGS=''CROSSCC=''CROSSTEST=''CROSSWINDRES=''CRTLIBS=''CXX=''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=''IMPLIBEXT=''INSTALL_DATA=''INSTALL_PROGRAM=''INSTALL_SCRIPT=''IOKITLIB=''LCMSLIBS=''LD=''LDAPLIBS=''LDCONFIG=''LDD=''LDDLLFLAGS=''LDEXECFLAGS=''LDFLAGS=''LDPATH=''LDRPATH_INSTALL=''LDRPATH_LOCAL=''LDSHARED=''LIBDL=''LIBEXT=''LIBOBJS=''LIBPOLL=''LIBPTHREAD=''LIBS=''LINT=''LINTFLAGS=''LN=''LN_S=''LTLIBOBJS=''MAIN_BINARY=''MINGWAR=''NASLIBS=''OBJEXT=''OPENGLFILES=''OPENGL_LIBS=''PACKAGE_BUGREPORT='wine-devel@winehq.org'PACKAGE_NAME='Wine'PACKAGE_STRING='Wine 0.9.54'PACKAGE_TARNAME='wine'PACKAGE_VERSION='0.9.54'PATH_SEPARATOR=':'PKG_CONFIG=''PRELINK=''QUARTZFILES=''RANLIB=''RESOLVLIBS=''SANEINCL=''SECURITYLIB=''SET_MAKE=''SHELL='/bin/bash'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'ac_ct_CXX=''bindir='${exec_prefix}/bin'build='i686-pc-linux-gnulibc1'build_alias=''build_cpu='i686'build_os='linux-gnulibc1'build_vendor='pc'datadir='${datarootdir}'datarootdir='${prefix}/share'docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'dvidir='${docdir}'exec_prefix='NONE'ft_devel=''gphoto2_devel=''gphoto2port_devel=''host='i686-pc-linux-gnulibc1'host_alias=''host_cpu='i686'host_os='linux-gnulibc1'host_vendor='pc'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 "0.9.54"#define PACKAGE_STRING "Wine 0.9.54"#define PACKAGE_BUGREPORT "wine-devel@winehq.org" configure: exit 77 _________________________________________________________________ Get Hotmail on your mobile. Text MSN to 63463 now! http://mobile.uk.msn.com/pc/mail.aspx
stephen cooper escribió:
ref. Linux Format DVD 104 April 2008From: stephen cooper (stephencooper96@hotmail.com) I am new to Linux.I have just installed Linux UBUNTU 7.1 (gutsy) onto my computer with no problems. I want to install wine.I have written the source code onto my hard disc. (using tar ) When I run ./configure (.tools/wineinstall) I get an error - C compiler cannot create executables. I am including the output from the config.log for wine installation below. PLEASE ADVISE ME. Stephen Cooper. This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake. It was created by Wine configure 0.9.54, which wasgenerated by GNU Autoconf 2.61. Invocation command line was
It's good you are trying to build Wine. However, you need to install the appropriate development packages for Ubuntu first. Plain Ubuntu as installed from disks does not ship with enough tools to build any program in C. Also, most recent wine version as of this writing is 0.9.59, so you are already a few versions behind.
You might want to try suscribing to the wine-users mailing list first. That mailing list is more appropriate for people who are starting with Wine and Linux than wine-devel.
On Thu, Apr 17, 2008 at 6:46 AM, stephen cooper stephencooper96@hotmail.com wrote:
ref. Linux Format DVD 104 April 2008 From: stephen cooper (stephencooper96@hotmail.com) I am new to Linux. I have just installed Linux UBUNTU 7.1 (gutsy) onto my computer with no problems.
I want to install wine. I have written the source code onto my hard disc. (using tar ) When I run ./configure (.tools/wineinstall) I get an error - C compiler cannot create executables. I am including the output from the config.log for wine installation below.
PLEASE ADVISE ME.
Take a look at http://wiki.winehq.org/Recommended_Packages for the list of packages needed to build Wine. If you just want to use Wine, there's packages available for Ubuntu: http://www.winehq.org/site/download
--- On Thu, 17/4/08, stephen cooper stephencooper96@hotmail.com wrote: <snipped>
/usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit
<snipped>
Your specific problem is that you are missing crt1.o - that's part of the glibc-dev package, I think. Install that the usual way under ubuntu.
As others has suggested - (1) your question is more appropriate to wine-users, (2) considering using one of the pre-packaged deb packages available from either ubuntu or on winehq, instead of rolling your own, (3) since you don't even have glibc-dev (and your system does not seem to have any developer tools at all, since almost every dev tool depends on this), you need to install a lot of required tools before you attempt doing this again.
___________________________________________________________ Yahoo! For Good helps you make a difference