You are not logged in.

#1 2007-03-15 16:31:07

newbie1
Member
Registered: 2007-03-15
Posts: 23

Wine on Arch64

Hi Forum,
I tried to make a package of the bin32-wine from AUR.
But after makepkg it says:

--17:28:51--  ftp://ftp.ibiblio.org/pub/linux/distrib … pkg.tar.gz
           => `wine-0.9.27-1.pkg.tar.gz'
Resolving ftp.ibiblio.org... 152.46.7.80
Connecting to ftp.ibiblio.org|152.46.7.80|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/linux/distributions/archlinux/extra/os/i686 ... done.
==> PASV ... done.    ==> RETR wine-0.9.27-1.pkg.tar.gz ...
No such file `wine-0.9.27-1.pkg.tar.gz'.

Can anybody help me to install it ?

Offline

#2 2007-03-15 22:29:54

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Wine on Arch64

It's because Wine is at 0.9.32. You need to edit the PKGBUILD.

There's a better way, but it's a little more involved. Most of the 32 libraries needed for Wine are in Community right now. Two more packages you need can be built from the information provided on this link:

http://bbs.archlinux.org/viewtopic.php?id=27251

There is one more library required now to run Wine cleanly. A simple edit of the of the lib32 PKGBUILDs will install that properly.

I would start by making the PKGBUILD for Wine from the above link, and run makepkg. See what it's complaining about, and install all the of libraries from Community you need. When that's done, make the other PKGBUILD from the link above, and install it. That should give you a running version of Wine. You'll need one more, but get all of this together first and I'll come back if you need help.

---------------------------------------------------------------------------------------------------------

I wrote that when I wasn't at my computer. My current 32 bit libraries are as follows. Note: There are probably some libraries in here that are not required by Wine.

lib32-alsa-lib 1.0.13-1
lib32-ati-fglrx-utils 8.33.6-1
lib32-atk 1.13.2-1
lib32-cairo 1.2.6-1
lib32-expat 2.0.0-1
lib32-fontconfig 2.4.2-1
lib32-freetype2 2.3.1-1
lib32-gcc 4.1.2-3
lib32-glib2 2.12.9-1
lib32-glibc 2.5-4
lib32-gnutls 1.6.1-1
lib32-gtk2 2.10.9-2
lib32-libcups 1.2.7-1
lib32-libdrm 2.3.0-1
lib32-libgcrypt 1.2.3-1
lib32-libgpg-error 1.5-1
lib32-libice 1.0.2-1
lib32-libjpeg 6b-4
lib32-libpng 1.2.16-1
lib32-libsm 1.0.2-1
lib32-libstdc++5 3.3.6-1
lib32-libtasn1 0.3.5-1
lib32-libtiff 3.8.2-3
lib32-libx11 1.1-2
lib32-libxau 1.0.2-1
lib32-libxcursor 1.1.8-1
lib32-libxdmcp 1.0.2-1
lib32-libxext 1.0.3-1
lib32-libxfixes 4.0.3-1
lib32-libxft 2.1.11-2
lib32-libxi 1.1.0-1
lib32-libxinerama 1.0.0-1
lib32-libxml2 2.6.27-1
lib32-libxmu 1.0.3-1
lib32-libxrandr 1.1.2-1
lib32-libxrender 0.9.2-1
lib32-libxslt 1.1.20-1
lib32-libxt 1.0.5-1
lib32-libxxf86vm 1.0.1-1
lib32-lzo2 2.02-1
lib32-mesa 6.5.2-1
lib32-ncurses 5.6-1
lib32-opencdk 0.5.8-1
lib32-pango 1.14.10-1
lib32-qt 3.3.7-1
lib32-readline 5.2-1
lib32-zlib 1.2.3-1

Last edited by skottish (2007-03-16 03:23:57)

Offline

#3 2007-03-16 22:12:56

newbie1
Member
Registered: 2007-03-15
Posts: 23

