View previous topic :: View next topic |
Author |
Message |
lanthruster n00b
Joined: 01 Jan 2012 Posts: 60
|
Posted: Wed Dec 05, 2012 8:59 pm Post subject: Wine + amd64 32-bit development files not found |
|
|
32-bit development files not found.
I'm constantly getting errors like:
checking for -lXinerama... not found
configure: error: libxinerama 32-bit development files not found, multi-monitor setups won't be supported.
This is an error since --with-xinerama was requested.
Though I have amd64 with multilib support and have xinerama in /usr/lib32/ folder.
This happens with all wine versions. I can't assemble it.... If I turn off xinerama - the next library will stop wine...
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-emulation/wine-1.5.6/work/wine32/config.log
[31;01m*[0m ERROR: app-emulation/wine-1.5.6 failed (configure phase):
[31;01m*[0m econf failed
[31;01m*[0m
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 85: Called src_configure
[31;01m*[0m environment, line 3374: Called do_configure '32' '--with-wine64=../wine64'
[31;01m*[0m environment, line 989: Called econf '--sysconfdir=/etc/wine' '--with-alsa' '--without-capi' '--with-cms' '--with-cups' '--with-curses' '--with-dbus' '--without-fontconfig' '--with-gnutls' '--without-gphoto' '--without-gsm' '--without-gstreamer' '--without-hal' '--with-jpeg' '--with-ldap' '--with-mpg123' '--with-gettext' '--without-openal' '--without-opencl' '--with-opengl' '--with-openssl' '--with-oss' '--with-png' '--with-pthread' '--without-sane' '--disable-tests' '--with-freetype' '--without-v4l' '--with-x' '--with-xcomposite' '--with-xinerama' '--with-xml' '--with-xslt' '--with-wine64=../wine64'
[31;01m*[0m phase-helpers.sh, line 467: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m die "econf failed"
[31;01m*[0m
[31;01m*[0m If you need support, post the output of 'emerge --info =app-emulation/wine-1.5.6',
[31;01m*[0m the complete build log and the output of 'emerge -pqv =app-emulation/wine-1.5.6'.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/app-emulation/wine-1.5.6/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.5.6/temp/environment'.
[31;01m*[0m S: '/var/tmp/portage/app-emulation/wine-1.5.6/work/wine-1.5.6' |
|
Back to top |
|
|
lanthruster n00b
Joined: 01 Jan 2012 Posts: 60
|
Posted: Wed Dec 05, 2012 10:10 pm Post subject: |
|
|
After hacking configure:
w_c3po wine-1.5.6 # x86_64-pc-linux-gnu-gcc -m32 -o conftest -g -O2 -m32 conftest.c -lXinerama -L/usr/lib -lX11
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libXinerama.so when searching for -lXinerama
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libXinerama.a when searching for -lXinerama
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libX11.so when searching for -lX11
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib32/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib32/libX11.so: undefined reference to `__fdelt_chk@GLIBC_2.15'
collect2: ld returned 1 exit status
The problem is with:
x86_64-pc-linux-gnu-gcc -m32 -o conftest -g -O2 -m32 conftest.c -lXinerama -L/usr/lib -lX11
it should probably be
x86_64-pc-linux-gnu-gcc -m32 -o conftest -g -O2 -m32 conftest.c -lXinerama -L/usr/ -lX11
w_c3po wine-1.5.6 # x86_64-pc-linux-gnu-gcc -m32 -o conftest -g -O2 -m32 conftest.c -lXinerama -lX11
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib32/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib32/libX11.so: undefined reference to `__fdelt_chk@GLIBC_2.15'
collect2: ld returned 1 exit status
The problem is in wine config/autoconf, it's checking the wrong folder for 32bit versions.... May be tomorrow. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Wed Dec 05, 2012 11:12 pm Post subject: |
|
|
The use of -L/usr/lib causes the warning messages, but the underlying problem is elsewhere. If you want to change the -L option, either remove it or point it to a directory which contains x86 libraries. |
|
Back to top |
|
|
lanthruster n00b
Joined: 01 Jan 2012 Posts: 60
|
Posted: Thu Dec 06, 2012 1:21 am Post subject: |
|
|
Hu wrote: | The use of -L/usr/lib causes the warning messages, but the underlying problem is elsewhere. If you want to change the -L option, either remove it or point it to a directory which contains x86 libraries. |
You're right. The problem was with glibc and may be with gcc. After updating to:
glibc
Latest version installed: 2.15-r3
and
gcc
Latest version installed: 4.5.4
the problem disappeared |
|
Back to top |
|
|
|