Skip to contentSkip to conversation

qemu with recent wine snapshot?

Qemu-devel Wim Vanderbauwhede 3 participants 5 messages Apr 3, 2004 – Apr 6, 2004 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi,

I would like to use qemu to run a Win32 appliation (the Xilinx ISE tools) under wine on my iBook G3.
I got the standard installation to work, but a wine version with a bug fix only present in recent snapshots of wine (after dec2003).
I tried several of these, but they're all for i586 and/or with a different version of glibc. I tried changing the glibc for qemu as well, but with no success.
Could someone please make a recent wine snapshot available that works under qemu?
Or tell me how to build one that does? Any help is greatly appreciated.

Thanks a lot,

Wim Vanderbauwhede

Signature · 3 lines
If it's pointless, what's the point?
If there is a point to it, what's the point?
(Tibor Fischer, "The Thought Gang")
#2 lore raw
Quoted 3 lines

Could someone please make a recent wine snapshot available that works under qemu?
Or tell me how to build one that does? Any help is greatly appreciated.

Could you not :

1) take a recent Wine RPM on WineHQ's site
(http://www.winehq.org/site/download)

2) check all the 'hard' package dependencies (no idea if you can list the dependencies of a package of an X86 RPM on another platform like Linux/PPC).

3) download from the web all the packages needed by web and install them in a fake directory (using, for example, 'rpm2cpio' and 'cpio'). Of course, this is recursive, you need then to do step 2) on all these installed packages.

Once this is done, you should have Wine installed + all needed libraries in your fake directory.

Note that I never tried this method myself (as I use and develop on Wine natively as I own an X86), but I do not see why it should not work.

Lionel

Signature · 1 line
		 Lionel Ulmer - http://www.bbrox.org/
#3 lore raw
Quoted 9 lines · Lionel Ulmer
Quoted 3 lines

Could someone please make a recent wine snapshot available that works under qemu?
Or tell me how to build one that does? Any help is greatly appreciated.

Could you not :

1) take a recent Wine RPM on WineHQ's site
(http://www.winehq.org/site/download)

Quoted 8 lines

2) check all the 'hard' package dependencies (no idea if you can list the dependencies of a package of an X86 RPM on another platform like Linux/PPC).

3) download from the web all the packages needed by web and install them in a fake directory (using, for example, 'rpm2cpio' and 'cpio'). Of course, this is recursive, you need then to do step 2) on all these installed packages.

I did once install plenty of stuff using rpm inside a chroot. Had to copy a few basic tools, ld.so, /etc/ld.so.conf etc by hand and it went almost perfectly then. Using native bash, rpm etc can save a litle time - rpm needs --ingorearch cmd line switch or "arch_compat:" in /etc/rpmrc

Richard

A message that is not in the archive (sent off-list or not yet received): 1081161023.2305.5.camel@an-leabhar-i

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw

Thanks, Richard, I'm getting there. But now I get:

[wim@an-leabhar-i tests]$ qemu-i386 -L /home/ARCHS/mdk_x86 /home/ARCHS/mdk_x86/bin/ls
qemu: uncaught target signal 11 (Segmentation fault) - exiting [wim@an-leabhar-i tests]$

I get this with every command. I'm using the latest qemu-0.5.3.

Wim

#7 lore raw
Quoted 8 lines · Wim Vanderbauwhede

Thanks, Richard, I'm getting there. But now I get:

[wim@an-leabhar-i tests]$ qemu-i386 -L /home/ARCHS/mdk_x86 /home/ARCHS/mdk_x86/bin/ls
qemu: uncaught target signal 11 (Segmentation fault) - exiting [wim@an-leabhar-i tests]$

I get this with every command. I'm using the latest qemu-0.5.3.

that looks like it will require some debugging. Try some statically linked program, most distros have ash.static, sash and busybox. Also try "strace qemu ..."

Richard