Update: decided to delete the extra links in dosdevices... no change
If I don't use sudo (which the program actually needs, so this is just for a data point) then instead I get wine: failed to start L"C:\XERASxlnx\xerase.exe.so"
From: Brent Burkholder Sent: Wednesday, September 28, 2022 3:33 PM To: wine-devel@winehq.org Subject: Winelib portability on USB booted system
We had originally tried a software port using winelib 5, and it was just a no-go in functionality. Wine 7 is working a LOT better for what we're doing (Windows GUI with ability to do low level Linux hooks), so thank you all for all of the hard work!
Unfortunately, even though the software is running great on our development machine, when I try to run it on another system (configured USB boot, should have the same version of wine, etc) it doesn't run at all with pretty much no feedback. Can anyone help me understand why, or what I need to be looking for?
Both systems are starting with the same script (I've done a lot of variations, directly launching myself, and it doesn't seem to matter.)
#!/bin/bash sudo env "PATH=/opt/wine-devel/bin:$PATH" /opt/wine-devel/bin/wine xerase.exe.so
The compiling system starts right up. The USB boot system that I'm trying to run it on gives me
0078:fixme:wineusb:add_unix_device Interface 1 has 2 alternate settings; using the first one. Wine: failed to start L"F:\home\test.wine\drive_c\XERASxlnx\xerase.exe.so" Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: File not found.
If I do the command directly instead of through a script I get exactly the same thing.
If I cut out the env path stuff (1), or keep the path but call just wine (2), or just call wine (bashrc has the path now) same results
1. sudo /opt/wine-devel/bin/wine xerase.exe.so 2. sudo env "PATH=/opt/wine-devel/bin:$PATH" wine xerase.exe.so 3. sudo wine xerase.exe.so 4. sudo wine /home/test/.wine/drive_c/XERASxlnx/xerase.exe.so
0078:fixme:wineusb:add_unix_device Interface 1 has 2 alternate settings; using the first one. Wine: failed to start L"F:\home\test.wine\drive_c\XERASxlnx\xerase.exe.so" Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: File not found.
So... observations...
1. Not sure where F: is coming from? C: I might understand (though frankly, I'd just as soon the program realize we're using the unix file structure, not any virtualized windows stuff for what we're doing)
When I look at .wine/dosdevices on both systems...
Build/working system: z: -> / c: -> ../drive_c <com devices> . ..
Not working USB booted system: z: -> / c: -> ../drive_c d:: -> /dev/sda1 g:: -> /dev/sda f:: -> /dev/sd5 e:: -> /dev/sda2 <com devices> d: -> /boot/efi f: -> / . ..
Any suggestions in changes to compilation or environmental variables to get wine to start running it?
I guess I could delete d::, g::, f::, e::, d:, and f: and see if that makes a difference but figured I'd ask the question first
Brent Burkholder Extreme Protocol Solutions bburk@extremeprotocol.commailto:bburk@extremeprotocol.com