Finally I found the solution, but it took me a long time.
Firstly I wanted to test new Nvidia beta drivers. I found them on nvidia forum (the official "download" site has only old beta driver) -
http://www.nvnews.net/vbulletin/showthr ... 3&t=119682
Using this tutorial I've managed to uninstall default nvidia modules in Ubuntu 8.04 and download some needed packages -
http://www.nvnews.net/vbulletin/showthr ... 83&t=72490
I restarted the system, stopped X server with
and pressed Ctrl+Alt+F3 to go into runlevel 3, as suggested by the driver installer. Then I cd into a directory where I downloaded the driver and did
Code: Select all
sudo sh NVIDIA-Linux-x86-177.76-pkg1.run
But that was only the beginning. The installer spat out lots of errors. The first ones were
Code: Select all
ERROR: File '/usr/lib/xorg/modules/extensions/libglx.so' is not a symbolic link.
ERROR: Unable to create '/usr/lib/nvidia.libGL.so.1.2.xlibmesa' for copying (no such file or directory).
ERROR: Unable to restore file '/usr/lib/nvidia.libGL.so.1.2.xlibmesa'
and so on. In spite of that, the driver installed successfully.
Then I googled for the first error and found a solution here -
http://ubuntuforums.org/showpost.php?p= ... ostcount=6
I did this
Code: Select all
$ cd /usr/lib/xorg/modules/extensions/
$ sudo ln -s libglx.so.100.14.11 libglx.so
then did "./configure" command once again and this time there was no missing OpenGL library, instead of that - libGLU.
So I tried to install libglu1-mesa-dev and libgl1-mesa-dev through Synaptic, but got an error -
Code: Select all
Unpacking libgl1-mesa-dev (from .../libgl1-mesa-dev_7.0.3~rc2-1ubuntu3_all.deb) ...
dpkg: error processing /var/cache/apt/archives/libgl1-mesa-dev_7.0.3~rc2-1ubuntu3_all.deb (--unpack):
error creating symbolic link `./usr/lib/libGL.so': No such file or directory
So after a lot of fighting with packages dependencies I found this -
https://bugs.launchpad.net/ubuntu/+sour ... bug/231930
I did
Code: Select all
mkdir -p /usr/lib/nvidia
mkdir -p /usr/lib32/nvidia
and it solved my problem.
Thanks to that Wine was compiled with no errors.
Well, almost - now when I go to Winecfg and Sound, I get something like that in Polish:
Code: Select all
"The driver which is configured in the registry is unavailable!
Delete entry "alsa" from the registry?"
There is no Alsa driver to enable, but other works. I will test it more, but do you have any ideas what can I do with it? When I had Wine from deb packages Alsa worked flawlessly.
Edit: Looks like something happened with my libasound2-dev package, because it was installed, but there were no files in /usr/include/alsa. I reinstalled that package, recompiled Wine, reinstalled it and Alsa works.