wine 1.7.26 and previous

Issues related to applications and software problems
Post Reply
krchat
Posts: 39
Joined: 2014/05/06 20:02:31

wine 1.7.26 and previous

Post by krchat » 2014/09/26 21:50:03

I tried this:
http://tecadmin.net/steps-install-wine- ... a-systems/

but:

# cd wine-1.7.26/
[root@localhost wine-1.7.26]# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/usr/src/wine-1.7.26':
configure: error: C compiler cannot create executables
See `config.log' for more details
[root@localhost wine-1.7.26]#

the same result if I use stable version of wine-1.6.2

There's a log for it:

Code: Select all

[root@localhost wine-1.7.26]# cat 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.7.26, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure 

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

hostname = localhost.localdomain
uname -m = x86_64
uname -r = 3.10.0-123.el7.x86_64
uname -s = Linux
uname -v = #1 SMP Mon Jun 30 12:09:22 UTC 2014

/usr/bin/uname -p = x86_64
/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/local/bin
PATH: /usr/local/sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /bin
PATH: /sbin
PATH: /home/stan/.local/bin
PATH: /home/stan/bin


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

configure:3461: checking build system type
configure:3475: result: x86_64-unknown-linux-gnu
configure:3495: checking host system type
configure:3508: result: x86_64-unknown-linux-gnu
configure:3538: checking whether make sets $(MAKE)
configure:3560: result: yes
configure:3617: checking for gcc
configure:3633: found /usr/bin/gcc
configure:3644: result: gcc
configure:3873: checking for C compiler version
configure:3882: gcc --version >&5
gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-16)
Copyright (C) 2013 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:3893: $? = 0
configure:3882: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/lto-wrapper
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-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) 
configure:3893: $? = 0
configure:3882: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3893: $? = 4
configure:3882: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3893: $? = 4
configure:3913: checking whether the C compiler works
configure:3935: gcc    conftest.c  >&5
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
configure:3939: $? = 1
configure:3977: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "1.7.26"
| #define PACKAGE_STRING "Wine 1.7.26"
| #define PACKAGE_BUGREPORT "wine-devel@winehq.org"
| #define PACKAGE_URL "http://www.winehq.org"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3982: error: in `/usr/src/wine-1.7.26':
configure:3984: error: C compiler cannot create executables
See `config.log' for more details

krchat
Posts: 39
Joined: 2014/05/06 20:02:31

Re: wine 1.7.26 and previous

Post by krchat » 2014/09/27 13:15:40

CentOS/RHEL 7 is by intention a "pure" 64 bit distro, and the Wine packages in the EPEL for CentOS/RHEL 7 are pure 64 bit Wine. Most Windows apps are still 32 bit, and require 32 bit libraries and a WoW64 setup to run properly.

The CentOS/RHEL Wine packages are broken by design. Pure 64 bit Wine is not a supported configuration.

The problem has been reported to RedHat, and the response was "There is no chance" they will provide Wine packages with the necessary 32 bit parts. https://bugzilla.redhat.com/show_bug.cgi?id=1117422

Please do not file bugs or AppDB test reports or ask for help on the forum or in IRC if you are using these packages. The RedHat bug report linked above does mention some workarounds various users have tried to install 32 bit Wine. You could also try building Wine yourself, though it is not clear whether CentOS/RHEL has 32 bit packages for all of Wine's dependencies.

Switching to a distro that properly packages Wine is also an option.

https://forum.winehq.org/viewtopic.php?f=8&t=23434

Post Reply

Return to “CentOS 7 - Software Support”