It might just be that the 2 year old version of Wine you're attempting to use doesn't build with the newer libraries in Hardy.
It might just be that the 2 year old version of Wine you're attempting to use doesn't build with the newer libraries in Hardy.
Ok, I tried something ugly and it compiled.
In a clean source folder, open the file parse.c (in the /dlls/wldap32 folder), and search for line 339 and 420 respectively.
line 339:
line 420 (this one is spread out over 2 lines):ret = ldap_parse_sort_control( ld, controlU, &res, &attrU );
change both into:ret = ldap_parse_vlv_control( ld, controlU, &pos, &count,
(struct berval **)context, errcode );
- Then continue with the howto (creating symlinks, etc). When done compiling, you can create a .deb file using checkinstall:ret = LDAP_SUCCESS;
sudo apt-get install checkinstall
sudo checkinstall --fstrans=no
- On first sight, it appears to work fine (it runs Tomb Raider Legend for example).
Will try this as soon as possible! You're my star
Note: I allready had installed libldap2-dev since the first attempt to compile failed.
Edit: I can not get the uggly warning about libicu away though linking and having installed the lib32icu-dev package.
Is it possible to compile wine 0.9.45 in a virtual OS (Ubuntu 7.04 or 7.10) and install that just created package under hardy or can I be sure it will not work?
Last edited by soxs; May 20th, 2008 at 04:43 PM.
... put your money where your mouth is ...
stop sustaining Microsoft (and its pet named Apple)!
Use the Thanks-button if you feel like!
I tried to reproduce my previous result on a fresh install, and I ran into the same problem again. I tried to reconstruct what I could have done to get it to work, and I think I figured it out mostly.
- To make the libicu warning go away, install lib32icu-dev, and also run:
sudo apt-get build-dep libicu-dev
- Lib32icu-dev installs its stuff into /emul/ia32-linux/usr/lib/. It has both .so and .a files which are needed. Easy way of running configure is like this:
CC="gcc-4.2 -m32" LDFLAGS="-L/emul/ia32-linux/usr/lib/ -L/lib32 -L/usr/lib32 -L`pwd`/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" ./configure -v
I attached a log of what I did after hardy's fresh install (it lists the installed packages, etc.). Note that I see more warnings now when running make (make >makelog.txt) compared to the previous install, so perhaps there's still something missing. Wine appears to run ok though)
I don't know. Running one of the old AMD64 wine debs (http://wine.budgetdedicated.com/archive/index.html) should give an indication if it could be feasible. And I have no idea how the virtual machine will affect the process.Is it possible to compile wine 0.9.45 in a virtual OS (Ubuntu 7.04 or 7.10) and install that just created package under hardy or can I be sure it will not work?
[edit: typos]
Last edited by happyhamster; May 21st, 2008 at 05:58 PM.
BTW, see also this bugreport I just found:
https://bugs.launchpad.net/ubuntu/+s...bs/+bug/218097
So, it seems that, depending on the update-status of your system, the libraries are in /emul/ia32-linux/usr/lib/ or /usr/lib32/
This has gotten way more complicated than I imagined :(
No, line numbers will not change, it just patches dlls/kernel32/cpu.c for phenom support, nothing else.
I am going to try it according to your log..
Note: I can not test how old wine versions work, due to the requirement for patching cpu.c to recognize phenom correctly. That's the only reason I need to compile myself.
EDIT: Compiling according to your log was successfull! Thx a lot!
Last edited by soxs; May 22nd, 2008 at 11:43 AM.
... put your money where your mouth is ...
stop sustaining Microsoft (and its pet named Apple)!
Use the Thanks-button if you feel like!
Have you tried the patch against current Wine? Or does it not apply cleanly?
It is allready included in current wine.
The latest one without the phenom patch was 0.9.58
The bad thing is thath I only need warcraft 3 support, and current versions lack proper acceptex support and the patches ar too wacky to complete a game and hosting is more like russian roulette
Code:From ffbc42fdf48160ef5847c3bc5ce7aa6dca17518e Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= <alexander@kurt.alexstyrt> Date: Sun, 30 Mar 2008 00:44:19 +0100 Subject: [PATCH] kernel32: set processorLevel to cpu family --- dlls/kernel32/cpu.c | 15 +++------------ 1 files changed, 3 insertions(+), 12 deletions(-) diff --git a/dlls/kernel32/cpu.c b/dlls/kernel32/cpu.c index a2ecb34..a49df99 100644 --- a/dlls/kernel32/cpu.c +++ b/dlls/kernel32/cpu.c @@ -454,19 +454,10 @@ VOID WINAPI GetSystemInfo( case 5: cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM; cachedsi.wProcessorLevel= 5; break; - case 6: cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM; - cachedsi.wProcessorLevel= 6; - break; - case 1: /* two-figure levels */ - if (value[1] == '5') - { - cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM; - cachedsi.wProcessorLevel= 6; - break; - } - /* fall through */ + default: - FIXME("unknown cpu family '%s', please report ! (-> setting to 386)\n", value); + cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM; + cachedsi.wProcessorLevel = atoi(value); break; } } -- 1.5.3.7
Last edited by soxs; May 22nd, 2008 at 07:59 PM.
... put your money where your mouth is ...
stop sustaining Microsoft (and its pet named Apple)!
Use the Thanks-button if you feel like!
Bookmarks