Can't install an application

Questions about Wine on Linux
Locked
Thierry72
Level 2
Level 2
Posts: 18
Joined: Sat Apr 30, 2022 4:21 am

Can't install an application

Post by Thierry72 »

Good evening everybody.
Some time ago I installed a Hot Wire Foam Cutter application called FCNX that you can download here : https://cncfab.renaudiltis.com/telechargements.html on an old laptop running Linux Mint 20.3 and Wine 5. I have been able to install it directly very easily and make it run without any problem.
I desperately try to install this application on another machine (Intel Nuc7i5BNH) running Linux Mint 21.
I used the software manager which installed Wine 6.0.3 repack1. The application never launched, no warning window showed up. I removed this Wine version.
I used the synaptic packet manager and installed wine-desktop-files (5.0.3), wine-installer (5.0.3), q4wine (1.3.12-1), as adviced on the software manager by Susan707. But the application never launched . I removed all.
For any version of Wine I installed, I can open the .exe with Wine, the application installer launches and does it's work, a link is placed on the desktop, but when I try to launch FCNX, the turning wheel shows for 5-7 seconds then disappear.
I removed all Wine files (well in fact as I am a newby, I don't really know if I removed everything).
I really need this application on this machine and I don't know what to do to install it.
More than that : I'm really worried that this application runs on another machine.
Please help.
Regards from France
Thierry
lawlist
Level 2
Level 2
Posts: 17
Joined: Wed Sep 07, 2022 3:56 pm

Re: Can't install an application

Post by lawlist »

When you stated that the result is the same "[f]or any version of Wine [you] installed", might that also include the most recent stable release of 7.0 or perhaps the developer build subsequent thereto? The instructions for installing those builds can be found in the wiki: https://wiki.winehq.org/Ubuntu
Thierry72
Level 2
Level 2
Posts: 18
Joined: Sat Apr 30, 2022 4:21 am

Re: Can't install an application

Post by Thierry72 »

I think I already followed this procedure, but I do again.

STEP 1

Code: Select all

thierry@thierry-NUC7i5BNH:~$ sudo wget -nc -O /usr/share/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
[sudo] Mot de passe de thierry :         
--2022-09-11 17:17:49--  https://dl.winehq.org/wine-builds/winehq.key
Résolution de dl.winehq.org (dl.winehq.org)… 151.101.122.217
Connexion à dl.winehq.org (dl.winehq.org)|151.101.122.217|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 3220 (3,1K) [application/pgp-keys]
Enregistre : ‘/usr/share/keyrings/winehq-archive.key’

/usr/share/keyrings 100%[===================>]   3,14K  --.-KB/s    ds 0,002s  

2022-09-11 17:17:50 (1,84 MB/s) - ‘/usr/share/keyrings/winehq-archive.key’ enregistré [3220/3220]

STEP2

Code: Select all

thierry@thierry-NUC7i5BNH:~$ sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
--2022-09-11 17:21:19--  https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
Résolution de dl.winehq.org (dl.winehq.org)… 151.101.122.217
Connexion à dl.winehq.org (dl.winehq.org)|151.101.122.217|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 165
Enregistre : ‘/etc/apt/sources.list.d/winehq-jammy.sources’

winehq-jammy.source 100%[===================>]     165  --.-KB/s    ds 0s      

2022-09-11 17:21:19 (2,53 MB/s) - ‘/etc/apt/sources.list.d/winehq-jammy.sources’ enregistré [165/165]
STEP3

Code: Select all

thierry@thierry-NUC7i5BNH:~$ sudo apt update
Atteint :1 http://ubuntu.univ-reims.fr/ubuntu jammy InRelease
Réception de :2 http://ubuntu.univ-reims.fr/ubuntu jammy-updates InRelease [114 kB]
Ign :3 http://mirror6.layerjet.com/linuxmint/packages vanessa InRelease        
Réception de :4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Atteint :5 http://mirror6.layerjet.com/linuxmint/packages vanessa Release
Réception de :6 http://ubuntu.univ-reims.fr/ubuntu jammy-backports InRelease [99,8 kB]
Réception de :8 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease [8 041 B]
Réception de :9 http://ubuntu.univ-reims.fr/ubuntu jammy-updates/main amd64 DEP-11 Metadata [91,5 kB]
Réception de :10 http://ubuntu.univ-reims.fr/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [237 kB]
Réception de :11 http://ubuntu.univ-reims.fr/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
Réception de :12 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [11,4 kB]
Réception de :13 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata [10,4 kB]
Réception de :14 http://ubuntu.univ-reims.fr/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [12,3 kB]
Réception de :15 https://dl.winehq.org/wine-builds/ubuntu jammy/main all Packages [928 B]
Réception de :16 https://dl.winehq.org/wine-builds/ubuntu jammy/main amd64 Packages [45,5 kB]
Réception de :17 https://dl.winehq.org/wine-builds/ubuntu jammy/main i386 Packages [45,4 kB]
787 ko réceptionnés en 1s (1 192 ko/s)                  
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
2 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.

STEP 3.1
thierry@thierry-NUC7i5BNH:~$ sudo apt upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Calcul de la mise à jour... Fait
Les paquets suivants ont été conservés :
  libvkd3d1 libvkd3d1:i386
0 mis à jour, 0 nouvellement installés, 0 à enlever et 2 non mis à jour.

STEP 3.2
thierry@thierry-NUC7i5BNH:~$ apt list --upgradable
En train de lister... Fait
libvkd3d1/jammy 1.3~jammy-1 amd64 [pouvant être mis à jour depuis : 1.1-5]
libvkd3d1/jammy 1.3~jammy-1 i386 [pouvant être mis à jour depuis : 1.1-5]
As you can see I did not want to enable the i386 architecture. I enabled it later when I saw at the 3rd step that 2 packages had not been upgraded.
I thought that I could upgrade directly without listing the packages, so I did "sudo apt upgrade" before listing.
When I noticed something was wrong with the upgrade, I listed the packages and enabled the i386 architecture. Why should I enable this architecture as the FCNX application is a 64 bits application ? Anyway it's done.
As I do not know how to upgrade these packages I stopped the procedure and I'm waiting for your "green light" to go on and how to go on.
Thierry
Thierry72
Level 2
Level 2
Posts: 18
Joined: Sat Apr 30, 2022 4:21 am

Re: Can't install an application

Post by Thierry72 »

Finally the update manager proposed to upgrade the 2 missing packages.

Then I jumped to STEP 4 : installing a stable version of Wine which failed :

Code: Select all

thierry@thierry-NUC7i5BNH:~$ sudo apt install --install-recommends winehq-stable
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
E: Impossible de trouver le paquet winehq-stable
I'm not sure to install a development version of Wine so I stoped here.
Thierry
Thierry72
Level 2
Level 2
Posts: 18
Joined: Sat Apr 30, 2022 4:21 am

Re: Can't install an application

Post by Thierry72 »

I finally installed Wine-6.0.3 (Ubuntu 6.0.3~repack-1), using the synaptics packages manager (sorry for the translation, I hope you understand what I mean).
I installed FCNX application using Wine installer/uninstaller, because when I try to install it with "Open/ Another application", Wine doesn't appear in the list of the applications.
The installation went on correctly till the end.
But FCNX doesn't launch : the hypnotic wheel spins for a few seconds then disappear.
Is there a way to inspect the system while I try to launch the application ?

I decided to try with another application "Tracfoil" https://tracfoil.com/tracfoil/fr/telechargement.html.
I tried to install it the same way as above (Wine installer/uninstaller) : Wine does not recognize the .exe file.

That's driving me mad
Thierry
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Can't install an application

Post by jkfloris »

Why should I enable this architecture as the FCNX application is a 64 bits application ?
I think it is a 32-bit program.

Code: Select all

file Setup_FilChaudNX_v563.exe 
Setup_FilChaudNX_v563.exe: PE32 executable (GUI) Intel 80386, for MS Windows
# And after the installation
file FilChaudNX.exe 
FilChaudNX.exe: PE32 executable (GUI) Intel 80386, for MS Windows
Also, this program needs the Visual Basic 6 Runtime
You can install the runtime with winetricks

Code: Select all

winetricks vb6run
I did get an error message that the program could not find the VB6FR.DLL file. I was able to solve this by copying this file to the ~/.wine/drive_c/windows/syswow64/ directory.
Thierry72
Level 2
Level 2
Posts: 18
Joined: Sat Apr 30, 2022 4:21 am

Re: Can't install an application

Post by Thierry72 »

I enabled the i386 architecture.
I have already copied the vb6run.dll in the System32 and the Syswow64 directories of .wine\c:\windows as recommended by on the FCNX site.
Without any success.
Thierry
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Can't install an application

Post by jkfloris »

Could you post a terminal output?
Thierry72
Level 2
Level 2
Posts: 18
Joined: Sat Apr 30, 2022 4:21 am

Re: Can't install an application

Post by Thierry72 »

I installed the VB6RUN.DLLwith Winetricks.
And FCNX launches !
Thank you very much for your help your kindness and your patience.
Regards from France
Thierry

PS : last thing : when I launch FCNX from a terminal opend in the FCNX directory I have this warning :

Code: Select all

thierry@thierry-NUC7i5BNH:~/.wine/drive_c/Program Files (x86)/FilChaudNX$ wine FilChaudNX.exe
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

0024:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Can't install an application

Post by jkfloris »

If the program works normally, then the error message about ntlm_auth can be ignored.
Should the program fail to login or authenticate somewhere, install the winbind package.
Thierry72
Level 2
Level 2
Posts: 18
Joined: Sat Apr 30, 2022 4:21 am

Re: Can't install an application

Post by Thierry72 »

The program works, so I'll leave it like that.
Thank you so much for your help.
Regards
Tgierry
Locked