Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wine + amd64 32-bit development files not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
lanthruster
n00b
n00b


Joined: 01 Jan 2012
Posts: 60

PostPosted: Wed Dec 05, 2012 8:59 pm    Post subject: Wine + amd64 32-bit development files not found Reply with quote

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
* ERROR: app-emulation/wine-1.5.6 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 85: Called src_configure
* environment, line 3374: Called do_configure '32' '--with-wine64=../wine64'
* 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'
* phase-helpers.sh, line 467: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =app-emulation/wine-1.5.6',
* the complete build log and the output of 'emerge -pqv =app-emulation/wine-1.5.6'.
* The complete build log is located at '/var/tmp/portage/app-emulation/wine-1.5.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.5.6/temp/environment'.
* S: '/var/tmp/portage/app-emulation/wine-1.5.6/work/wine-1.5.6'
Back to top
View user's profile Send private message
lanthruster
n00b
n00b


Joined: 01 Jan 2012
Posts: 60

PostPosted: Wed Dec 05, 2012 10:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21431

PostPosted: Wed Dec 05, 2012 11:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
lanthruster
n00b
n00b


Joined: 01 Jan 2012
Posts: 60

PostPosted: Thu Dec 06, 2012 1:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum