个人工具

UbuntuHelp:ContinuumOnFeisty

来自Ubuntu中文

跳转至: 导航, 搜索

<<Include(Tag/Unsupported)>> in order to get Continuum to work on Fiesty, a simple patch must be used to modify the WINE source. Install what you need to compile the WINE source code.<
>

sudo apt-get install build-essential flex bison xlibs-dev x11proto-gl-dev libgl1-mesa-dev fontconfig libfreetype6-dev fontforge checkinstall

Download the WINE source code.<
>

sudo apt-get source wine

Change to WINE source directory<
>

cd wine*

Open the patch file in gEdit (cont.diff).<
>

sudo gedit cont.diff

Copy the following into gedit and save.<
>

diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index 33f9ee1..d50cb7d 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -2460,6 +2464,7 @@ HANDLE WINAPI OpenProcess( DWORD access,
     OBJECT_ATTRIBUTES   attr;
     CLIENT_ID           cid;
 
+if (access & PROCESS_VM_WRITE) return NULL;
     cid.UniqueProcess = (HANDLE)id;
     cid.UniqueThread = 0; /* FIXME ? */

Apply the patch.<
>

sudo cat cont.diff | patch -p1

Configure so your computer is ready to build. (CFLAGS due to Ubuntu bug)<
>

sudo ./configure CFLAGS=-fno-stack-protector

Build<
>

sudo make depend && make

Make a Debian Package and install<
>

sudo checkinstall

Run WINEcfg<
>

winecfg

It is important to run winecfg, select the Drives tab, click C:, Show Advanced, and set the Serial: value to a random number higher than 2000. If you do not, you cannot connect to catid billers, or may cause other issues on the SSC biller. If there is a problem with sound, you may need to switch it to emulation in the sound tab. Now all you need is to download and install Continuum at http://www.getcontinuum.com/