Wine is wine which is neither on the path nor an executable file ошибка

Стоит alt linux 7.0.0, wine работает, но не хочет устанавливать x64 приложения.
На оф. страничке wine ничего не понятно.
Synaptic выдает, что есть wine-vanilla который вроде как работает с 64 bit приложениями.
при установке выдает:

Зависит от: wine-gecko (= 2.24)
Зависит от: i586-libwine-vanilla (= 1.7.5-alt1)

скачал оба пакета с http://pkgs.org/
wine-gecko не устанавливается.

скачал с pkgs.org все что нашлось по libwine-vanilla x86_64, установил.

не могу найти, что запускать?
по поиску wine-vanilla ничего не нашлось.
там было написано про sisyphus, поставил через synaptic, но тоже не могу его найти.

« Последнее редактирование: 18.05.2014 09:15:31 от maxik »


Записан

С уважением, Максим.



Записан


По этим ссылкам сложно понять ответ именно на этот вопрос. В общем, i586-wine-* запускает только 32-разрядные, а wine-* — соответствующие архитектуре основной системы. Если x86_64, то только x86_64. А вот можно ли установить два wine — вопрос. Боюсь, нет, так как они будут пытаться работать с одним и тем же ~/.wine. Точнее можно, но надо колдовать будет: точно знаю, что team viewer с собой собственный wine таскает.


Записан



Записан

Андрей Черепанов (cas@)


С http://linuxforum.ru/viewtopic.php?pid=394618#p394618
$ env WINEARCH=win64 WINEPREFIX=$HOME/.wine64 winecfg
$ env WINEARCH=win64 WINEPREFIX=$HOME/.wine64 wine <программа.exe>

env: wine-vanilla: Нет такого файла или каталога

не могу запустить wine-vanilla. установил в разном порядке все из synaptic похожее на wine-vanilla.
под рутом тоже wine-vanilla нет.


Записан

С уважением, Максим.


Исполняемый файл – обычный wine.


Записан

Андрей Черепанов (cas@)


Исполняемый файл – обычный wine.

при установке wine-vanilla, wine удаляется. при установке wine, удаляется wine-vanilla.
после переустановок обратно wine работает хуже. :(


Записан

С уважением, Максим.


Удаляйте каждый раз ~/.wine


Записан

Андрей Черепанов (cas@)


xunil

Я извиняюсь, но хочу добавить что в альте видимо имеется ошибка касательно 64-разрядного вайна. Какая? Не знаю. Единственный вариант, запускать в консоли wine64 uninstaller, да и то вероятнее для 64-разрядных приложений годится (что весьма странно). Почему-то папка wow64 пустая в отличие от system32.
И как запустить winetricks?


Записан


Я извиняюсь, но хочу добавить что в альте видимо имеется ошибка касательно 64-разрядного вайна. Какая? Не знаю.

— Видишь суслика ?
— Нет.
— А он есть…

:-)

64-разрядный Wine просто расчитан на исполнение 64-разрядных windows-приложений, которых мало. Не надо его ставить, от слова вообще. Ставить надо i586-wine-*. Правда, установка i586-wine кое-какие 64-разрядные компоненты подтянет, но на это не надо уже внимания обращать.


Записан


как запустить winetricks?

Как обычно.

winetricks в GUI-окне:

$ winetricks

Для winetricks только в shell, help подскажет:

$ winetricks --help
Usage: /usr/bin/winetricks [options] [command|verb|path-to-verb] ...
Executes given verbs.  Each verb installs an application or changes a setting.

Options:
    --force           Don't check whether packages were already installed
    --gui             Show gui diagnostics even when driven by commandline
-k, --keep_isos       Cache isos (allows later installation without disc)
    --no-clean        Don't delete temp directories (useful during debugging)
    --no-isolate      Don't install each app or game in its own bottle
-q, --unattended      Don't ask any questions, just install automatically
-r, --ddrescue        Retry hard when caching scratched discs
    --showbroken      Even show verbs that are currently broken in wine
-v, --verbose         Echo all commands as they are executed
-h, --help            Display this message and exit
-V, --version         Display version and exit

Commands:
list                  list categories
list-all              list all categories and their verbs
apps list             list verbs in category 'applications'
benchmarks list       list verbs in category 'benchmarks'
dlls list             list verbs in category 'dlls'
games list            list verbs in category 'games'
settings list         list verbs in category 'settings'
list-cached           list cached-and-ready-to-install verbs
list-download         list verbs which download automatically
list-manual-download  list verbs which download with some help from the user
list-installed        list already-installed verbs
prefix=foobar         select WINEPREFIX=/home/user/.local/share/wineprefixes/foobar


Посмотреть есть ли он и где лежит:

$ rpm -ql wine |grep winetricks
/usr/bin/winetricks

$ rpm -ql wine-vanilla |grep winetricks

« Последнее редактирование: 22.02.2015 15:06:44 от Speccyfighter »


Записан


xunil

Как обычно.

Это обычно для 32-х битного вайна. А я спрашиваю про вайн64.

Посмотреть есть ли он и где лежит:
Код: [Выделить]

$ rpm -ql wine |grep winetricks
/usr/bin/winetricks

Код: [Выделить]

$ rpm -ql wine-vanilla |grep winetricks

Тогда уж так:

$ rpm -ql wine-vanilla |grep winetricks
/usr/bin/winetricks
А толку то?

$ winetricks
------------------------------------------------------
WINE is wine, which is neither on the path nor an executable file

# strace -o /tmp/winetricks.txt winetricks
------------------------------------------------------
WINE is wine, which is neither on the path nor an executable file


Записан



Записан


xunil

И ещё я не понял вот такую ситуацию:
Выбираю i586-wine-vanilla.32bit (+ i586-libwine-vanilla.32bit / i586-libwine-vanilla-gl.32bit / i586-libwine-vanilla-twain.32bit), а мне ещё синаптик в придачу вот предлагает поставить — libwine-vanilla / libwine-vanilla-gl / libwine-vanilla-twain.


Записан


А толку то?
$ winetricks
------------------------------------------------------
WINE is wine, which is neither on the path nor an executable file

[/code]

i586

$ l /usr/bin/winetricks
-rwxr-xr-x 1 root root 620651 дек 21 17:35 /usr/bin/winetricks

« Последнее редактирование: 22.02.2015 17:04:29 от Speccyfighter »


Записан


kevwcy

Level 1
Level 1
Posts: 9
Joined: Mon Sep 09, 2013 3:22 am

Cannot install .NET Framework 4 in CentOS

Hi guys,

I wanted to install .NET Framework 4 in CentOS 6.4 running 64 bit.

However when I entered the command » winetricks dotnet40″ it shows «WINE is wine,which is neither on the path nor an executable file»

If I install by «wine64 dotNetFx40_x86_x64.exe» there is no response and in Wine Explorer it shows «Internal Error».

