tag:blogger.com,1999:blog-5188121942175615593.post2389962473097576523..comments2024-03-29T01:51:12.527+11:00Comments on Lindqvist -- a blog about Linux and Science. Mostly.: 497. Compiling Wine 1.7 in a chroot on debianlindqvisthttp://www.blogger.com/profile/11525548328692436184noreply@blogger.comBlogger20125tag:blogger.com,1999:blog-5188121942175615593.post-89702183608149876132014-04-20T02:06:06.305+10:002014-04-20T02:06:06.305+10:00Your best bet is probably to use ldd to figure out...Your best bet is probably to use ldd to figure out what packages may be missing.(if any)<br />e.g.<br />ldd `which wine`<br /> linux-gate.so.1 (0x55576000)<br /> libwine.so.1 => /usr/local/bin/../lib/libwine.so.1 (0x55579000)<br /> libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0x55761000)<br /> libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0x5577d000)<br /> libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0x55928000)<br /> libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0x5592d000)<br /> /lib/ld-linux.so.2 (0x55555000)<br />lindqvisthttps://www.blogger.com/profile/11525548328692436184noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-57610833994523503112014-04-19T07:10:33.574+10:002014-04-19T07:10:33.574+10:00Hi, I followed this procedure for Jessie and most ...Hi, I followed this procedure for Jessie and most of the stuff worked fine. The problem arises with ia32-libs as it seems to have been removed from testing. Will it be possible to provide a list of libraries (32 bit) which are required for wine, so that I can do a manual install?Elsacnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-9842278219574423412014-03-01T21:40:04.177+11:002014-03-01T21:40:04.177+11:00wine 1.7.13 works fine with this procedure, toowine 1.7.13 works fine with this procedure, tooAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-36538131490271623382014-02-05T22:00:23.843+11:002014-02-05T22:00:23.843+11:00Happy it worked out for you. No, you don't nee...Happy it worked out for you. No, you don't need to do winecfg at any stage.<br /><br />Most likely you'll be asked to install gecko and/or mono on your first use of wine.lindqvisthttps://www.blogger.com/profile/11525548328692436184noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-16945949716452205102014-02-01T12:45:40.270+11:002014-02-01T12:45:40.270+11:00Hello, thanks so much for this walk through. I don...Hello, thanks so much for this walk through. I don't know if this is supposed to be complete, but don't you need to " winecfg "somewhere during the process to actually get the wine up and running? I want to make sure that I install conrrectly!<br />Thanks again this has been a very valuable learning aid.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-53225397061158752132014-01-17T06:45:47.165+11:002014-01-17T06:45:47.165+11:00Hello,
Thanks for sharing this very interesting po...Hello,<br />Thanks for sharing this very interesting post as a solution to a very old and persistent problem :)<br />I was wondering if the process can be streamlined using tools like "sbuild" and "pbuilder"?<br />(I am yet to work on your solution AS IS...though the approach appeared familiar.)<br />Cheers!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-80198065851645411512014-01-08T14:01:10.076+11:002014-01-08T14:01:10.076+11:00Thanks for the feedback!Thanks for the feedback!lindqvisthttps://www.blogger.com/profile/11525548328692436184noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-9826181356582044852014-01-07T23:02:20.115+11:002014-01-07T23:02:20.115+11:00wine 1.7.10 works fine with this procedurewine 1.7.10 works fine with this procedureAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-29632440631826531672013-12-04T11:14:08.856+11:002013-12-04T11:14:08.856+11:00Thanks for the report/feedback!Thanks for the report/feedback!lindqvisthttps://www.blogger.com/profile/11525548328692436184noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-74981355650490110672013-12-04T04:26:28.718+11:002013-12-04T04:26:28.718+11:00The build steps worked a charm for 1.7.7 under Deb...The build steps worked a charm for 1.7.7 under Debian Stable (Wheezy / 7.0). Will update with installation and running.Anonymoushttps://www.blogger.com/profile/04471894575934106715noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-60848008480856574402013-11-16T12:20:48.476+11:002013-11-16T12:20:48.476+11:00checkinstall --fstrans=no should obviate the need ...checkinstall --fstrans=no should obviate the need for creating directories manuallylindqvisthttps://www.blogger.com/profile/11525548328692436184noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-50557868117243479272013-11-16T05:43:23.511+11:002013-11-16T05:43:23.511+11:00works for 1.7.6 too (though I had to mkdirs manual...works for 1.7.6 too (though I had to mkdirs manually during checkinstall), thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-83644051958280471952013-10-30T07:57:22.097+11:002013-10-30T07:57:22.097+11:00Fixed with:
sudo checkinstall --install=no --fstra...Fixed with:<br />sudo checkinstall --install=no --fstrans=no<br /><br />Thank you Anonymous (16 October, 2013 02:34).Nerunhttps://www.blogger.com/profile/04257264536079813169noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-32895565591185019692013-10-30T07:39:02.893+11:002013-10-30T07:39:02.893+11:00FAILED at checkinstall step:
(...)
make[1]: Nothi...FAILED at checkinstall step:<br /><br />(...)<br />make[1]: Nothing to be done for `all'.<br />make[1]: Leaving directory `/home/sandbox/tmp/wine-1.7.5/dlls/xpssvcs'<br />STRIPPROG="strip" ./tools/install-sh dlls/xpssvcs/xpssvcs.dll.so /usr/local/lib/wine/xpssvcs.dll.so<br />/usr/bin/install -c -m 644 dlls/xpssvcs/xpssvcs.dll.fake /usr/local/lib/wine/fakedlls/xpssvcs.dll<br />make[1]: Entering directory `/home/sandbox/tmp/wine-1.7.5/fonts'<br />make[1]: Nothing to be done for `all'.<br />make[1]: Leaving directory `/home/sandbox/tmp/wine-1.7.5/fonts'<br />make[1]: Entering directory `/home/sandbox/tmp/wine-1.7.5/fonts'<br />/bin/mkdir -p -m 755 /usr/local/share/wine/fonts<br />/bin/mkdir: cannot create directory `/usr/local/share/wine': No such file or directory<br />make[1]: *** [/usr/local/share/wine/fonts] Error 1<br />make[1]: Leaving directory `/home/sandbox/tmp/wine-1.7.5/fonts'<br />make: *** [fonts/install] Error 2<br /><br />**** Installation failed. Aborting package creation.<br /><br />Cleaning up...OK<br /><br />Bye.<br /><br />Any help?Nerunhttps://www.blogger.com/profile/04257264536079813169noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-92172036349027347042013-10-16T09:17:10.388+11:002013-10-16T09:17:10.388+11:00That's right -- I thought I had started to add...That's right -- I thought I had started to add that to the checkinstall commands in the posts by default, but apparently not.<br />Thank you for the feedback.lindqvisthttps://www.blogger.com/profile/11525548328692436184noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-52626957491777507882013-10-16T02:34:07.967+11:002013-10-16T02:34:07.967+11:00I run into a checkinstall bug to do with mkdir -p....I run into a checkinstall bug to do with mkdir -p.... <br />http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717778<br /><br />the workaround is to add "--fstrans=no" to the checkinstall invocationAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-73916035939362547572013-09-21T01:34:57.230+10:002013-09-21T01:34:57.230+10:00You need to install binutils-multiarch.You need to install binutils-multiarch.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-35127339492501295662013-09-04T09:30:29.593+10:002013-09-04T09:30:29.593+10:00Thanks for the feedback and the build instructions...Thanks for the feedback and the build instructions. I need to look into ia32-libs soon -- I think it's in flux on jessie as well.lindqvisthttps://www.blogger.com/profile/11525548328692436184noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-83988068680743256042013-09-04T04:02:18.065+10:002013-09-04T04:02:18.065+10:00Here is a slightly changed version for installing ...Here is a slightly changed version for installing on sid/unstable.<br />----<br />##############<br /># PREPARATION -run once<br />##############<br /><br /># SET UP CHROOT:<br />mkdir /home/build/chroot32/ -p<br />sudo apt-get install debootstrap<br />cd /home/build<br />sudo debootstrap --arch i386 sid chroot32 http://ftp.se.debian.org/debian/<br />sudo mount -o bind /proc /home/build/chroot32/proc<br />sudo cp /etc/resolv.conf /home/build/chroot32/etc/resolv.conf<br />sudo chroot /home/build/chroot32<br /><br /># (you're now in the chroot)<br />apt-get update<br />apt-get install locales sudo vim<br />echo 'export LC_ALL="C"'>>/etc/bash.bashrc<br />echo 'export LANG="C"'>>/etc/bash.bashrc<br /># CHANGE hostname to your hostname<br />echo '127.0.0.1 localhost hostname' >> /etc/hosts<br />source /etc/bash.bashrc<br />adduser sandbox<br />usermod -g sudo sandbox<br />echo 'Defaults !tty_tickets' >> /etc/sudoers<br />su sandbox<br /><br /># INSTALL 32bit PACKAGES AND WINE BUILD-DEPS:<br />sudo dpkg --add-architecture i386<br />sudo apt-get update<br />sudo apt-get install ia32-libs-i386 libgstreamer-plugins-base0.10-0<br />sudo apt-get install libx11-dev:i386 libfreetype6-dev:i386 libxcursor-dev:i386 libxi-dev:i386 libxxf86vm-dev:i386 libxrandr-dev:i386 libxinerama-dev:i386 libxcomposite-dev:i386 libglu-dev:i386 libosmesa-dev:i386 libglu-dev:i386 libosmesa-dev:i386 libdbus-1-dev:i386 libgnutls-dev:i386 libncurses-dev:i386 libsane-dev:i386 libv4l-dev:i386 libgphoto2-2-dev:i386 liblcms2-dev:i386 libgstreamer-plugins-base0.10-dev:i386 libcapi20-dev:i386 libcups2-dev:i386 libfontconfig-dev:i386 libgsm1-dev:i386 libtiff-dev:i386 libpng-dev:i386 libjpeg-dev:i386 libmpg123-dev:i386 libopenal-dev:i386 libldap-dev:i386 libxrender-dev:i386 libxml2-dev:i386 libxslt-dev:i386 libhal-dev:i386 gettext:i386 prelink:i386 bzip2:i386 bison:i386 flex:i386 oss4-dev:i386 checkinstall:i386 ocl-icd-libopencl1:i386 opencl-headers:i386 libasound2-dev:i386 build-essential<br /><br /><br />############<br /># BUILD WINE -every new build<br />############<br /><br /># ENTER CHROOT (skip if you're already in chroot):<br />sudo mount -o bind /proc /home/build/chroot32/proc<br />sudo cp /etc/resolv.conf /home/build/chroot32/etc/resolv.conf<br />sudo chroot /home/build/chroot32<br />su sandbox<br /><br /># UPGRADE PACKAGES (optional):<br />sudo apt-get update<br />sudo apt-get upgrade<br /><br /># BUILD WINE RELEASE:<br />wget http://prdownloads.sourceforge.net/wine/wine-1.7.1.tar.bz2<br />tar xvf wine-1.7.1.tar.bz2<br /># OR BUILD FROM GIT<br />#git clone git://source.winehq.org/git/wine.git<br />cd wine-1.7.1/<br />./configure<br />time make -j3<br />sudo checkinstall --install=no<br /># (answear questions)<br /><br /># EXIT CHROOT:<br />exit<br />exit<br /><br /># INSTALL WINE:<br />sudo cp /home/build/chroot32/home/sandbox/wine-1.7.1/wine_1.7.1-1_i386.deb .<br />sudo chown $USER wine_1.7.1-1_i386.deb<br />sudo dpkg -i wine_1.7.1-1_i386.deb<br /><br />----<br />Changes for sid:<br />a) sudo debootstrap --arch i386 sid chroot32 http://ftp.debian.org/debian/<br />b) ia32-libs to ia32-libs-i386 (ia32-libs was not available for some reaseon)JKAbramsnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-30814794749700645972013-09-01T09:41:52.130+10:002013-09-01T09:41:52.130+10:00Works for 1.7.1 too.
Thanks!Works for 1.7.1 too.<br />Thanks!Anonymousnoreply@blogger.com