Re: Wine on Arch64

OK, I thanke you, sckottish. I'll try it and I'll repost how it's working. But it doesn't matter how it will work, thank you for your work and thank you for your efforts for me smile

Offline

#4 2007-03-17 06:55:02

newbie1
Member
Registered: 2007-03-15
Posts: 23

Re: Wine on Arch64

I've made this PKGBUILD:

pkgname=lib32-wine
pkgname32=${pkgname/lib32-/}
pkgver=0.9.32
pkgrel=1
pkgrel32=1
pkgdesc="Emulator of the Windows 3.x and Win32 APIs"
arch=(x86_64)
url="http://www.winehq.org/"
groups=lib32
depends=('lib32-libxxf86vm' 'lib32-libxml2' 'lib32-alsa-lib')
source=(ftp://archlinux.org/current/os/i686/${pkgname32}-${pkgver}-${pkgrel32}.pkg.tar.gz)
#md5sums=('')

install-dir() {
  mkdir -p $2
  rmdir $2
  cp -rPf $1 $2
}

lib32-install() {
  install-dir $startdir/src/$1 $startdir/pkg/opt/lib32/$1
}

build() {
  lib32-install usr
  lib32-install etc

}

But I get this error:

--07:55:02--  ftp://archlinux.org/current/os/i686/wine-0.9.32-1.pkg.tar.gz
           => `wine-0.9.32-1.pkg.tar.gz'
Resolving archlinux.org... 66.211.213.17
Connecting to archlinux.org|66.211.213.17|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /current/os/i686 ... done.
==> PASV ... done.    ==> RETR wine-0.9.32-1.pkg.tar.gz ... 
No such file `wine-0.9.32-1.pkg.tar.gz'.

What's wrong ? sad

Offline

#5 2007-03-17 10:21:04

festgreifaah
Member
Registered: 2006-06-12
Posts: 51

Re: Wine on Arch64

Wine is not in current, but in extra repository.
So you have to change the path to ".../extra/os/i686/..."
There has been a wine update. Now it's "wine-0.9.33-1.pkg.tar.gz".

Offline

#6 2007-03-17 13:59:44

newbie1
Member
Registered: 2007-03-15
Posts: 23

Re: Wine on Arch64

Thank you. The installation worked. Thanks festgreifaah and thanks skottish

But I think I need some instructions how it works.
My shell doesn't know the commands wine or winecfg.
What do I have to type ? Are the commands others because I'm running Arch64 ? What are the commands to run and configure wine ?

Offline

#7 2007-03-17 14:38:34

festgreifaah
Member
Registered: 2006-06-12
Posts: 51

Re: Wine on Arch64

The wine binaries can be found in "/opt/lib32/usr/bin".
You have to add this directory to your PATH environment variable.
I added the following line to my ~/.bashrc

export PATH=$PATH:/opt/lib32/usr/bin

Offline

#8 2007-03-17 14:41:30

newbie1
Member
Registered: 2007-03-15
Posts: 23

Re: Wine on Arch64

Thank you ! It works smile

But something is wrong with my nvidia-drivers. It says that my kernel nvidia drivers are more up to date than my nvidia-drivers-library-version installed. Theres no update (pacman -Suy). I'm confused

Last edited by newbie1 (2007-03-17 14:50:33)

Offline

#9 2007-03-17 14:56:30

newbie1
Member
Registered: 2007-03-15
Posts: 23

Re: Wine on Arch64

I got the driver nvidia-96xx version 1.0.931 installed. Wine says that this is my kernel version but the library-version is 1.0.7184 and I can't start wine if these driver-versions don't match.

I think I have to learn a lot. How can I upgrade the library version of my driver ? pacman also says that 1.0.931 is the version installed.

Offline

#10 2007-03-17 15:37:50

festgreifaah
Member
Registered: 2006-06-12
Posts: 51

Re: Wine on Arch64

Ok, this seems to be something about nvidia-legacy.
I don't know anything about the difference between different nvidia driver versions. I use the standard nvidia package, because I don't know the pros and cons of those other drivers.

In community repository there is a lib32-nvidia-legacy-utils, version number 1.0.784
In extra repository there three different nvidia driver packages.
nvidia
nvidia-96xx and
nvidia-71xx

So, I think you have three options.

First: Use normal nvidia package and lib32-nvidia-utils
Second: use nvidia-71xx package and lib32-nvidia-legacy-utils (version number is 7184)
Third: use nvidia-96xx package and build your own lib32-nvidia-legacy-utils, but I don't know how to do build your own lib32-packages.

Offline

#11 2007-03-17 15:39:42

newbie1
Member
Registered: 2007-03-15
Posts: 23

Re: Wine on Arch64

festgreifaah wrote:

I don't know anything about the difference between different nvidia driver versions. I use the standard nvidia package, because I don't know the pros and cons of those other drivers.

That are other cards. My grafics-card isn't supported by the nvidia-drivers, so I have to use nvidia-96xx

Seems like I got a problem

Last edited by newbie1 (2007-03-17 15:44:30)

Offline

#12 2007-03-17 15:56:39

festgreifaah
Member
Registered: 2006-06-12
Posts: 51

Re: Wine on Arch64

Ok, here is how you can build your own lib32-nvidia-legacy-utils.

Go to http://cvs.archlinux.org/cgi-bin/viewcv … vsroot=AUR

Download PKGBUILD and lib32-nvidia-legacy-utils.install

Edit PKGBUILD.
Change _pkgsourcename to nvidia-96xx-utils
Change pkgver to 1.0.9631
Of course you have to change md5sums or remove it.

No you should be able to build the package.

Offline

#13 2007-03-17 16:32:48

newbie1
Member
Registered: 2007-03-15
Posts: 23

Re: Wine on Arch64

Yes, I could build the package. Thanks for that.
But after the installation of the package pacman says that some libraries have some soname but different type. For example libgl.so.1 in /opt/lib32/usr/ .

What's that ? Wine doesn't give any errors but it doesn't execute the programs I liked to start.

I will be very happy when wine finally works. Then I can deinstall another OS I don't like...

Last edited by newbie1 (2007-03-17 16:41:31)

Offline

#14 2007-03-17 16:43:28

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Wine on Arch64

Did you install lib32-mesa?

Offline

#15 2007-03-17 16:47:50

newbie1
Member
Registered: 2007-03-15
Posts: 23

Re: Wine on Arch64

skottish wrote:

Did you install lib32-mesa?

Now yes. Thanks for that idea. But there is still nothing happening when I type "wine autoplay.exe" in the directory where my warcraft3 cd is mounted (the cd loads a short time, but then nothing is happening)

Any further ideas that could help ?

Offline

#16 2007-03-17 16:54:03

festgreifaah
Member
Registered: 2006-06-12
Posts: 51

Re: Wine on Arch64

Hmm, ...

Could you please list those libGL* files in /opt/lib32/usr/lib?

Btw, when I use wine I get also get a warning:

Error: API mismatch: the NVIDIA kernel module has the version 1.0-9755, but
this client has the version 1.0-9746.  Please make sure that the kernel
module and all NVIDIA driver components have the same version.
NVIDIA: Direct rendering failed; attempting indirect rendering.
Error: API mismatch: the NVIDIA kernel module has the version 1.0-9755, but
this client has the version 1.0-9746.  Please make sure that the kernel
module and all NVIDIA driver components have the same version.
NVIDIA: Direct rendering failed; attempting indirect rendering.

Did you try some simple program? Like "wine notepad"?
-----
Seems I misunderstood something.
Wine is working for simple programs but not for autoplay.exe, right?

Last edited by festgreifaah (2007-03-17 17:09:16)

Offline

#17 2007-03-17 18:12:48

newbie1
Member
Registered: 2007-03-15
Posts: 23

Re: Wine on Arch64

That was the error before I installed the new lib32-utils.
wine notepad works. Seems to be something with the 32bit graphics-drivers, I think

The list:
first file was mentioned above
libGLcore.so.1 and libGLcore.so.1.9631 in /opt/lib32/usr/lib
libnvidia-cfg.so.1 and libnvidia-cfg.so.1.9631 in /opt/lib32/usr/lib
libnvidia-tls.so.1 and libnvidia-tls.so.1.9631 in /opt/lib32/usr/lib

One question: What is a soname ?

Offline

#18 2007-03-17 18:36:55

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Wine on Arch64

newbie1:

http://en.wikipedia.org/wiki/Soname

festgreifaah:

just edit the lib32-nvidia-utils PKGBUILD to reflect the current Nvidia version, and rebuild.

Last edited by skottish (2007-03-17 18:37:22)

Offline

#19 2007-03-17 19:01:32

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Wine on Arch64

The lib32-packages are out of sync. Sorry, I`ll fix this the next days.

Offline

#20 2007-03-21 17:19:35

newbie1
Member
Registered: 2007-03-15
Posts: 23

Re: Wine on Arch64

Pierre wrote:

The lib32-packages are out of sync. Sorry, I`ll fix this the next days.

Hi Pierre,
could you please post here when this is fixed ? Thank You

Offline

#21 2007-03-21 17:28:50

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Wine on Arch64

Hmm, the lib32-nvidia-utils package is still version 9755.

Offline

#22 2007-04-22 01:42:38

KomodoDave
Member
From: Oxford, UK
Registered: 2007-04-22
Posts: 162
Website

Re: Wine on Arch64

I'm not trying to hijack this thread, but rather I want to verify something in case others are also curious:

Should WINE be available through pacman on Arch64?

My pacman is updated, and the 'extra' repository is accessible, but WINE doesn't appear from a search. Am I to understand that a group of custom PKGBUILDs is needed to build WINE on Arch64, as I think the OP implies?

- KD

Offline

#23 2007-04-22 02:05:01

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Wine on Arch64

Yeah, there is no official lib32-wine package for Arch 64. Also, libxslt is a requirement for Wine which there is no official package. lib32-libxslt can be built with:

pkgname=lib32-libxslt
pkgname32=${pkgname/lib32-/}
pkgver=1.1.20
pkgrel=2
pkgrel32=2
pkgdesc="XML stylesheet transformation library"
arch=(x86_64)
url="http://www.xmlsoft.org/"
groups=lib32
depends=('lib32-libxml2' 'lib32-libgcrypt')
source=(ftp://archlinux.org/current/os/i686/${pkgname32}-${pkgver}-${pkgrel32}.pkg.tar.gz)
#md5sums=('')

install-dir() {
  mkdir -p $2
  rmdir $2
  cp -rPf $1 $2
}

lib32-install() {
  install-dir $startdir/src/$1 $startdir/pkg/opt/lib32/$1
}


build() {
  lib32-install usr/lib
  lib32-install usr/bin

}


Then I just download Wine with wget and run pacman -U on it.

Last edited by skottish (2007-04-22 02:05:58)

Offline

#24 2007-04-22 02:10:31

KomodoDave
Member
From: Oxford, UK
Registered: 2007-04-22
Posts: 162
Website

Re: Wine on Arch64

Ok, thanks a lot for that info, skottish.

- KD

Last edited by KomodoDave (2007-04-22 02:10:45)

Offline

#25 2007-04-22 10:02:35

Neverth
Member
From: Finland - Land of taxes
Registered: 2006-05-16
Posts: 45
Website

Re: Wine on Arch64

Im bumping bin32-wine in aur to 0.9.35.


Flying is Trying is Dying

Offline

Board footer

Powered by FluxBB