Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 30/12/2015, à 06:23

AntoineB38

[Resolu] Wine/winetricks/POL, pb avec installation librairie mfc40

Bonjour,

J'essaie de faire tourner le logiciel de modélisation hydraulique HEC-RAS sous linux. Problème lors de l'installation avec wine la librarie mfc40 n'est pas trouvé.

wine /home/[...]/HEC-RAS_410_Setup.exe 
fixme:storage:create_storagefile Storage share mode not implemented.
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:module:import_dll Library MFC40.DLL (which is needed by L"C:\\windows\\syswow64\\THREED32.OCX") not found
err:module:import_dll Library MFC40.DLL (which is needed by L"C:\\windows\\syswow64\\WAITEGL.OCX") not found
err:module:import_dll Library MFC40.DLL (which is needed by L"C:\\windows\\syswow64\\THREED32.OCX") not found
err:module:import_dll Library MFC40.DLL (which is needed by L"C:\\windows\\syswow64\\WAITEGL.OCX") not found

En deuxième j'essaie de l'installer via winetricks, mais pas moyen.

 winetricks mfc40
------------------------------------------------------
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing w_do_call mfc40
Executing load_mfc40
Downloading http://activex.microsoft.com/controls/vc/mfc40.cab to /home/antoine/.cache/winetricks/mfc40
--2015-12-30 05:56:42--  http://activex.microsoft.com/controls/vc/mfc40.cab
Résolution de activex.microsoft.com (activex.microsoft.com)... 2.22.22.218, 2.22.22.216
Connexion vers activex.microsoft.com (activex.microsoft.com)|2.22.22.218|:80... connecté.
requête HTTP transmise, en attente de la réponse... 404 Not Found
2015-12-30 05:56:42 ERREUR 404: Not Found.

------------------------------------------------------
Downloading http://activex.microsoft.com/controls/vc/mfc40.cab failed
------------------------------------------------------

J'ai également essayé une installation via PlayOnLinux, mais je n'ai pas non plus pu télécharger la bonne librairie, voici l'erreur

Error in POL_Download_Resource
POL_Download_Resource - MD5 sum mismatch ! (6 attempt)

Une de mes idées était d'installer la librairie directement mais je n'arrive pas à la trouver. Si quelqu'un peut m'aider sur ce problème ça serait excellent, merci.

Dernière modification par AntoineB38 (Le 31/12/2015, à 11:05)

Hors ligne

#2 Le 30/12/2015, à 08:29

k3c

Re : [Resolu] Wine/winetricks/POL, pb avec installation librairie mfc40

Tu as la réponse dans l'affichage, tu as créé un wine 64 bits, il te faut un wine 32 bits, donc

rm -rf ~/.wine

Et tu recommences


Archlinux sur Xiaomi Air 13

Hors ligne

#3 Le 30/12/2015, à 08:42

k3c

Re : [Resolu] Wine/winetricks/POL, pb avec installation librairie mfc40


Archlinux sur Xiaomi Air 13

Hors ligne

#4 Le 30/12/2015, à 09:58

AntoineB38

Re : [Resolu] Wine/winetricks/POL, pb avec installation librairie mfc40

Merci pour ta réponse, et pour le lien. J'ai installé un préfixe 32 bits par la méthode suivante :

WINEPREFIX=~/.wine WINEARCH=win32 wineboot

Nénamoins toujours pas moyen de récupérer la librairie mfc40, avec toujours la même erreur:

winetricks 
Executing w_do_call mfc40
Executing load_mfc40
Downloading http://activex.microsoft.com/controls/vc/mfc40.cab to /home/antoine/.cache/winetricks/mfc40
Downloading http://activex.microsoft.com/controls/vc/mfc40.cab to /home/antoine/.cache/winetricks/mfc40
------------------------------------------------------
sha1sum mismatch!  Rename /home/antoine/.cache/winetricks/mfc40/mfc40.cab and try again.
------------------------------------------------------

j'ai l'impression qu'il ne parvient juste pas à récupérer le fichier: problème lorsqu'il vérifie le sha1?

Dernière modification par AntoineB38 (Le 30/12/2015, à 10:07)

Hors ligne

#5 Le 30/12/2015, à 10:18

k3c

Re : [Resolu] Wine/winetricks/POL, pb avec installation librairie mfc40

Ça serait sympa si tu pouvais afficher toutes tes commandes, ce que tu as écrit, ce qui s'est affiché...

Comme je ne suis pas devin...


Archlinux sur Xiaomi Air 13

Hors ligne

#6 Le 30/12/2015, à 10:26

AntoineB38

