Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Linux - Games This forum is for all discussion relating to gaming in Linux.


  Search this Thread
Old 02-02-2007, 04:00 PM   #1
LQ Newbie
Registered: Feb 2005
Location: Tampere, Finland
Distribution: Fedora Core 6
Posts: 26

Rep: Reputation: 15
Smile How-to: WINE from git tree for Fedora Core 6 running on AMD64 (for HL2)


I had interesting experience with WINE git tree compile. I'm using AMD64 system running Fedora Core 6 with NV GeForce 6600 GT. WINE 0.9.29 is available from Fedora extras and since it seems to run & install Half-Life 2 well enough, I decided to try it out. Unfortunately 0.9.29 won't display Half-Life 2 water reflections properly without messing other objects up. WINE 0.9.30 is not yet available as RPM-package for Fedora Core 6, so I thought to compile current (02 Feb 2007) WINE downloaded from git tree.

As usual, WINE/OpenGL still won't compile out of box on AMD64, so I googled for help and here's my findings:
1) To be sure, install newest drivers provided by NVidia Corporation with 32-bit compatibility libs. This will overwrite some stuff which is installed in Mesa- and some Xorg-packages.
2) Remove WINE 0.9.29.
rpm -qa | grep wine | xargs -p rpm -e
3) You need to add missing symlinks to required libraries on 32-bit side. Otherwise WINE configure will output warning:
configure: WARNING: Wine will be build without OpenGL or Direct3D support
configure: WARNING: because something is wrong with the OpenGL setup:
configure: WARNING: No OpenGL library found on this system.

cd /usr/lib/
ln -s
ln -s
ln -s
4) Install all needed extra packages (like fontforge and freetype-devel, see configure output for needed stuff).

5) You need to instruct WINE configure to use 32-bit and /usr/lib for libraries.
CFLAGS="-m32 -L/usr/lib" LDFLAGS="-L/usr/lib" ./configure --with-x --with-opengl
Check for output and install missing devel-libraries if needed.

NOTE: You can check <wine-source-dir>/include/config.h and grep for OPENGL to check if it's defined.

If configure finishes without warnings, you're ready to go!
make depend && make
Install as root.
make install
NOTE: As new WINE RPM-packages might appear to Fedora extras, keep your compile directory around for 'make uninstall'.

Well, nothing earth-shaking. HL2 and HL2 Episode One will work as before.
Turning on HL2 water reflections will still mess up objects (barrels appear as sort of orange, vortigaunts too, movable wall objects have somewhat weird color). Also frame-rates dive about 30-40% when I turn GLSL on, so eventually I chose to play GLSL turned off.
Let's hope next WINE version will fix this. On the positive side, you can now take HL2 screenshots.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
HL2 Episode 1 and Wine Problem stlpcsolutions Linux - Games 1 03-11-2007 06:41 AM
ATI Radeon Issues on AMD64 Fedora Core 5 meb124 Linux - Hardware 3 08-13-2006 01:26 AM
Steam/hl2 on fedora x86_64? dawn_of_devastation Linux - Games 2 01-15-2006 05:37 PM
Wine and Fedora Core 3 kirtimaan_bkn Linux - Software 2 08-05-2005 10:50 PM
Fedora Core 3, AMD64, & Java ptucker Fedora - Installation 1 03-02-2005 01:17 PM > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 04:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration