도전2022

wine-1.1.33 소스 컴파일 본문

작업/OvmStart(2010)

wine-1.1.33 소스 컴파일

hotdigi 2009. 12. 17. 10:33

http://www.winehq.org/download/ 에서 소스코드를 다운 받는다. 

Wine User Guide



설치 1 Installing Wine from source

 $ ./configure
 $ make depend
 $ make
 # make install



설치 2

Ubuntu 9.10 | wine 1.1.33 | warhammer 1.3.2

Copy your Warhammer installation folder to the ~/WAR folder, then follow the steps below to get it working!

Most commands are in terminal. (If you do not have preinstalled files, you can create a folder on the desktop with the name WAR. Then copy the data on the DVD’s folders data1 and data2 to ~/WAR.) Some commands will require a sudo to execute with elevated privileges. Start in your ~/Downloads folder for best results.

cp /etc/apt/sources.list /etc/apt/sources.list.backup
echo 'deb-src http://ro.archive.ubuntu.com/ubuntu/ jaunty universe multiverse' | tee -a /etc/apt/sources.list

(Adds repository that allows you to download build-dep wine)

apt-get update
apt-get build-dep wine

(installs all the dependencies in order to build wine from source)

wget http://prdownloads.sourceforge.net/wine/wine-1.1.33.tar.bz2
tar -xjf wine-1.1.33.tar.bz2
cd wine-1.1.33

(Downloads wine source and extracts it, then goes into the folder)

wget http://download227.mediafire.com/vvmtyjz0jjag/i4hycqw5jht/warhack_1.1.33.patch
patch -p0 < warhack_1.1.33.patch

(downloads and applies a fix for a model rendering bug into wine)

wget http://bugs2.winehq.org/attachment.cgi?id=25040 -O winepatch.1.1.34.patch
patch -p0 < winepatch_1.1.34.patch

(downloads and installs a patch for software vertex blending for wine 1.1.34)

./tools/wineinstall
(installs wine)

winecfg
Change Windows Version: Windows XP
(works best with windows xp mode)

wget http://www.kegel.com/wine/winetricks
chmod +x winetricks
./winetricks directx9

(download, set execute permission, then execute directx9 for wine. Install with all default settings.)

sudo apt-get install rng-tools
edit /etc/default/rng-toolsM

add this HRNGDEVICE=/dev/urandom
sudo /etc/init.d/rng-tools start
(increases entropy register, fixes hang at ‘handshaking’ during login)

mv ~/WAR ~/.wine/drive_c/WAR
(moves WAR installation from your home folder to a place wine can see)

d3dx9_34.dll
d3dx9_26.dll
(Copy these dll’s to your ~/.wine/drive_c/WAR folder)

winhttp.dll
(Copy this dll to your ~/.wine/drive_c/windows/system32 folder)

WAR.sh
chmod +x WAR.sh
(Copy this script to your Desktop or wherever you’d like the game launcher. Chmod makes the file executable.)
–OR–
~/.wine/drive_c/WAR/WINEDEBUG=all wine warpatch.bin
(just type this in terminal to play)

For best results, when you enter the game, set the graphics to Fastest Framerate.


테스트

root@hotdigi-desktop:~/src/WineObj# ../wine-1.1.33/configure --prefix="/bin"
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for cpp... cpp
checking for the directory containing the Wine tools... $(TOPOBJDIR)
checking for flex... no
configure: error: no suitable flex found. Please install the 'flex' package.
-> root@hotdigi-desktop:~/src/WineObj# apt-get install flex

configure: error: no suitable bison found. Please install the 'bison' package.
-> root@hotdigi-desktop:~/src/WineObj# apt-get install bison

configure: error: FreeType development files not found. Fonts will not be built.
-> # ../wine-1.1.33/configure --prefix="/bin" --without-freetype
















'작업 > OvmStart(2010)' 카테고리의 다른 글

[err]Option add : -static  (0) 2009.12.17
wine-1.1.33 --prefix="/bin" --without-freetype  (0) 2009.12.17
x86 Linux에서 arm cross-compile  (0) 2009.12.04
qemu-system-arm  (0) 2009.12.04
qemu install on ARM  (0) 2009.11.26