'File not found' error, on Fedora 33, build from source.

Questions about Wine on Linux
Locked
User avatar
ofey404
Newbie
Newbie
Posts: 2
Joined: Wed May 26, 2021 9:50 pm

'File not found' error, on Fedora 33, build from source.

Post by ofey404 »

Hello! I want to contribute to wine, so I build wine from source. The builtin exes like 'wine64 winemine' or 'wine64 cmd' is fine, but when I try to run some executables from the web, I encounter 'File not found' problem.

Thank your for your attention!

ShellExecuteEx failed: File not found.

Code: Select all

~/Downloads 
12:49 $ wine64 7z1604-x64.exe &> wine-log-file-not-found-210528.txt 2>&1
I store the log in pastebin: https://pastebin.com/ubqfskjK

Test executable

I test it with 7-zip 1604 version, which is Platinum in APPDB.

Download link: https://www.7-zip.org/a/7z1604-x64.exe

APPDB link: https://appdb.winehq.org/objectManager. ... n&iId=1487

Build process

Code: Select all

$ wine64 --version
wine-6.9-104-g9bc7d41080f
I clone the latest git repo and build it with command below:

Code: Select all

./configure --enable-win64
make
sudo make install
Output of configure script is also stored in pastebin: https://pastebin.com/YWF4H80e

Reference
I've searched several webpages, besides, the internal search tool in WineHQ Forums seems not very good at multiwords search.

- Wine error "file not found: viewtopic.php?t=11946
- Could not run .exe file: viewtopic.php?f=8&t=35250
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: 'File not found' error, on Fedora 33, build from source.

Post by Bob Wya »

@ofey404

A classic mistake... :D

Building a pure 64-bit Wine environment won't run the majority of MS Windows executables - which are 32-bit (including all Windows installers).

Also I think some of the missing build dependencies might cause you some issues e.g. libxrandr libxinerama libxcomposite ...

See: WineHQ Wiki: Building Wine.

Bob
User avatar
ofey404
Newbie
Newbie
Posts: 2
Joined: Wed May 26, 2021 9:50 pm

Re: 'File not found' error, on Fedora 33, build from source.

Post by ofey404 »

@Bob

Thank you for you kind guidance! I fulfilled dependency needed, and it just works!

Besides, how can I contribute to wine project? Are there any issue I can help?

Ofey
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: 'File not found' error, on Fedora 33, build from source.

Post by Bob Wya »

ofey404 wrote: Fri May 28, 2021 9:21 pm @Bob

Thank you for you kind guidance! I fulfilled dependency needed, and it just works!

Besides, how can I contribute to wine project? Are there any issue I can help?

Ofey
@Ofey

Take a look at the (currently) open Wine bugs: WineHQ Bugzilla. That's a reasonable place to start.

For "informal" questions IRC ( #winehackers ) can be handy. Just don't run a non-persistent IRC client (which are super annoying to everyone!)

See: WineHQ: Getting Help.

Bob
Locked