Re : [Resolu] Wine/winetricks/POL, pb avec installation librairie mfc40

Oui, je pensais économiser en lecture :

antoine@antoineb-Notebook:~$ WINEPREFIX=~/.wine WINEARCH=win32 wineboot
wine: created the configuration directory '/home/antoine/.wine'
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:iphlpapi:NotifyAddrChange (Handle 0x10ee890, overlapped 0x10ee89c): stub
wine: configuration in '/home/antoine/.wine' has been updated.

apres winetricks c'est executé en graphique donc pas beaucoup plus que ce que recopié plus haut :

antoine@antoineb-Notebook:~$ winetricks 
Executing w_do_call mfc40
Executing load_mfc40
Downloading http://activex.microsoft.com/controls/vc/mfc40.cab to /home/antoine/.cache/winetricks/mfc40
Downloading http://activex.microsoft.com/controls/vc/mfc40.cab to /home/antoine/.cache/winetricks/mfc40
------------------------------------------------------
sha1sum mismatch!  Rename /home/antoine/.cache/winetricks/mfc40/mfc40.cab and try again.
------------------------------------------------------

je regarde pour éventuellement installer la librairie à partir du .dll, mais c'est ça sort de mon utilisation habituelle.
Merci en tout cas.

Dernière modification par AntoineB38 (Le 30/12/2015, à 10:27)

Hors ligne

#7 Le 30/12/2015, à 10:37

k3c

Re : [Resolu] Wine/winetricks/POL, pb avec installation librairie mfc40

Peux tu poster

find ~/.wine* -name "Program*"

Archlinux sur Xiaomi Air 13

Hors ligne

#8 Le 30/12/2015, à 10:38

AntoineB38

Re : [Resolu] Wine/winetricks/POL, pb avec installation librairie mfc40

Voila

antoine@antoineb-Notebook:~$ find ~/.wine* -name "Program*"
/home/antoine/.wine/drive_c/Program Files
/home/antoine/.wine/drive_c/users/antoine/Start Menu/Programs
/home/antoine/.wine/drive_c/users/Public/Start Menu/Programs

Hors ligne

#9 Le 30/12/2015, à 11:39

k3c

Re : [Resolu] Wine/winetricks/POL, pb avec installation librairie mfc40

bizarre, on peut tester avec une autre préfixe wine

WINEARCH=win32 WINEPREFIX ~/.wine_hecras winetricks -q --unattended mfc40

Archlinux sur Xiaomi Air 13

Hors ligne

#10 Le 30/12/2015, à 11:46

Compte anonymisé

Re : [Resolu] Wine/winetricks/POL, pb avec installation librairie mfc40

 winetricks mfc40
------------------------------------------------------
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing w_do_call mfc40
Executing load_mfc40
Downloading http://activex.microsoft.com/controls/vc/mfc40.cab to /home/antoine/.cache/winetricks/mfc40
--2015-12-30 05:56:42--  http://activex.microsoft.com/controls/vc/mfc40.cab
Résolution de activex.microsoft.com (activex.microsoft.com)... 2.22.22.218, 2.22.22.216
Connexion vers activex.microsoft.com (activex.microsoft.com)|2.22.22.218|:80... connecté.
requête HTTP transmise, en attente de la réponse... 404 Not Found
2015-12-30 05:56:42 ERREUR 404: Not Found.

------------------------------------------------------
Downloading http://activex.microsoft.com/controls/vc/mfc40.cab failed
------------------------------------------------------

404 Not Found

le message semble clair, le fichier n'existe plus sur le serveur de microsoft.

#11 Le 30/12/2015, à 21:54

k3c

Re : [Resolu] Wine/winetricks/POL, pb avec installation librairie mfc40

Pour moi ça marche

gg@gg-P15SM-A-SM1-A:~$ WINEARCH=win32 WINEPREFIX=~/.wine_hacres winetricks mfc40
Executing w_do_call mfc40
Executing load_mfc40
Executing mkdir -p /home/gg/.cache/winetricks/mfc40
Downloading https://web.archive.org/web/20070316220826/http://activex.microsoft.com/controls/vc/mfc40.cab to /home/gg/.cache/winetricks/mfc40
--2015-12-30 21:53:36--  https://web.archive.org/web/20070316220826/http://activex.microsoft.com/controls/vc/mfc40.cab
Résolution de web.archive.org (web.archive.org)... 207.241.226.190
Connexion vers web.archive.org (web.archive.org)|207.241.226.190|:443... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Taille : 592948 (579K) [application/octet-stream]
Enregistre : «mfc40.cab»

100%[==================================================================================>] 592 948      263KB/s   ds 2,2s   

