Het forum

Requesting new option: choose arch when creating new prefix

Auteur Antwoorden
pollux Zondag 25 September 2011 om 16:17
polluxAnonymous

Hi, as in the title I'm requesting to implement the possibility to choose the arch of a new prefix. I'm using a 64bit system and all prefixes follow system arch, but this make some application unable to install/run. F.i. today have tested "Dragon Naturrally Speaking 11": in a 64bit prefix environment installation fails (during installation of visual c++ 9.0 x64), while if I add

export WINEARCH=win32

to /usr/share/playonlinux/playonlinux, it installs, and runs, fine (it installs visual c++ 9.0 x86).

So a per app WINEARCH option should be fine.

Regards

Aangepast door pollux

Quentin PÂRIS Zondag 25 September 2011 om 17:08
Quentin PÂRISAnonymous

That's weird, POL is by default 32bits built wineversions
pollux Zondag 25 September 2011 om 18:23
polluxAnonymous

All my playonlinux.cfg in my prefixes contain this row:

ARCH=amd64

The one in dragon11 (created with WINEARCH=win32) contains

ARCH=x86

EDIT: well, actually not all; steam has ARCH=x86; other prefixes were created without pol scripts, but manually

Aangepast door pollux

Quentin PÂRIS Maandag 26 September 2011 om 12:48
Quentin PÂRISAnonymous

What POL version do you have?
pollux Maandag 26 September 2011 om 14:53
polluxAnonymous

What POL version do you have?

Quote from Tinou


4.0.12
Quentin PÂRIS Maandag 26 September 2011 om 16:53
Quentin PÂRISAnonymous

Is your system wine version 64 bits?
pollux Maandag 26 September 2011 om 18:16
polluxAnonymous

I'm using Chakra Linux 64bit (Archlinux derivate). Wine for the 64bit system is a multilib package (both in Archlinux and Chakra).

In /usr/bin/ there are two wine* executables: wine and wine64:


$ file /usr/bin/wine
/usr/bin/wine: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.27, stripped

$ file /usr/bin/wine64
/usr/bin/wine64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.27, stripped
Quentin PÂRIS Maandag 26 September 2011 om 19:59
Quentin PÂRISAnonymous

Yep, you have a 64bits wineversion. That is why PlayOnLinux makes 64bits prefix
pollux Maandag 26 September 2011 om 22:07
polluxAnonymous

Ok, but is it possible to handle such situation directly on pol during a manual installation?
Quentin PÂRIS Maandag 26 September 2011 om 22:55
Quentin PÂRISAnonymous

Yep,

You could make a feature request on the bug tracker
pollux Dinsdag 27 September 2011 om 12:13
polluxAnonymous

Done: http://www.playonlinux.com/en/issue-474.html