The forum

Requesting new option: choose arch when creating new prefix

Author Replies
pollux Sunday 25 September 2011 at 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

Edited by pollux

Quentin PÂRIS Sunday 25 September 2011 at 17:08
Quentin PÂRIS
Admin

That's weird, POL is by default 32bits built wineversions
pollux Sunday 25 September 2011 at 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

Edited by pollux

Quentin PÂRIS Monday 26 September 2011 at 12:48
Quentin PÂRIS
Admin

What POL version do you have?
pollux Monday 26 September 2011 at 14:53
polluxAnonymous

What POL version do you have?

Quote from Tinou


4.0.12
Quentin PÂRIS Monday 26 September 2011 at 16:53
Quentin PÂRIS
Admin

Is your system wine version 64 bits?
pollux Monday 26 September 2011 at 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 Monday 26 September 2011 at 19:59
Quentin PÂRIS
Admin

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

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

Yep,

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

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