2015-12-30 21:53:39 (263 KB/s) - «mfc40.cab» enregistré [592948/592948]

Executing cabextract -q -d /home/gg/.wine_hacres/dosdevices/c:/windows/temp/_mfc40 /home/gg/.cache/winetricks/mfc40/mfc40.cab
/home/gg/.cache/winetricks/mfc40/mfc40.cab: WARNING; possible 5624 extra bytes at end of file.
Executing cabextract -q -d /home/gg/.wine_hacres/dosdevices/c:/windows/system32 -F *40.dll /home/gg/.wine_hacres/dosdevices/c:/windows/temp/_mfc40/mfc40.exe
You opted in, so reporting 'mfc40 ' to the winetricks maintainer so he knows which winetricks verbs get used and which don't.  Use --optout to disable future reports.
gg@gg-P15SM-A-SM1-A:~$ 

Archlinux sur Xiaomi Air 13

Hors ligne

#12 Le 31/12/2015, à 00:41

Compte anonymisé

Re : [Resolu] Wine/winetricks/POL, pb avec installation librairie mfc40

peut-être ... que c'est pas la même url ?

http://activex.microsoft.com/controls/vc/mfc40.cab dans la console de AntoineB38
https://web.archive.org/web/20070316220 … /mfc40.cab dans ta console

il faut commencer par mettre à jour winetricks

@AntoineB38 : que donne les commandes ci-dessous ?

wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
./winetricks mfc40

#13 Le 31/12/2015, à 09:53

k3c

Re : [Resolu] Wine/winetricks/POL, pb avec installation librairie mfc40

tout à fait d'accord, j'ajouterai

sudo mv winetricks /usr/bin/winetricks

Archlinux sur Xiaomi Air 13

Hors ligne

#14 Le 31/12/2015, à 10:50

AntoineB38

Re : [Resolu] Wine/winetricks/POL, pb avec installation librairie mfc40

Bonjour, cela semble bien avancé, à priori winetricks est bien mis à jour;

antoine@antoineb-Notebook:~$ wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
--2015-12-31 10:33:08--  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
Résolution de raw.githubusercontent.com (raw.githubusercontent.com)... 185.31.18.133
Connexion vers raw.githubusercontent.com (raw.githubusercontent.com)|185.31.18.133|:443... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Taille : 690325 (674K) [text/plain]
Enregistre : «winetricks»

100%[======================================>] 690 325      394KB/s   ds 1,7s   

2015-12-31 10:33:11 (394 KB/s) - «winetricks» enregistré [690325/690325]

et la librairie mfc40 est bien récupérée

antoine@antoineb-Notebook:~$ ./winetricks mfc40
Executing w_do_call mfc40
Executing load_mfc40
Downloading https://web.archive.org/web/20070316220826/http://activex.microsoft.com/controls/vc/mfc40.cab to /home/antoine/.cache/winetricks/mfc40
--2015-12-31 10:34:11--  https://web.archive.org/web/20070316220826/http://activex.microsoft.com/controls/vc/mfc40.cab
Résolution de web.archive.org (web.archive.org)... 207.241.226.190
Connexion vers web.archive.org (web.archive.org)|207.241.226.190|:443... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Taille : 592948 (579K) [application/octet-stream]
Enregistre : «mfc40.cab»

100%[======================================>] 592 948      372KB/s   ds 1,6s   

2015-12-31 10:34:14 (372 KB/s) - «mfc40.cab» enregistré [592948/592948]

Executing cabextract -q -d /home/antoine/.wine/dosdevices/c:/windows/temp/_mfc40 /home/antoine/.cache/winetricks/mfc40/mfc40.cab
/home/antoine/.cache/winetricks/mfc40/mfc40.cab: WARNING; possible 5624 extra bytes at end of file.
Executing cabextract -q -d /home/antoine/.wine/dosdevices/c:/windows/system32 -F *40.dll /home/antoine/.wine/dosdevices/c:/windows/temp/_mfc40/mfc40.exe
You opted in, so reporting 'mfc40 ' to the winetricks maintainer so he knows which winetricks verbs get used and which don't.  Use --optout to disable future reports.

plus que quelques petits problèmes de paramètres régionaux à gérer et ça devrait marcher, je refais quelques tests et je passerais le sujet en résolu en tout cas merci de votre aide.

Hors ligne

#15 Le 31/12/2015, à 11:06

AntoineB38

Re : [Resolu] Wine/winetricks/POL, pb avec installation librairie mfc40

c'est bon j'arrive à démarre HEC-RAS 4.1.0. Merci pour votre aide.

Hors ligne