Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178810 - app-emulation/wine doesn't autodetect gluLookAt during compilation
Summary: app-emulation/wine doesn't autodetect gluLookAt during compilation
Status: RESOLVED DUPLICATE of bug 171783
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-16 22:27 UTC by Jimmy.Jazz
Modified: 2007-05-19 05:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jimmy.Jazz 2007-05-16 22:27:06 UTC
since 0.9.31 i was unable to compile wine. "configure" is unable to detect libGLU.so library properly.

checking for GL/glu.h... yes
checking for up-to-date OpenGL version... yes
checking for glXCreateContext in -lGL... yes
checking for gluLookAt in -lGLU... no <--------- !

Following the proposal described in http://bugs.winehq.com/show_bug.cgi?id=5124, i was able to compile the latest wine release 0.9.37 again.

I have installed the latest app-emulation/emul-linux-x86-xlibs-10.0
The wine flags were "X alsa cups dbus esd hal jpeg lcms opengl scanner xml -jack -ldap -nas -ncurses -oss"

The following patch has corrected the issue but IMHO, it would be better to patch configure.ac instead. Otherwise you need to apply the patch just after econf in wine-xx.ebuild like that,

[quote]
    econf \
        --sysconfdir=/etc/wine \
        $(use_with ncurses curses) \
        $(use_with opengl) \
        $(use_with X x) \
        || die "configure failed"

    epatch "${FILESDIR}"/wine-libGLU.diff
[/quote]
 
[dirty patch]

--- dlls/opengl32/Makefile      2007-05-16 19:18:29.000000000 +0200
+++ dlls/opengl32/Makefile      2007-05-16 19:18:59.000000000 +0200
@@ -6,7 +6,7 @@
 IMPORTLIB = libopengl32.$(IMPLIBEXT)
 IMPORTS   = user32 gdi32 advapi32 kernel32 ntdll
 EXTRAINCL =
-EXTRALIBS =   -lSM -lICE -lXxf86vm -lXext -lX11  -lGL
+EXTRALIBS =   -lSM -lICE -lXxf86vm -lXext -lX11  -lGL -lGLU

 C_SRCS = \
        opengl_ext.c \

[/dirty patch]

Reproducible: Always

Steps to Reproduce:
1.emerge -av wine
2.
3.




Portage 2.1.2.7 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.21.1-vs2.2.0-rc1 x86_64)
=================================================================
System uname: 2.6.21.1-vs2.2.0-rc1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 16 May 2007 05:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.5-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.12
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
Comment 1 SpanKY gentoo-dev 2007-05-19 05:21:16 UTC

*** This bug has been marked as a duplicate of bug 171783 ***