So any solutions on them? :(

kevwcy

Level 1
Level 1
Posts: 9
Joined: Mon Sep 09, 2013 3:22 am

Re: Cannot install .NET Framework 4 in CentOS

Post

by kevwcy » Mon Sep 09, 2013 8:10 pm

When I just press winecfg, it showed » exec: wine: not found»

But if run winecfg, notepad,regedit with wine64 before, the apps can be run successfully.

dimesio wrote:What happens when you run wine’s builtin apps (winecfg, notepad, regedit)?

User avatar

dimesio

Moderator
Moderator
Posts: 13163
Joined: Tue Mar 25, 2008 10:30 pm

Re: Cannot install .NET Framework 4 in CentOS

Post

by dimesio » Mon Sep 09, 2013 10:01 pm

It sounds like you only have 64 bit Wine installed. You need a shared WoW64 setup. Where did you get Wine from? If this was a binary package, it should have pulled in the necessary 32 bit parts as a dependency, and you should report the problem to the package maintainer. If you built Wine yourself, follow the instructions in the wiki for building a shared WoW64 setup: http://wiki.winehq.org/Wine64.

kevwcy

Level 1
Level 1
Posts: 9
Joined: Mon Sep 09, 2013 3:22 am

Re: Cannot install .NET Framework 4 in CentOS

Post

by kevwcy » Tue Sep 10, 2013 1:41 am

Just an update

I can use winetricks dotnet40 now but now the following message appear:

load_dotnet40
——————————————————
dotnet40 does not yet fully work or install on wine. Caveat emptor.
——————————————————
Current wine does not have wine bug 30707, so not applying workaround
Executing w_do_call remove_mono
Executing load_remove_mono
——————————————————
Mono does not appear to be installed.
——————————————————
DELETE — HKLMSoftwareMicrosoftNET Framework SetupNDPv4 (null) 0 0 1
The operation completed successfully
Executing rm -f /root/.wine/dosdevices/c:/windows/system32/mscoree.dll
Using native override for following DLLs: mscoree
Executing winetricks_early_wine regedit C:windowsTemp_dotnet40override-dll.reg
ADD — HKLMSoftwareMicrosoftNET Framework SetupNDPv4Full Install 0 REG_DWORD 0001 1
The operation completed successfully
ADD — HKLMSoftwareMicrosoftNET Framework SetupNDPv4Full Version 0 REG_SZ 4.0.30319 1
The operation completed successfully
Current wine does not have wine bug 30707, so not applying workaround
——————————————————
dotnet40 install completed, but installed file /root/.wine/dosdevices/c:/windows/Microsoft.NET/Framework/v4.0.30319/ngen.exe not found

In fact, it seems that .NET 4.0 is not installed properly…

kevwcy

Level 1
Level 1
Posts: 9
Joined: Mon Sep 09, 2013 3:22 am

Re: Cannot install .NET Framework 4 in CentOS

Post

by kevwcy » Wed Sep 11, 2013 5:18 am

dimesio wrote:

kevwcy wrote:
dotnet40 install completed, but installed file /root/.wine/dosdevices/c:/windows/Microsoft.NET/Framework/v4.0.30319/ngen.exe not found

Never run Wine as root. http://wiki.winehq.org/FAQ#run_as_root

Alright, now I have started all over again,using Wine 1.4.1 as default and an account which is not root.

I started to use winetricks dotnet40 or wine DotNetFx40_x86_x64.exe , but after extracting files it kept on showing «Same or higher version of .NET Framework has already been installed on this computer».

I have tried to install under clean 32-bit prefix by WINEARCH=win32 winetricks dotnet40 or even delete .wine folder and the execute » WINEARCH=win32 WINPREFIX=~/.wine winecfg» for setup. Also delete registries etc…..

Any idea on that and Thanks a lot.

p.s. the command window showed the following:

load_dotnet40
——————————————————
dotnet40 does not yet fully work or install on wine. Caveat emptor.
——————————————————
——————————————————
Working around wine bug 30707 — Need to get gacutil.exe
——————————————————
Executing w_do_call remove_mono
Executing load_remove_mono
——————————————————
Mono does not appear to be installed.
——————————————————
DELETE — HKLMSoftwareMicrosoftNET Framework SetupNDPv4 (null) 0 0 1
The operation completed successfully
Executing rm -f /home/kevin/.wine/dosdevices/c:/windows/system32/mscoree.dll
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:process:SetProcessDEPPolicy (3): stub
fixme:clusapi:OpenCluster ((null)) stub!
fixme:clusapi:ClusterOpenEnum (0xdeadbeef, 4) stub!
fixme:clusapi:ClusterEnum (0xdeadbeef, 0, 0x32f860, 0x124d30, 261) stub!
fixme:clusapi:ClusterCloseEnum (0xdeadbeef) stub!
fixme:clusapi:CloseCluster (0xdeadbeef) stub!
fixme:advapi:DecryptFileW L»C:\147c97c36b7058b1573a44a47a\» 00000000
fixme:advapi:RegisterTraceGuidsW (0x6cd15f38, 0x6cd20180, {e2821408-c59d-418f-ad3f-aa4e792aeb79}, 1, 0x33fc90, (null), (null), 0x6cd20188,): stub
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:process:SetProcessDEPPolicy (1): stub
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:advapi:LsaOpenPolicy ((null),0x33f474,0x00000001,0x33f49c) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:msxml:domdoc_putref_schemas (0x16ab50)->({VT_DISPATCH: 0x78df18}): semi-stub
fixme:msxml:domdoc_get_readyState stub! (0x16ab50)->(0x33f3a0)
fixme:advapi:LsaOpenPolicy ((null),0x33f2c0,0x00000001,0x33f2e8) stub
fixme:advapi:LsaClose (0xcafe) stub
Using native override for following DLLs: mscoree
Executing winetricks_early_wine regedit C:windowsTemp_dotnet40override-dll.reg
ADD — HKLMSoftwareMicrosoftNET Framework SetupNDPv4Full Install 0 REG_DWORD 0001 1
The operation completed successfully
ADD — HKLMSoftwareMicrosoftNET Framework SetupNDPv4Full Version 0 REG_SZ 4.0.30319 1
The operation completed successfully
——————————————————
Working around wine bug 30707 — Manually registering assemblies
——————————————————
gacutil.exe
gacutil.exe.config
err:module:import_dll Library mscoree.dll (which is needed by L»C:\windows\temp\_dotnet40\gacutil.exe») not found
err:module:LdrInitializeThunk Main exe initialization for L»C:\windows\temp\_dotnet40\gacutil.exe» failed, status c0000135
err:module:import_dll Library mscoree.dll (which is needed by L»C:\windows\temp\_dotnet40\gacutil.exe») not found
err:module:LdrInitializeThunk Main exe initialization for L»C:\windows\temp\_dotnet40\gacutil.exe» failed, status c0000135
cp: cannot stat `/home/kevin/.wine/dosdevices/c:/windows/Microsoft.NET/Framework/v4.0.30319/System.EnterpriseServices.dll’: No such file or directory
——————————————————
Note: command ‘load_dotnet40’ returned status 1. Aborting.
——————————————————

kevwcy

Level 1
Level 1
Posts: 9
Joined: Mon Sep 09, 2013 3:22 am

Re: Cannot install .NET Framework 4 in CentOS

Post

by kevwcy » Thu Sep 12, 2013 3:45 am

I have got more question with it…

1. Since I cannot execute yum —enablerepo=updates-testing upgrade wine , i download the package through wget, unzip it and install by

./configure —enable-win64 (Force to run it otherwise cannot continue)
make
make install

WINE is now 1.6
However when I pressed wine —version it still in 1.4.1 but wine64 —version gives 1.6

What happened with that?

2.After I deleted wineprefix and create new 32 bit with WINEARCH=win32 winecfg and then I execute winetricks dotnet40, it shows
wine cmd.exe /c echo ‘%ProgramFiles%’ returned unexpanded string ‘%ProgramFiles%’ … can be caused a corrupt wineprefix, an old wine, or by not owning /home/kevin/.wine

Do I need to do something on the Wine Configuration Manager? Since I clicked Add Application, add the .NET application and OK, nothing happens…

and finally the problem still exists.

User avatar

dimesio

Moderator
Moderator
Posts: 13163
Joined: Tue Mar 25, 2008 10:30 pm

Re: Cannot install .NET Framework 4 in CentOS

Post

by dimesio » Thu Sep 12, 2013 7:29 am

kevwcy wrote:
./configure —enable-win64 (Force to run it otherwise cannot continue)
make
make install

You’ve only built 64 bit Wine. That’s not going to be able to run much of anything. You also need to build 32 bit Wine for a WoW64 setup. For that, follow the instructions in the section «Building a shared WoW64 setup (most likely what you want)» on the wine64 wiki page. However, unless you have a 64 bit Windows app you are trying to run, there is no point in building 64 bit Wine at all. It’s much simpler to build 32 bit only.

However when I pressed wine —version it still in 1.4.1 but wine64 —version gives 1.6

You only built wine64, and it also sounds like you failed to uninstall the binary package before installing your version.

kevwcy

Level 1
Level 1
Posts: 9
Joined: Mon Sep 09, 2013 3:22 am

Re: Cannot install .NET Framework 4 in CentOS

Post

by kevwcy » Wed Sep 18, 2013 8:35 pm

dimesio wrote:

kevwcy wrote:
./configure —enable-win64 (Force to run it otherwise cannot continue)
make
make install

You’ve only built 64 bit Wine. That’s not going to be able to run much of anything. You also need to build 32 bit Wine for a WoW64 setup. For that, follow the instructions in the section «Building a shared WoW64 setup (most likely what you want)» on the wine64 wiki page. However, unless you have a 64 bit Windows app you are trying to run, there is no point in building 64 bit Wine at all. It’s much simpler to build 32 bit only.

However when I pressed wine —version it still in 1.4.1 but wine64 —version gives 1.6

You only built wine64, and it also sounds like you failed to uninstall the binary package before installing your version.

I have followed the steps and finally can install Wine in 32 and 64bit. .NET Framework 4.0 was successfully installed under WINEPREFIX=32bit.

So now I have more to ask:

1. Is .NET 4.0 only work on 32-bit and cannot work in 64bit?

2. From above,Does it mean that it is impossible if I want to install a 64-bit application with .NET 4.0? Because error window appeared and show something like » Unhandled page fault on write access to 0x00000007 at address 0x68a3ef7f(thread 002b),starting debugger…»…

Thanks a lot!

User avatar

dimesio

Moderator
Moderator
Posts: 13163
Joined: Tue Mar 25, 2008 10:30 pm

Re: Cannot install .NET Framework 4 in CentOS

Post

by dimesio » Wed Sep 18, 2013 9:21 pm

1. AFAIK, winetricks can only install .NET 4.0 to a 32 bit wineprefix, and even though it does install, it doesn’t work very well.
2. You can’t install a 64 bit app to a 32 bit wineprefix.

Перейти к контенту

kevwcy

Level 1
Level 1
Posts: 9
Joined: Mon Sep 09, 2013 3:22 am

Cannot install .NET Framework 4 in CentOS

Hi guys,

I wanted to install .NET Framework 4 in CentOS 6.4 running 64 bit.

However when I entered the command » winetricks dotnet40″ it shows «WINE is wine,which is neither on the path nor an executable file»

If I install by «wine64 dotNetFx40_x86_x64.exe» there is no response and in Wine Explorer it shows «Internal Error».

So any solutions on them? :(

kevwcy

Level 1
Level 1
Posts: 9
Joined: Mon Sep 09, 2013 3:22 am

Re: Cannot install .NET Framework 4 in CentOS

Post

by kevwcy » Mon Sep 09, 2013 8:10 pm

When I just press winecfg, it showed » exec: wine: not found»

But if run winecfg, notepad,regedit with wine64 before, the apps can be run successfully.

dimesio wrote:What happens when you run wine’s builtin apps (winecfg, notepad, regedit)?

User avatar

dimesio

Moderator
Moderator
Posts: 13142
Joined: Tue Mar 25, 2008 10:30 pm

Re: Cannot install .NET Framework 4 in CentOS

Post

by dimesio » Mon Sep 09, 2013 10:01 pm

It sounds like you only have 64 bit Wine installed. You need a shared WoW64 setup. Where did you get Wine from? If this was a binary package, it should have pulled in the necessary 32 bit parts as a dependency, and you should report the problem to the package maintainer. If you built Wine yourself, follow the instructions in the wiki for building a shared WoW64 setup: http://wiki.winehq.org/Wine64.

kevwcy

Level 1
Level 1
Posts: 9
Joined: Mon Sep 09, 2013 3:22 am

Re: Cannot install .NET Framework 4 in CentOS

Post

by kevwcy » Tue Sep 10, 2013 1:41 am

Just an update

I can use winetricks dotnet40 now but now the following message appear:

load_dotnet40
——————————————————
dotnet40 does not yet fully work or install on wine. Caveat emptor.
——————————————————
Current wine does not have wine bug 30707, so not applying workaround
Executing w_do_call remove_mono
Executing load_remove_mono
——————————————————
Mono does not appear to be installed.
——————————————————
DELETE — HKLMSoftwareMicrosoftNET Framework SetupNDPv4 (null) 0 0 1
The operation completed successfully
Executing rm -f /root/.wine/dosdevices/c:/windows/system32/mscoree.dll
Using native override for following DLLs: mscoree
Executing winetricks_early_wine regedit C:windowsTemp_dotnet40override-dll.reg
ADD — HKLMSoftwareMicrosoftNET Framework SetupNDPv4Full Install 0 REG_DWORD 0001 1
The operation completed successfully
ADD — HKLMSoftwareMicrosoftNET Framework SetupNDPv4Full Version 0 REG_SZ 4.0.30319 1
The operation completed successfully
Current wine does not have wine bug 30707, so not applying workaround
——————————————————
dotnet40 install completed, but installed file /root/.wine/dosdevices/c:/windows/Microsoft.NET/Framework/v4.0.30319/ngen.exe not found

In fact, it seems that .NET 4.0 is not installed properly…

kevwcy

Level 1
Level 1
Posts: 9
Joined: Mon Sep 09, 2013 3:22 am

Re: Cannot install .NET Framework 4 in CentOS

Post

by kevwcy » Wed Sep 11, 2013 5:18 am

dimesio wrote:

kevwcy wrote:
dotnet40 install completed, but installed file /root/.wine/dosdevices/c:/windows/Microsoft.NET/Framework/v4.0.30319/ngen.exe not found

Never run Wine as root. http://wiki.winehq.org/FAQ#run_as_root

Alright, now I have started all over again,using Wine 1.4.1 as default and an account which is not root.

I started to use winetricks dotnet40 or wine DotNetFx40_x86_x64.exe , but after extracting files it kept on showing «Same or higher version of .NET Framework has already been installed on this computer».

I have tried to install under clean 32-bit prefix by WINEARCH=win32 winetricks dotnet40 or even delete .wine folder and the execute » WINEARCH=win32 WINPREFIX=~/.wine winecfg» for setup. Also delete registries etc…..

Any idea on that and Thanks a lot.

p.s. the command window showed the following:

load_dotnet40
——————————————————
dotnet40 does not yet fully work or install on wine. Caveat emptor.
——————————————————
——————————————————
Working around wine bug 30707 — Need to get gacutil.exe
——————————————————
Executing w_do_call remove_mono
Executing load_remove_mono
——————————————————
Mono does not appear to be installed.
——————————————————
DELETE — HKLMSoftwareMicrosoftNET Framework SetupNDPv4 (null) 0 0 1
The operation completed successfully
Executing rm -f /home/kevin/.wine/dosdevices/c:/windows/system32/mscoree.dll
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:process:SetProcessDEPPolicy (3): stub
fixme:clusapi:OpenCluster ((null)) stub!
fixme:clusapi:ClusterOpenEnum (0xdeadbeef, 4) stub!
fixme:clusapi:ClusterEnum (0xdeadbeef, 0, 0x32f860, 0x124d30, 261) stub!
fixme:clusapi:ClusterCloseEnum (0xdeadbeef) stub!
fixme:clusapi:CloseCluster (0xdeadbeef) stub!
fixme:advapi:DecryptFileW L»C:147c97c36b7058b1573a44a47a» 00000000
fixme:advapi:RegisterTraceGuidsW (0x6cd15f38, 0x6cd20180, {e2821408-c59d-418f-ad3f-aa4e792aeb79}, 1, 0x33fc90, (null), (null), 0x6cd20188,): stub
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:process:SetProcessDEPPolicy (1): stub
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:advapi:LsaOpenPolicy ((null),0x33f474,0x00000001,0x33f49c) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:msxml:domdoc_putref_schemas (0x16ab50)->({VT_DISPATCH: 0x78df18}): semi-stub
fixme:msxml:domdoc_get_readyState stub! (0x16ab50)->(0x33f3a0)
fixme:advapi:LsaOpenPolicy ((null),0x33f2c0,0x00000001,0x33f2e8) stub
fixme:advapi:LsaClose (0xcafe) stub
Using native override for following DLLs: mscoree
Executing winetricks_early_wine regedit C:windowsTemp_dotnet40override-dll.reg
ADD — HKLMSoftwareMicrosoftNET Framework SetupNDPv4Full Install 0 REG_DWORD 0001 1
The operation completed successfully
ADD — HKLMSoftwareMicrosoftNET Framework SetupNDPv4Full Version 0 REG_SZ 4.0.30319 1
The operation completed successfully
——————————————————
Working around wine bug 30707 — Manually registering assemblies
——————————————————
gacutil.exe
gacutil.exe.config
err:module:import_dll Library mscoree.dll (which is needed by L»C:windowstemp_dotnet40gacutil.exe») not found
err:module:LdrInitializeThunk Main exe initialization for L»C:windowstemp_dotnet40gacutil.exe» failed, status c0000135
err:module:import_dll Library mscoree.dll (which is needed by L»C:windowstemp_dotnet40gacutil.exe») not found
err:module:LdrInitializeThunk Main exe initialization for L»C:windowstemp_dotnet40gacutil.exe» failed, status c0000135
cp: cannot stat `/home/kevin/.wine/dosdevices/c:/windows/Microsoft.NET/Framework/v4.0.30319/System.EnterpriseServices.dll’: No such file or directory
——————————————————
Note: command ‘load_dotnet40’ returned status 1. Aborting.
——————————————————

kevwcy

Level 1
Level 1
Posts: 9
Joined: Mon Sep 09, 2013 3:22 am

Re: Cannot install .NET Framework 4 in CentOS

Post

by kevwcy » Thu Sep 12, 2013 3:45 am

I have got more question with it…

1. Since I cannot execute yum —enablerepo=updates-testing upgrade wine , i download the package through wget, unzip it and install by

./configure —enable-win64 (Force to run it otherwise cannot continue)
make
make install

WINE is now 1.6
However when I pressed wine —version it still in 1.4.1 but wine64 —version gives 1.6

What happened with that?

2.After I deleted wineprefix and create new 32 bit with WINEARCH=win32 winecfg and then I execute winetricks dotnet40, it shows
wine cmd.exe /c echo ‘%ProgramFiles%’ returned unexpanded string ‘%ProgramFiles%’ … can be caused a corrupt wineprefix, an old wine, or by not owning /home/kevin/.wine

Do I need to do something on the Wine Configuration Manager? Since I clicked Add Application, add the .NET application and OK, nothing happens…

and finally the problem still exists.

User avatar

dimesio

Moderator
Moderator
Posts: 13142
Joined: Tue Mar 25, 2008 10:30 pm

Re: Cannot install .NET Framework 4 in CentOS

Post

by dimesio » Thu Sep 12, 2013 7:29 am

kevwcy wrote:
./configure —enable-win64 (Force to run it otherwise cannot continue)
make
make install

You’ve only built 64 bit Wine. That’s not going to be able to run much of anything. You also need to build 32 bit Wine for a WoW64 setup. For that, follow the instructions in the section «Building a shared WoW64 setup (most likely what you want)» on the wine64 wiki page. However, unless you have a 64 bit Windows app you are trying to run, there is no point in building 64 bit Wine at all. It’s much simpler to build 32 bit only.

However when I pressed wine —version it still in 1.4.1 but wine64 —version gives 1.6

You only built wine64, and it also sounds like you failed to uninstall the binary package before installing your version.

kevwcy

Level 1
Level 1
Posts: 9
Joined: Mon Sep 09, 2013 3:22 am

Re: Cannot install .NET Framework 4 in CentOS

Post

by kevwcy » Wed Sep 18, 2013 8:35 pm

dimesio wrote:

kevwcy wrote:
./configure —enable-win64 (Force to run it otherwise cannot continue)
make
make install

You’ve only built 64 bit Wine. That’s not going to be able to run much of anything. You also need to build 32 bit Wine for a WoW64 setup. For that, follow the instructions in the section «Building a shared WoW64 setup (most likely what you want)» on the wine64 wiki page. However, unless you have a 64 bit Windows app you are trying to run, there is no point in building 64 bit Wine at all. It’s much simpler to build 32 bit only.

However when I pressed wine —version it still in 1.4.1 but wine64 —version gives 1.6

You only built wine64, and it also sounds like you failed to uninstall the binary package before installing your version.

I have followed the steps and finally can install Wine in 32 and 64bit. .NET Framework 4.0 was successfully installed under WINEPREFIX=32bit.

So now I have more to ask:

1. Is .NET 4.0 only work on 32-bit and cannot work in 64bit?

2. From above,Does it mean that it is impossible if I want to install a 64-bit application with .NET 4.0? Because error window appeared and show something like » Unhandled page fault on write access to 0x00000007 at address 0x68a3ef7f(thread 002b),starting debugger…»…

Thanks a lot!

User avatar

dimesio

Moderator
Moderator
Posts: 13142
Joined: Tue Mar 25, 2008 10:30 pm

Re: Cannot install .NET Framework 4 in CentOS

Post

by dimesio » Wed Sep 18, 2013 9:21 pm

1. AFAIK, winetricks can only install .NET 4.0 to a 32 bit wineprefix, and even though it does install, it doesn’t work very well.
2. You can’t install a 64 bit app to a 32 bit wineprefix.

Стоит alt linux 7.0.0, wine работает, но не хочет устанавливать x64 приложения.
На оф. страничке wine ничего не понятно.
Synaptic выдает, что есть wine-vanilla который вроде как работает с 64 bit приложениями.
при установке выдает:

Зависит от: wine-gecko (= 2.24)
Зависит от: i586-libwine-vanilla (= 1.7.5-alt1)

скачал оба пакета с http://pkgs.org/
wine-gecko не устанавливается.

скачал с pkgs.org все что нашлось по libwine-vanilla x86_64, установил.

не могу найти, что запускать?
по поиску wine-vanilla ничего не нашлось.
там было написано про sisyphus, поставил через synaptic, но тоже не могу его найти.

« Последнее редактирование: 18.05.2014 09:15:31 от maxik »


Записан

С уважением, Максим.



Записан


По этим ссылкам сложно понять ответ именно на этот вопрос. В общем, i586-wine-* запускает только 32-разрядные, а wine-* — соответствующие архитектуре основной системы. Если x86_64, то только x86_64. А вот можно ли установить два wine — вопрос. Боюсь, нет, так как они будут пытаться работать с одним и тем же ~/.wine. Точнее можно, но надо колдовать будет: точно знаю, что team viewer с собой собственный wine таскает.


Записан



Записан

Андрей Черепанов (cas@)


С http://linuxforum.ru/viewtopic.php?pid=394618#p394618
$ env WINEARCH=win64 WINEPREFIX=$HOME/.wine64 winecfg
$ env WINEARCH=win64 WINEPREFIX=$HOME/.wine64 wine <программа.exe>

env: wine-vanilla: Нет такого файла или каталога

не могу запустить wine-vanilla. установил в разном порядке все из synaptic похожее на wine-vanilla.
под рутом тоже wine-vanilla нет.


Записан

С уважением, Максим.


Исполняемый файл – обычный wine.


Записан

Андрей Черепанов (cas@)


Исполняемый файл – обычный wine.

при установке wine-vanilla, wine удаляется. при установке wine, удаляется wine-vanilla.
после переустановок обратно wine работает хуже. :(


Записан

С уважением, Максим.


Удаляйте каждый раз ~/.wine


Записан

Андрей Черепанов (cas@)


xunil

Я извиняюсь, но хочу добавить что в альте видимо имеется ошибка касательно 64-разрядного вайна. Какая? Не знаю. Единственный вариант, запускать в консоли wine64 uninstaller, да и то вероятнее для 64-разрядных приложений годится (что весьма странно). Почему-то папка wow64 пустая в отличие от system32.
И как запустить winetricks?


Записан


Я извиняюсь, но хочу добавить что в альте видимо имеется ошибка касательно 64-разрядного вайна. Какая? Не знаю.

— Видишь суслика ?
— Нет.
— А он есть…

:-)

64-разрядный Wine просто расчитан на исполнение 64-разрядных windows-приложений, которых мало. Не надо его ставить, от слова вообще. Ставить надо i586-wine-*. Правда, установка i586-wine кое-какие 64-разрядные компоненты подтянет, но на это не надо уже внимания обращать.


Записан


как запустить winetricks?

Как обычно.

winetricks в GUI-окне:

$ winetricks

Для winetricks только в shell, help подскажет:

$ winetricks --help
Usage: /usr/bin/winetricks [options] [command|verb|path-to-verb] ...
Executes given verbs.  Each verb installs an application or changes a setting.

Options:
    --force           Don't check whether packages were already installed
    --gui             Show gui diagnostics even when driven by commandline
-k, --keep_isos       Cache isos (allows later installation without disc)
    --no-clean        Don't delete temp directories (useful during debugging)
    --no-isolate      Don't install each app or game in its own bottle
-q, --unattended      Don't ask any questions, just install automatically
-r, --ddrescue        Retry hard when caching scratched discs
    --showbroken      Even show verbs that are currently broken in wine
-v, --verbose         Echo all commands as they are executed
-h, --help            Display this message and exit
-V, --version         Display version and exit

Commands:
list                  list categories
list-all              list all categories and their verbs
apps list             list verbs in category 'applications'
benchmarks list       list verbs in category 'benchmarks'
dlls list             list verbs in category 'dlls'
games list            list verbs in category 'games'
settings list         list verbs in category 'settings'
list-cached           list cached-and-ready-to-install verbs
list-download         list verbs which download automatically
list-manual-download  list verbs which download with some help from the user
list-installed        list already-installed verbs
prefix=foobar         select WINEPREFIX=/home/user/.local/share/wineprefixes/foobar


Посмотреть есть ли он и где лежит:

$ rpm -ql wine |grep winetricks
/usr/bin/winetricks

$ rpm -ql wine-vanilla |grep winetricks

« Последнее редактирование: 22.02.2015 15:06:44 от Speccyfighter »


Записан


xunil

Как обычно.

Это обычно для 32-х битного вайна. А я спрашиваю про вайн64.

Посмотреть есть ли он и где лежит:
Код: [Выделить]

$ rpm -ql wine |grep winetricks
/usr/bin/winetricks

Код: [Выделить]

$ rpm -ql wine-vanilla |grep winetricks

Тогда уж так:

$ rpm -ql wine-vanilla |grep winetricks
/usr/bin/winetricks
А толку то?

$ winetricks
------------------------------------------------------
WINE is wine, which is neither on the path nor an executable file

# strace -o /tmp/winetricks.txt winetricks
------------------------------------------------------
WINE is wine, which is neither on the path nor an executable file


Записан



Записан


xunil

И ещё я не понял вот такую ситуацию:
Выбираю i586-wine-vanilla.32bit (+ i586-libwine-vanilla.32bit / i586-libwine-vanilla-gl.32bit / i586-libwine-vanilla-twain.32bit), а мне ещё синаптик в придачу вот предлагает поставить — libwine-vanilla / libwine-vanilla-gl / libwine-vanilla-twain.


Записан


А толку то?
$ winetricks
------------------------------------------------------
WINE is wine, which is neither on the path nor an executable file

[/code]

i586

$ l /usr/bin/winetricks
-rwxr-xr-x 1 root root 620651 дек 21 17:35 /usr/bin/winetricks

« Последнее редактирование: 22.02.2015 17:04:29 от Speccyfighter »


Записан


@KorinFlakes

When attempting to use protontricks to install either foss_corefonts or corefonts (protontricks 644560 foss_corefonts) I recieve this output:

[INFO] Found Steam directory at /home/user/.steam/steam. You can also define Steam directory manually using $STEAM_DIR
[INFO] Winetricks path is set to /home/user/Downloads/protontricks/winetricks
[INFO] Found proton version 3.7. You can also define the proton version manually using $PROTON_VERSION
[INFO] WINESERVER environment variable is not available Setting WINESERVER environment variable to proton bundled version
[INFO] Found 0 Steam library folders
[INFO] Found the prefix directory at /home/user/.steam/steam/steamapps/compatdata/644560/pfx
------------------------------------------------------
WINE is /home/user/.steam/steam/steamapps/common/Proton 3.7/dist/bin/wine, which is neither on the path nor an executable file
------------------------------------------------------

The fonts don’t get installed and as a result, the game is not displaying the needed texts.
I’ve installed wine, winetricks and have steam setup properly to use proton.

@lucifertdark

@Matoking

Had this same problem and running the command manually revealed the following error message:
00b3:err:esync:esync_init Server is running with WINEESYNC but this process is not, please enable WINEESYNC or restart wineserver.

WINEESYNC=1 protontricks ... did the trick, but killall wineserver would probably work as well and be more reliable. Or not, I’m not exactly sure. :P

@ryanmusante

To be sure.

kill -SIGHUP $(pgrep wineserver)

@Sirmentio

I think the answers given here are suitable, I think, trying a newer version of winetricks could work.

По просьбе пользователей РОСЫ, не хотящим сильно гуглить просторы интернета выкладываю пост по установке и настройке WINETRICKS. Итак: первым делом надо знать, что многие программы, устанавливаемые через него требуют наличия cabextract — Он есть в репозиториях и с его установкой проблем быть не должно:
для начала открываем терминал и «поднимаем» права суперпользователя и потом устанавливаем пакет:

теперь непосредственно сам winetricks^

Код: Выделить всё

# wget http://www.kegel.com/wine/winetricks

теперь система обращается по адресу и помещает програмку в папку /home
теперь права суперпользователя нам не нужны и мы выходим из этого режима и далее второй строчкой запустим winetricks

Теперь открывается окно программы, гда по умолчанию отмечен пункт «Select the default wineprefix» здесь нажимаем кнопку «Ok» после чего выдается список, где можно установить DLL-компоненты виндовс (людям недавно перешедшим из виндовс это, думаю, должно быть знакомо), установить шрифты виндовс и т.д. Во втором пункте рекомендую выбрать опцию «allfonts«, которая, судя из названия установит все шрифты виндовс. ну а в первом пункте, под названием «Install a Windows DLL or components» — самое интересное: DirectX, allcodecs, MS.NET и так далее там уже колдуйте и смотрите. В любом случае, вдруг не удачно что-то получилось, всегда можно удалить все установки, выбрав опцию «Delete ALL DATA APPLICATIONS INSIDE THIS WINEPREFIX» — нижняя опция.

‎Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / 4 Gb RAM / NVIDIA GeForce GT 240 / Rosa 2012.1 R5 х86_64

I’m running Arch Linux and I have Pipelight installed for watching Amazon Instant Video. But… I have no sound. Everything passes when running a system check. When trying to run Winetricks to try and solve this issue as described here (https://wiki.archlinux.org/index.php/Pipelight), I get the following error message: «WINE is /opt/wine-compholio/bin/wine, which is neither on the path nor an executable file.» Any ideas?

This thread is archived

New comments cannot be posted and votes cannot be cast

level 1

Well in the code of winetricks:

if ! test -x "$_abswine" || ! test -f "$_abswine"
then
    w_die "WINE is $WINE, which is neither on the path nor an executable file"
fi

It’s looking for the executable file of Wine in $WINE. Is «/opt/wine-compholio/bin/wine» where your wine executable is? Try running «/opt/wine-compholio/bin/wine».

level 1

Are you using the regular wine package from the repositories?

Are you using alsa, oss, pulseaudio?

Also, there’s a pipelight PKGBUILD in the AUR. You might want to try that too or have a look at what the packager does.

level 2

Yes, but no. I have wine from the repos, but pipelight has its own instance. I am using alsa. I’m using the pipelight build from the pipelight repo, saves time from building every update.

level 1

Well…. after a long time trying to figure out what was going on, apparently re-installing Pipelight, setting up a seperate profile for SL under Windows 8.1 compatibility, and making sure it was using alsa and setting it to my headset worked. I guess all I had to do was do the good ole’ re-installation procedure.

18.12.2018

Предполагаю, что на момент написания мана актуальная версия либы, которую вы не можете скачать, была 0.7-1, Нынче есть более свежие версии, рекомендую выбрать вот _ТУТ_ нравящуюся вам версию

19.12.2018

winetricks установил. но при запуске команды /opt/wine-stable/bin/winetricks
получаю ошибку: wineserver not found!

попробовал сделать следующее:
ln -s /opt/wine-stable/bin/winetricks /usr/local/bin/wineserver
получаю следующее сообщение:
WINE is wine, which is neither on the path nor an executable file

Посоветуйте: как исправить ситуацию?

19.12.2018

winetricks установил. но при запуске команды /opt/wine-stable/bin/winetricks
получаю ошибку: wineserver not found!

попробовал сделать следующее:
ln -s /opt/wine-stable/bin/winetricks /usr/local/bin/wineserver
получаю следующее сообщение:
WINE is wine, which is neither on the path nor an executable file

Посоветуйте: как исправить ситуацию?

Как я понял, нужно сначала запустить:
$ winecfg
Вайн создаст директорию .wine в папке пользователя и создаст необходимые в данной директории папки-файлы.
После этого запускайте winetricks:
$sh winetricks
Если не робит, поищите исполняемый файл сначала в домашнем каталоге:
find ~/ -type f -name «*winetricks*»
Или в системе:
find / -type f name «*winetricks*»
И запускайте найденый файл.
Надеюсь, winetricks найдётся и запустится.

19.12.2018

Как я понял, нужно сначала запустить:
$ winecfg
Вайн создаст директорию .wine в папке пользователя и создаст необходимые в данной директории папки-файлы.
После этого запускайте winetricks:
$sh winetricks
Если не робит, поищите исполняемый файл сначала в домашнем каталоге:
find ~/ -type f -name «*winetricks*»
Или в системе:
find / -type f name «*winetricks*»
И запускайте найденый файл.
Надеюсь, winetricks найдётся и запустится.

Так и делаю. winecfg запустил, папка создалась.
файл winetricks в системе находится в папке /opt/wine-stable/bin.
его и запускаю. а при запуске получаю ошибку.

05.02.2019

Добрый день всем. Можно ли Wine 3.0 в официальном репозитории Orel скомпилировать с поддержкой PNG и JPEG на i386 (и может, остальными отсутствующими i386 компонентами)?

При запуске приложения c тридцатидвухбитной архитектурой и вшитыми картинками PNG выдается ошибка «Trying to save PNG picture but PNG support is not compiled in».

03.04.2019

Хочу подать рац. предложение по импортозамещению ПО Windows. Вот как временное решения запустить АРМ управления станционной работой железной дороги на Astra Linux через wine. Если получится то будем пробовать Крымскую ж.д. переводить на новую ОС.

Последнее редактирование: 03.04.2019

vasilisc

05.04.2019

Рекомендую свой скрипт, который для выбранных вами расширений позволит в WINE открывать файлы по ассоциациям родными Linux программами. Проверялся и обкатывался на Astra Linux (Орёл) и Ubuntu 18.04. Но в данном bash-скрипте нет ничего такого, что помешает работать в любом дистрибутиве Linux.

Ассоциации файлов в WINE.

27.05.2019

Здравствуйте. Может кто подскажет: после редактирования файла sources.list под root и перезагрузки системы пропадает доступ к файловой системе и терминалу, как решить эту проблему? (Astra Linux 1.6 SE Smolensk)

27.05.2019

Здравствуйте. Может кто подскажет: после редактирования файла sources.list под root и перезагрузки системы пропадает доступ к файловой системе и терминалу, как решить эту проблему? (Astra Linux 1.6 SE Smolensk)

Писать в тех.поддержку и больше не активировать root, а работать под админом через sudo

Hokku San

27.05.2019

Здравствуйте. Может кто подскажет: после редактирования файла sources.list под root и перезагрузки системы пропадает доступ к файловой системе и терминалу, как решить эту проблему? (Astra Linux 1.6 SE Smolensk)

Если правка списка репозитариев делалась для последующей установки обновлений и затем процесс обновления был выполнен под рутом, то это непременно приводит к неработающей системе.

28.05.2019

Если правка списка репозитариев делалась для последующей установки обновлений и затем процесс обновления был выполнен под рутом, то это непременно приводит к неработающей системе.

Подскажите, пожалуйста, пошагово как установить playonlinux на Astra Linux 1.6 Smolensk SE, чтобы это не приводило к сбою в системе?

CrashBldash

29.05.2019

PoL без подключения к Интернет корректно не установится, т.к. вайн будет качаться с сайта разрабов. Вам можно держать его постоянно подключенным к Интернет? На обычном вайне тоже норм.

30.05.2019

PoL без подключения к Интернет корректно не установится, т.к. вайн будет качаться с сайта разрабов. Вам можно держать его постоянно подключенным к Интернет? На обычном вайне тоже норм.

А зачем интернет постоянно? Действительно, вместе с установкой pol происходит обновление ос, после чего блокируются файловый менеджер и терминал. Что делать с этой проблемой?

Olej

11.06.2019

Хочу подать рац. предложение по импортозамещению ПО Windows. Вот как временное решения запустить АРМ управления станционной работой железной дороги на Astra Linux через wine. Если получится то будем пробовать Крымскую ж.д. переводить на новую ОС.

Очень плохая идея (использовать Wine)!
P.S. Долго пытался сдержаться от ответа … но не мог удержаться от замечания, как разработчик участвовавший в нескольких проектах станционных АСУТП управления напольной ж/д автоматикой под операционной системой QNX (и, временами, программируемыми логическими контроллерами Schnider Electric).

Под Wine нельзя планировать выполнение систем критической надёжности! Wine изначально разрабатывался как система эмуляции для игровых приложений Windows … «свистелки с перделками».
Wine выполняет, всего лишь, эмуляцию системных DLL Windows и просто ничего не гарантирует в любых внештатных ситуаций в выполняемом коде — это игрушка.

Если уж вам так критически и безальтернативно нужно выполнять какое-то уникальное, целевое приложение Windows — выполняйте его в среде какого-то простого в использовании менеджера виртуальных машин в виртуальной машине Windows. Для этого, практически идеально, подходит VirtualBox, первоначально созданный Sun Microsystems, а сейчас подхваченный и развиваемый Oracle. Скорость выполнения ваших Windows приложений виртуальной машине VirtualBox, вопреки распространённому заблуждению, будет практически не ниже нативного выполнения в Windows. А надёжность и бесперебойность приложения будет гарантировано не хуже, чем при нативном выполнении (только ошибки внутри самого Windows или целевого приложения).

P.P.S. Хотя это может быть и другой гипервизор, на ваш вкус … например QEMU & KVM … и др.

Последнее редактирование: 11.06.2019

Olej

11.06.2019

Запустил, winetricks творит чудеса.

Да, winetricks, животворящий, творит чудеса!
С использование winetricks, временами, удаётся запустить то, что в типовом составе Wine не запустится никак.
Только с определённой осторожностью («7 раз отмерь…»), потому что с winetricks можно доустановить такого, что дальше только — сносить Wine полностью и ставить по-новой.

В минус то, что winetricks лчень плохо описан.
Здесь вот есть кое-какие эксперименты с winetricks — может кому пригодится для разбирательства: доустановки в Wine (ну, и там по соседству в темах есть про winetricks).

27.12.2019

Устанавливал Wine на Astra Linux Special Edition Смоленск 1.6 по этой ссылке https://wiki.astralinux.ru/pages/viewpage.action?pageId=27362502.
Компьютер без доступа к интернету.
После этой команды sudo dpkg -i libmspack0_0.5-1+deb9u2_amd64.deb cabextract_1.6-1_amd64.deb
видно что процесс идет, но нет сообщения что завершено, не знаю может так и должно быть. Все остальные команды проходят нормально.
Когда ввожу команду winetricks , пишет что ошибка интерпретатора и окошко с выбором библиотек не запускается. Может ли это быть из-за того, что недоустановился libmspack0_0.5.. или может это из-за отсутствия подключения к интернету?
И еще вопрос, даже если удастся запустить winetricks , будет ли он устанавливать разные библиотеки при отсутствии интернета?

31.12.2019

ПОдскажите еще, как установить Wine сразу для всех пользователей (учетных записей, которые есть в системе), а не только для суперпользователя?

31.12.2019

ПОдскажите еще, как установить Wine сразу для всех пользователей (учетных записей, которые есть в системе), а не только для суперпользователя?

Сам пакет wine ставится для всех. Но придется под каждым отдельно ставить проги в него.
Как вариант (но реально ли такое сделать? Хз): установить прогу через wine не в домашний каталог пользователя, а в отдельный каталог, к которому будут иметь доступ все пользователи.

Доброй всем ночи, духи онлайна.

Задачка запустить из под Убунты хитрое приложение под x64(я вменяем приложение тоже под х64). Установка из исходников не катит, ибо вине патчить необходимо.

Есть

lsb_release -a,
No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu 14.04.2 LTS
Release:   14.04
Codename:   trusty.

Собрал в изолированной среде того же точно дистрибутива такой же разрядности(побоялся экспериментировать на основной системе) wine-1.7.4 под х64. Установил кашерными методами в основной системе, но терминал на команду wine упорно говорит не найдено.

whereis winewine: /usr/lib64/wine /usr/include/wine /usr/share/wine /usr/share/man/man1/wine.1.gz

Внезапно оказалось что терминал откликается на команду wine64,поиск дал следующее.

whereis wine64wine64: /usr/bin/wine64 /usr/bin/X11/wine64

wine64Usage: wine PROGRAM [ARGUMENTS…]   Run the specified program
       wine —help                   Display this help and exit
       wine —version                Output version information and exit

Скачал winetricks из http://www.kegel.com/wine/winetricks.
и при запуске оно мне выдает:

winetricks——————————————————
WINE is wine, which is neither on the path nor an executable file
——————————————————
Если я все верно понимаю в скрипте winetricks пути прописаны до wine, пробовал вручную менять… не помогло.

Вопросы дня:
1)есть ли в природе такой же скрипт, как winetricks, но под мои условия(где?).
2)Возможно где-то при компиляции что-то можно было указать?(что бы установить в дефолтные папки)
3)Возможно ли поправить ситуацию симлинками?

