Thanks to suggestions from Vitaliy Margolen, Neil Skrypuch and Scott Ritchie I downloaded and manually installed 32 bit libraries
ia32-libs_1.4ubuntu17_amd64.deb libc6-dev-i386_2.3.6-0ubuntu17_amd64.deb libicu34-dev_3.4.1a-1ubuntu1_i386.deb libicu34_3.4.1a-1ubuntu1_i386.deb libttf2_1.4pre.20030402-1.1ubuntu1_i386.deb libttf-dev_1.4pre.20030402-1.1ubuntu1_i386.deb libx11-dev_6.2.1+cvs.20050722-8_i386.deb libxext6_1.0.0-0ubuntu4_i386.deb libxext-dev_1.0.0-0ubuntu4_i386.deb
following instructions found in http://ubuntuforums.org/showthread.php?p=967834 and now giving the command : :~$ sudo apt-get --build source wine the process stops returning the following message
LD_LIBRARY_PATH="../../libs/unicode:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nost dinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_GDI32_ -foversi on.res version.rc ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./gdi32.spec dispdib .spec.o gdi.exe.spec.o wing.spec.o bidi16.o dispdib.o env.o gdi16.o metafile16.o wing.o bidi.o bitblt.o bitmap.o brush.o clipping.o dc.o dib.o driver.o enhmeta file.o enhmfdrv/bitblt.o enhmfdrv/dc.o enhmfdrv/graphics.o enhmfdrv/init.o enhmf drv/mapping.o enhmfdrv/objects.o font.o freetype.o gdi_main.o gdiobj.o icm.o map ping.o metafile.o mfdrv/bitblt.o mfdrv/dc.o mfdrv/graphics.o mfdrv/init.o mfdrv/ mapping.o mfdrv/objects.o mfdrv/text.o painting.o palette.o path.o pen.o printdr v.o region.o version.res -Wl,--rpath,$ORIGIN/`../../tools/relpath /usr/lib/w ine /usr/lib` -o gdi32.dll.so -L../../dlls -ladvapi32 -lkernel32 -lntdll -L../. ./libs -lwine -L../../libs/unicode -lwine_unicode /usr/lib/libsicuuc.a /usr/lib/ libsicudata.a -lstdc++ -lgcc_s -L../../libs/port -lwine_port ld: Relocatable linking with relocations from format elf64-x86-64 (/usr/lib/libsicuuc.a(ubidi.ao)) to format elf32-i386 (gdi32.wVZfHm.o) is not supported winebuild: ld -m elf_i386 -r failed with status 256 winegcc: ../../tools/winebuild/winebuild failed. make[3]: *** [gdi32.dll.so] Error 2 make[3]: Leaving directory `/home/marco/wine-0.9.12~winehq1/dlls/gdi' make[2]: *** [gdi] Error 2 make[2]: Leaving directory `/home/marco/wine-0.9.12~winehq1/dlls' make[1]: *** [dlls] Error 2 make[1]: Leaving directory `/home/marco/wine-0.9.12~winehq1' make: *** [build-stamp] Error 2 Comando di costruzione 'cd wine-0.9.12~winehq1 && dpkg-buildpackage -b -uc' fallito. E: Processo figlio fallito
Can anyone help me a little more?
Thanks in advance
Marco
On 5/9/06, Marco Eminente marco.eminente@fastwebnet.it wrote:
Thanks to suggestions from Vitaliy Margolen, Neil Skrypuch and Scott Ritchie I downloaded and manually installed 32 bit libraries
I've found that the only truly clean way to build Wine in Ubuntu AMD64 is to use a chroot environment. Google on ubuntuforms.org for details on how to set that up. The biggest benefit of that method (besides the fact that it "just works" [eventually]) is that you can keep up to date with security updates for your 32-bit packages. The way you're doing it manually, you are now responsible for updating your 32-bit libs each time there is a security update. Whereas, with a chroot, you can just run "sudo apt-get update && sudo apt-get upgrade".
It would be really nice if Ubuntu had a pre-packaged Wine[-dev] environment for 64-bit systems (which would include all of the necessary 32-bit libs placed in the correct locations), but no one has taken the effort yet AFAIK.
When I was trying to compile the manual way like you are, I had some issues with Wine's configure script pointing to the wrong libraries in a few places. It was looking in /usr/lib by default, when it needed to look in /usr/lib32 in order to actually work. At that time, however, I didn't know enough about Wine to do much about it besides manually editing my Makefiles each time I ran ./configure.
Good luck, though, and if you get it all down, please post a HOWTO on the Wine wiki. Thanks!
On Tue, 2006-05-09 at 10:05 -0400, Jason Green wrote:
On 5/9/06, Marco Eminente marco.eminente@fastwebnet.it wrote:
Thanks to suggestions from Vitaliy Margolen, Neil Skrypuch and Scott Ritchie I downloaded and manually installed 32 bit libraries
I've found that the only truly clean way to build Wine in Ubuntu AMD64 is to use a chroot environment. Google on ubuntuforms.org for details on how to set that up. The biggest benefit of that method (besides the fact that it "just works" [eventually]) is that you can keep up to date with security updates for your 32-bit packages. The way you're doing it manually, you are now responsible for updating your 32-bit libs each time there is a security update. Whereas, with a chroot, you can just run "sudo apt-get update && sudo apt-get upgrade".
It would be really nice if Ubuntu had a pre-packaged Wine[-dev] environment for 64-bit systems (which would include all of the necessary 32-bit libs placed in the correct locations), but no one has taken the effort yet AFAIK.
I'm working on it :) (and efforts like yours are helping)
Unfortunately, all of Wine's libs aren't available in 32 bit packages yet - I've filed a bug in Ubuntu to get them included, though:
https://launchpad.net/distros/ubuntu/+source/ia32-libs/+bug/43320
Thanks, Scott Ritchie
On Tue, 2006-05-09 at 11:17 +0200, Marco Eminente wrote:
Thanks to suggestions from Vitaliy Margolen, Neil Skrypuch and Scott Ritchie I downloaded and manually installed 32 bit libraries
Comando di costruzione 'cd wine-0.9.12~winehq1 && dpkg-buildpackage -b -uc' fallito. E: Processo figlio fallito
Can anyone help me a little more?
This shouldn't matter, but it looks like you're using an older version of the Wine source package. Try using the new apt repository :)
Thanks, Scott Ritchie