Приблизил название темы к сути проблемы.
—maks05


Description


John Smith


2017-01-26 10:30:32 UTC

Executing winetricks results into just this text showing up in terminal:

------------------------------------------------------
WINE is wine, which is neither on the path nor an executable file
------------------------------------------------------

Instead, there should appear a window with configs.

https://github.com/Winetricks/winetricks/issues/679 seems related and I have zenity-3.18.0. I would upgrade it to a newer version, as suggested in that issue on github, but this is the latest available one in the FreeBSD ports system.


Comment 1


Nikolai Lifanov


freebsd_committer


2017-02-11 18:04:19 UTC

Hi!

The winetricks port requires a wine port installed.
It doesn't depend on any specific port so that all versions of wine are usable.

Per pkg-message, can you try installing either wine, wine-devel, or wine-staging please?


Comment 2


John Smith


2017-02-12 00:08:47 UTC

(In reply to Nikolai Lifanov from comment #1)
pkg info | grep wine
wine-devel-2.1,1               Microsoft Windows compatibility environment
wine-gecko-devel-2.47          Gecko Layout Engine for Wine development branch (HTML support)
wine-mono-devel-4.6.4          Mono .NET implementation for Wine development branch (HTML support)
winetricks-20170207            Easy way to work around problems in Wine

winetricks probably just needs a fresher zenity than it is available in the ports.


Comment 3


John Smith


2017-02-12 00:11:37 UTC

Or winetricks fails to find wine64 binary:

whereis wine64
wine64: /usr/local/bin/wine64
echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin


Comment 4


Nikolai Lifanov


freebsd_committer


2017-02-12 16:35:53 UTC

Can you try this with one of the i386-wine ports, like i386-wine-devel?


Comment 5


John Smith


2017-02-12 16:42:56 UTC

(In reply to Nikolai Lifanov from comment #4)
Yeah, it works with i386-wine-devel.


Comment 6


Nikolai Lifanov


freebsd_committer


2017-02-13 14:50:57 UTC

I think this is a documentation bug in this case.
I would like to change pkg-message to add i386- to package names.


Comment 7


John Smith


2017-02-13 16:11:50 UTC

(In reply to Nikolai Lifanov from comment #6)
does it mean that winetricks doesn't work with 64-bit wine?


Comment 8


Nikolai Lifanov


freebsd_committer


2017-02-13 16:18:59 UTC

I don't think FreeBSD wine has WoW64 support, which would be required for many of the scripts provided by winetricks, so for now only 32 bit wine would work.

LiveZilla

Author Replies
johnselekta Wednesday 22 August 2012 at 11:02
johnselektaAnonymous

Hi guys I’m trying to get LiveZilla 3.3.2.2 working with PlayOnMac, and have almost got it. All I need is the Microsoft Data Access Components library (MDAC 2.8).

I know I can use Winetricks (which is on my desktop) to install using the following command:

sh /Users/<me>/Desktop/winetricks mdac28

I get the following message, which I guess is because I don’t know enough about my Wine location in Lion:

WINE is wine, which is neither on the path nor an executable file

Installation fails from a basic double click installation so winetricks is necessary. Can anyone tell me the wine location on Mac OS X Lion? Also if anyone installed anything via Winetricks in Lion, please let me know how you did it!

Thanks guys.

Quentin PÂRIS Wednesday 22 August 2012 at 11:08
Quentin PÂRISAnonymous

I’ve added mdac28 in configure -> Package list

johnselekta Wednesday 22 August 2012 at 12:17
johnselektaAnonymous

Thanks, how do I access this? Do I just update my PlayOnMac version, or can i refresh something? its not visible on my version 4.1.6

johnselekta Wednesday 22 August 2012 at 12:34
johnselektaAnonymous

I’ve added mdac28 in configure -> Package list

OK so that was a painless upgrade, thanks!

But — I’m getting a checksum fail when installing mdac28 and cannot continue. Any ideas?

Quentin PÂRIS Wednesday 22 August 2012 at 14:17
Quentin PÂRISAnonymous

Fixed

johnselekta Wednesday 22 August 2012 at 16:25
johnselektaAnonymous

Cheers, I have it now. But it turns out mdac completely kills LiveZilla now and won’t even run, even though its a requirement! Bah. Back to the drawing board I suppose!

Quentin PÂRIS Wednesday 22 August 2012 at 17:41
Quentin PÂRISAnonymous

Run winecfg, and set OS back to winxp

Quentin PÂRIS Thursday 23 August 2012 at 11:05
Quentin PÂRISAnonymous

I’m working on it.

johnselekta Friday 24 August 2012 at 14:55
johnselektaAnonymous

Well I think you fixed whatever you were working on! I can now run it. Just one last thing (I think)!
upon logging in to LiveZilla:

Exception from HRESULT: 0x80040154(REGDB_E_CLASSNOTREG)

I gather this is from Office Web Components (OWC) not being available. I’m gonna see whats about.

Once it works I will post a full list of what I did to get this working for anyone else out there. It can be done, I’ve seen the odd success story around.

And thanks so much for this! Its a great forum Quentin, nice to see a maintained one now and again!

Quentin PÂRIS Friday 24 August 2012 at 15:41
Quentin PÂRISAnonymous

Well, after some tests, LiveZilla seems to be very broken with wine …


View Full Version : Trouble running winetricks


DarrenVortex

March 15th, 2013, 09:12 PM

Hi,
I recently switched to Ubuntu 32-bit and am trying to run some windows-specific programs using Wine. I had to patch the source a bit and compile wine myself, and it all went well but right now I’m trying to run winetricks (which I assumed is part of the source I compiled), and I get the following prompts:
«WINE is wine, which is neither on the path nor an executable file» -> when I am in the wine source directory, where I compiled it.
«wineserver not found!» -> when I’m anywhere else.
running «wine» itself works fine when I’m in the source directory but anywhere else, it’s not found.
I’m also not sure where wine is installed, i just used the default prefix. Winetricks also shows up in the Unity search panel as an application, but when I click it nothing happens.
Any ideas?


QIII

March 15th, 2013, 09:46 PM

Moved to ​Wine


DarrenVortex

March 15th, 2013, 11:01 PM

*bump


m�rg�s

March 15th, 2013, 11:03 PM

Please show patience and don’t bump your thread.


DarrenVortex

March 16th, 2013, 08:02 AM

ok I found the solution! :)
I simply forgot to run «sudo make install», I only did «make». «sudo make install» solved the problem!


Powered by vBulletin® Version 4.2.2 Copyright © 2023 vBulletin Solutions, Inc. All rights reserved.

По просьбе пользователей РОСЫ, не хотящим сильно гуглить просторы интернета выкладываю пост по установке и настройке WINETRICKS. Итак: первым делом надо знать, что многие программы, устанавливаемые через него требуют наличия cabextract — Он есть в репозиториях и с его установкой проблем быть не должно:
для начала открываем терминал и «поднимаем» права суперпользователя и потом устанавливаем пакет:

теперь непосредственно сам winetricks^

Код: Выделить всё

# wget http://www.kegel.com/wine/winetricks

теперь система обращается по адресу и помещает програмку в папку /home
теперь права суперпользователя нам не нужны и мы выходим из этого режима и далее второй строчкой запустим winetricks

Теперь открывается окно программы, гда по умолчанию отмечен пункт «Select the default wineprefix» здесь нажимаем кнопку «Ok» после чего выдается список, где можно установить DLL-компоненты виндовс (людям недавно перешедшим из виндовс это, думаю, должно быть знакомо), установить шрифты виндовс и т.д. Во втором пункте рекомендую выбрать опцию «allfonts«, которая, судя из названия установит все шрифты виндовс. ну а в первом пункте, под названием «Install a Windows DLL or components» — самое интересное: DirectX, allcodecs, MS.NET и так далее там уже колдуйте и смотрите. В любом случае, вдруг не удачно что-то получилось, всегда можно удалить все установки, выбрав опцию «Delete ALL DATA APPLICATIONS INSIDE THIS WINEPREFIX» — нижняя опция.

‎Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / 4 Gb RAM / NVIDIA GeForce GT 240 / Rosa 2012.1 R5 х86_64

I can not use protontricks on fedora 31
[INFO] Found Steam directory at /home/bill/.steam/steam. You can also define Steam directory manually using $STEAM_DIR
[INFO] WINETRICKS environment variable is not available. Falling back to /usr/bin/winetricks
[INFO] Found 0 Steam library folders
[INFO] Found active Proton installation: Proton 5.0
[INFO] Using Proton installation at /home/bill/.steam/steam/steamapps/common/Proton 5.0
[INFO] WINE environment variable is not available. Setting WINE environment variable to Proton bundled version
[INFO] WINESERVER environment variable is not available. Setting WINESERVER environment variable to Proton bundled version
[INFO] Found the prefix directory at /home/bill/.steam/steam/steamapps/compatdata/244210/pfx

You are running winetricks-20191224, latest upstream is winetricks-20200412!


You should update using your distribution’s package manager, —self-update, or manually.


WINE is /home/bill/.steam/steam/steamapps/common/Proton 5.0/dist/bin/wine, which is neither on the path nor an executable file

Возможно, вам также будет интересно:

  • Windscribe ошибка не установлены tap драйвера
  • Windows фотографии ошибка при импорте
  • Windows ссылается на ошибку 0x80070070
  • Windows сообщила что изменилось аппаратное оборудование устройства код ошибки 0xc004f213
  • Windows сообщила что изменилось аппаратное оборудование устройства код ошибки 0xc004f211

  • Понравилась статья? Поделить с друзьями:
    0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии