[SOLVED] Compile 32bit Wine in x64 without chroot?

I was wondering if it's possible. Due to winetricks not working with x64 wine, I wanted to do a compile of 32-bit Wine without chroot. I need to apply patches, otherwise I'd just use pacman. I've looked but pretty much all topics I've found that are related are before Multilib was added to Arch and all require chroot. Thanks for any help.
-- Edit --
Solved it by just getting multilib gcc, and downloading all the missing dependencies that caused warnings after ./configure with x32 wine
Last edited by Citric (2012-05-14 02:57:46)

Citric wrote:
tommis wrote:
You don't recompile new wine you use 32 bit wineprefix.
env WINEARCH=win32 WINEPREFIX=~/where/you/want/your/wineprefix/to/be winecfg
See: https://wiki.archlinux.org/index.php/Wine
This is for precompiled from pacman. I have to do a fresh compile to be able to apply patches that will fixes games/software for myself, which usually requires a chroot to compile it in 32-bit, therefore pacman isn't an option.
it doesn't require a 32-bit chroot. that is only 1 of 2 options;
https://wiki.archlinux.org/index.php/Ar … _Arch64.3F
You can use a chroot if you want to, or have good reason to... but myself -> i run a multilib system and i compile wine on every update (i just compiled 1.5.4 yesterday). I only use 32bit apps in wine, as well via my 32bit prefix.
If you decide to go the 'multilib' route, you could use package management in arch to compile/install wine ... there are a couple of patched versions of wine in the AUR, that you could use as a template. just download the tarball, extract it and modify it to use your patches / suit your needs, add your patches to the directory, fix checksums, etc and voila
patched versions of wine in AUR;
https://aur.archlinux.org/packages.php?ID=40169
https://aur.archlinux.org/packages.php?ID=52143
there is one or two others, but they are very similar. either could work as a good template.
...then anytime you want to update wine, you just cd into the pkgbuild's directory and makepkg -si (you may have to edit the pkgver)... (you can also automate all of this too, i just don't have a link(s) to the archwiki on this, off hand.
anyway, it basically comes down to either having a 32bit chroot, or running a multlib system.
cheerz
Last edited by triplesquarednine (2012-05-14 17:46:58)

Similar Messages

  • [SOLVED]Compiling 32bit C programs on a 64bit arch

    Hi guys, for the first time I decided to use 64bit arch on my machine and so far no complains (I don't think there will ever be). I'm a student of computer engineering  and I use C to code some projects but I haven't found a way to compile 32bit programs on my 64bit arch. Everybody says "just add -m32 flag to the compile step" but I think this is not all I have to do (it doesn't work if I just do that).
    To prove it I have created a simple "hello world" in C:
    #include <stdio.h>
    int main(){
    printf("Hello, World");
    return 0;
    When I try to compile it, I just run
    gcc -m32 hello.c -o hello
    But all I get is
    In file included from /usr/include/features.h:399:0,
    from /usr/include/stdio.h:27,
    from test.c:1:
    /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
    compile finish
    Needless to say it doesn't create the hello executable. Is there some packages I have to install in order to have this happen?
    Last edited by xangelux (2012-07-25 00:24:40)

    xangelux wrote:/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
    Well, you could see that something "-32" is missing so you are searching for 32 bit stuff that is not installed.
    There's a tool called pkgfile which searches in the repository database for a file name and tells you which package it is in.
    In this case, stubs-32.h
    ~ % pkgfile stubs-32.h
    multilib/lib32-glibc
    Maybe another helpful article: https://wiki.archlinux.org/index.php/Ar … ib_Project

  • Win 7 x64 Driver for a 32bit CF Cardbus Adapter (x61)

    Does anyone know where I can get a Win 7 x64 driver for a 32bit CF cardbus adapter mounted in the Lenovo x61 internal multicard reader?
    I am running Win 7 x64 on a Lenovo X61 7675-CTO.  I have an Viking 32 Bit High Speed Compact Flash Cardbuss Adapter inserted in the internal multicard reader.  When I insert a CF card in the reader, I get  "Mass Storage Controller" and "drivers for this device are not installed" error indicators from the Windows Device Manager.   
    This configuration was working fine for me under Win XP x32.  I read the suggestion posted to another thread that one can downgrade to Win 7 x32, but I am hoping for a X64 solution.  I have already installed the "6iio10ww" Intel Matrix Storage Manager Driver for Windows 7 (64-bit).  The problem seems to be that Viking has not released a x64 driver for this product.  It seems Microsoft should have installed the proper driver during the OS install since this device was around before the Win 7 was introduced.
    Can anyone suggest a source for the proper driver or an alternative CF card cardbus adapter known to work with Win 7 x64 OS?

    Thanks!
    Apologies for now double-posting: new thread

  • Building 32bit wine from source

    Anyone know if it is possible to build 32bit wine from source on 64bit arch? There are patches I would like to apply to wine but currently the only way I can install wine on 64bit arch is via bin32-wine which uses the 32bit binary.
    Other distributions this is very easy. It is just a matter of installing all of the 32bit libraries as well as the 64 bit libraries. I used to do this all the time with debian. Now with arch, even installing all of the 32bit libraries it does not seem to work at all. Has anyone been able to do this?
    If someone can point me in the right direction on how to get 32bit wine to compile, i will try to make and maintain a package on the AUR which will do this.

    I needed this a couple of months back but I couldn't find any documentation on this, other than building a chroot. Which seemed too much for me. So instead I booted ubuntu ;(
    But it seems easy now: http://wiki.archlinux.org/index.php/Arc … _Arch64.3F

  • Entered test mode on dv6 pavilion win 7 x64 - cannot exit test mode after many attempts.

    DV6 Pa,vilion laptop running win 7 x64 has experienced 301 imminent disk failure msg without any apparent real issues for past several days.  System is only a year old.  Entered Test Mode as part of diagnostic effort.  Now, regardless of boot option select cannot exit Test Mode.  Any resolution?????

    Windows7 Recovery:
     http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01867418&tmp_task=solveCategory&cc=us&dlc=en&lc...
    If you didn't do so and now can't> create Recovery Disks you can order from HP for a small fee. You will need serial number to order> Guide to Finding System Info
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • How can I print to Officejet 6700 from Win XP x64 computer?

    Purchased the 6700 and conencted to network and prints from Win 7 laptops fine.
    My desktop workstation in HP Z600 running Win XP X64, but cannot seem to get a driver to suit to print over the network.
    I would prefer not to have to trash and replace the OS on the workstation!
    Is there a work-around or some sort of interface that I could use?
    My home network does have a little HP server, but it runs Win Server 2003, which is also incapable to connecting to the printer.
    This question was solved.
    View Solution.

    Hello GeorgeCurran,
    Please follow the below steps that should atleast get you printing ..
    Click START > Control Panel > Printers and Faxes  , then
    Add a Printer > Add a local printer > Select "Create a New Port" > type in the Printer's IP address Click NEXT,
    in the Manufacturing list , select HP / Hewlett packard, and from the right pane , select Deskjet 990c and complete the wizard .
    Now try printing, it should work. 
    Regards,
    Jabzi
    Help the community by marking this post .
    Was your question answered? Mark it as an Accepted Solution!
    See a great post? Give it a Kudos!
    I work for HP
    Regards,
    Jabzi
    Give Kudos to say "thanks" by clicking on the "thumps Up icon" .
    Click "Accept as Solution" if it solved your problem, so others can find it.
    Although I am an HP employee, I am speaking for myself and not for HP.

  • PSE 9 only works with old AIR version on Win 7 x64. Adobe please help.

    I'm hoping that Adobe can jump in and help here as there are some real versioning issues with the components that PSE 9 uses.  I've made a number of posts in the Adobe AIR forum (while I was figuring this out) and have exchanged with Adobe resources regarding my problems with Adobe AIR on Win 7 x64. They are still looking into it.
    PSE 9.0 comes with
         Adobe AIR 1.5.3.9130,
         Adobe Community Help 3.2.1.650 (an AIR app), and
         Adobe Photoshop.com Inspiration Browser 3.07 (an AIR app)
    That  Adobe AIR 1.5.3.9130 is an old version of AIR.  Since then there have been production releases 2.0.2, 2.0.3, and the latest 2.0.4.  If you upgrade to ANY of those Adobe AIR 2.x versions on your Win 7 x64 system, ALL your Adobe AIR apps will stop working.
    Adobe Community Help 3.2.1.650 is an out-of-date version and it continually nags you to update to the newer version.  If you do that, the install will first upgrade Adobe AIR to 2.0.4 and then upgrade Help.  Help will no longer work and all Adobe AIR apps will not work.
    I have installed and uninstalled PSE 9 about 25 times, I have installed and ununinstalled different versions of AIR over 50 times, etc. etc. to come to these conclusions.  I have tested Adobe AIR 2.0.2, 2.0.3 and 2.0.4 and NONE of them work on Win 7 x64.
    I'd really like someone from the Adobe PSE team to look into this.  I don't have time to spend hours on the phone with support.  I have described the problem and can offer more details as necessary.
    Thanks . . . . Brian

    Ankush,
    Thank for your two responses.  I have also received some more emails from Chris Campbell around AIR in particular so I'll try to work with him first.
    Thanks you for confirming that you do not see any errors after installing the updates.  Also that Adobe Help and Inspiration Browser both work after updating AIR to 2.0.4.
    I will answer your questions for now though:
    1. You asked:
    Have you tried this:
    Uninstall PSE 9, PRE 9 and any other CS5 Adobe application.
    Uninstall Adobe AIR.
    Install PSE 9 and run the updates of Adobe AIR and now use the applications?
    If it still gives error, uninstall Adobe AIR and then install the 2.0.4 version directly which is available on Adobe.com.
    What happends now?
         Yes, I have done all of these combinations a few times without success.
    2. The directories for Adobe Help and PIB look fine.  They are
        C:\Program Files (x86)\Adobe\Adobe Help
        C:\Program Files (x86)\Adobe\PhotoshopdotcomInspirationBrowser
    As I said, Chris Campbell has asked me for info and to run some tests.  I'll let you know how it works out.
    Thanks . . . . Brian

  • Win 7 x64 Itunes and Quicktime Running in Task Manager nothing seen! Help

    Ok I'm running out of ideas- I' I have uninstalled multiple time various version of itunes. It upgraded to 10 automatically then a few days ago it wouldn't run. Looking in task manager itunes and intones helper are running. Thought a simple wipe and reinstall would solve it alas no. Been trying all week various reinstalls of different versions, all the same thing occurs, It appears to be a system wide fault. Disabled Bonjour enabled- no difference. Disabled all windows services aside form the apple ones - no difference. Started in safe mode- itunes refused to start. Gave up and reinstalled 7 and it worked until a reboot (and also it itunes store and ipod drivers for Win 7 x64 are not there) where the same probelm occured. Installed airport seeing if it would update the relevant dodgy files in Bonjour.
    Getting sick of finding why this is happening and I can't;t find where this bug is, and I've spent far too long trailing through the web trying to solve this and not one single one has worked so far!
    Please Help!!

    Sorry, Itunes+Quicktime the intaller neither of them will open (they appear to be running in task manager however). Downlaoding the sperate intaller for Quicktime, the installer on its own, then quicktime runs and opens.

  • Printing from Adobe Reader X with HP UPD PCL6 ver 61.107.4.8232 and Win 7 x64

    Hello,
    I have a Windows 2003 32-bit server with HP UPD PCL6 driver, version 61.107.4.8232 installed for several HP P4014dn printers.  I'm running into an issue printing from Adobe X on Win 7 x64 machines.  There is a delay of about 5-10 minutes, per page, before the job is spooled and printed.
    Any thoughts on why this only affects Win 7 x64 machines?  Printing works without any issues on Win XP and Win 7 32-bit machines.
    Thanks in advance.

    This is true when printing a .pdf file opened thru IE and a saved .pdf file.

  • How do you start ituneshelper in win 7 pro without it asking permission

    Trying to find out how to start ituneshelper in win 7 pro without windows asking for permission to run it, if possible

    Hi,
    It depends. Do you have Windows 7 DVD? Does your computer have a Boot from EFI Drive option?
    Windows 7 DVD can boot in either BIOS mode or UEFI mode. Different UEFI firmware implementations support different methods for handling the installation operation. The processes for booting the computer into UEFI mode for the Windows product DVD are
    the same. If you can find a boot from EFI Drive option, please perform the suggestions as i referred to.
    If you cannot find any boot option, perform the steps below:
    Use Device Manager's Firmware option and select Boot from EFI Internal Shell.
    Use the EFI internal shell, as follows:
    Start the EFI internal shell from the EFI boot menu and select the drive with the Windows product DVD. The following example assumes that the drive is Fs0:
    Shell> Fs0:
    Start the EFI boot application. For example, on an x64 system, run the following command:
    fs0:> \EFI\BOOT\BOOTX64.EFI
    After the application starts, you may be immediately prompted to press a key to boot from the drive to continue. Press a key to continue booting from the installation media.
    Andy Altmann
    TechNet Community Support

  • W530 Power Manager for Win 7 x64

    I just installed Power Manager for Win 7 x64 Version 6.64.4 on my new W530 and tried to set Battery Maintenance and there is no button to do so on the battery page.  Why isn't it there and what can I do to get it back?  I mostly use AC and want to maximize battery life.  
    Solved!
    Go to Solution.

    I think you might have to click "Advanced" on the main screen to get the battery maintenence option to appear.
    W530(2436-CTO): i7-3720QM, nVidia Quadro K2000M,16GB RAM, 500 GB hard drive, 128GB mSATA SSD, Ubuntu 14.04 Gnome, Centrino Ultimate-N 6300.
    Yoga 3 Pro: Intel Core-M 5Y70, Intel HD 5300, 8GB RAM, 128GB eMMC, Windows 8.1, Broadcom Wireless 802.11ac.

  • Share printer Win 7 x64 to XP SP3

    My main computer, to which my printer (Epson PX710W) is connected, is running Win 7 x64. I want to share this printer with my wife's remote computer running XP SP3. Network Magic (5.5.5195) just gives a 'Printer cannot be shared' error message. Since there was no problem sharing this printer when I was running 32 bit Win 7, I assume the problem is the 64\32 bit dichotomy. How do I go about solving this? Do I need, for example, to install printer drivers on the XP box, and if so, do I need the 32 or 64 bit version? And how do I go about installing drivers for a printer that is not physically present on the machine?
    Router WRT160N

    wapanap wrote:
    My main computer, to which my printer (Epson PX710W) is connected, is running Win 7 x64. I want to share this printer with my wife's remote computer running XP SP3. Network Magic (5.5.5195) just gives a 'Printer cannot be shared' error message. Since there was no problem sharing this printer when I was running 32 bit Win 7, I assume the problem is the 64\32 bit dichotomy. How do I go about solving this? Do I need, for example, to install printer drivers on the XP box, and if so, do I need the 32 or 64 bit version? And how do I go about installing drivers for a printer that is not physically present on the machine?
    Router WRT160N
    Hi wapanap,
    If your Printer is capable of running Wirelessly or being plugged into the Router, instead of the computer, I would either run Wirelessly or plug the printer into the Router instead of the computer.
    This fixes the problem of connecting through different operating systems.
    Simply install the software for the printer / all-in-one on each computer.
    thecreator - Running Network Magic version -5.5..9195.0-Pure0 on Windows XP Home Edition SP 3
    Running Network Magic version -5.5.9195.0-Pure0 on Wireless Computer with McAfee Personal Firewall Build 11.5.131 Wireless Computer has D-Link DWA-552 connecting to D-Link DIR-655 A3 Router.

  • Win 7 x64 LJ2100tn network install

    I could use some new ideas about installing a Laserjet 2100tn through a network with a Linksys wrt54GS router. Printer works fine on network through XP, with 3 desktops, 1 laptop and 1 netbook.  Tried the HP network diagnostic through XP and it can't find the printer - used Ping and telnet to i.p. address and they can't find it either - but printer WORKS fine. Looks like the printer currently runs under IPX.
    In Win 7 x64 I tried all the new drivers from HP, and installation for PCL 5, 6 and PS but the printer installation routines can't find the printer. Deleted and re-installed about a billion times (roughly) in the last week. Updated router firmware, and drivers for motherboard and ethernet connection.
    I won't switch to Win 7 until I work out some fix for this.
    Thanks to all that can send suggestions.  
    Duff2424

    Try accessing the embedded web server by typing the IP address of the printer in a browser on the PCs. Maybe a firewall on the PC is interfering with the HP software finding the printer and with ping. You could also try temporarily turning off any/all firewall software running on the Win 7 PC to see if this might be the problem.
    You could also try HP's free Webjet Admin software to see if it helps with finding the printer or diagnosing the problem.
    http://h20338.www2.hp.com/Hpsub/cache/332262-0-0-225-121.html
    Also, a few notes for what they are worth:
    1) Window 7 doesn't support IPX (so if you are really trying to use IPX and not using additional software to provide IPX support on the PC, that could be a problem). But the standard TCP port for HP printers is 9100, the software should be trying to send PCL to port 9100 (when it can find the printer). I believe the network implementation in this printer does support IPX and so it could very well be what the XP PCs were set up to use.
    2) This printer uses a JetDirect card for networking. The network diagnostic that I think you are referring to was designed for inkjet printers which use a different networking implementation (mostly the same functionality but different implementation), so this diagnostic might have some troubles working with this printer.
    Hope something here is helpful.
    -David
    (I'm an HP employee, but I am speaking just for myself and not HP.)

  • Memory leak in Skype 7.4.0.102 on Win 7 x64

    Ever since upgrading to the latest version of Skype on my Win 7 x64 box, I've had nothing but issues with Skype having a huge memory leak.  It'll start out running fine when I boot up, hovering around 141K of memory usage (even though I think that's still higher than it should be), but after leaving it open for a while, it will just continue to creep up.  Yesterday I had to kill the Skype.exe*32 process from Task Manager because it was up to 1.2 GB of memory usage.
    Previously it had not gotten that high, but I have seen it as high as almost half a gig.  I've tried all the usual stuff, removing and reinstalling, making sure I'm running the latest version, etc.  The memory leak is still there.  Has anyone experienced this issue with 7.4.0.102?  If so, has anyone found any resolution?

    http://community.skype.com/t5/Windows-desktop-cl​ient/7-3-0-101-CPU-overload/td-p/3950990

  • Win 7 basic upgrade to Win 7 Pro without Anytime upgrade

    Ho do I upgrade my Win 7 Basic to Win 7 Pro without using Anytime upgrade? I have bought a new Win 7 Pro CD with product key but dont want to do a new install.

    FerdieM wrote:
    Thank you Wolfgang.
    The Win 7 basic was a OEM that was pre-installed on the machine. The
    Win 7 Pro is a new full software package bought.
    It seems the only way then is to backup the system and start from new
    by re-installing the Win 7 Pro?
    Such a waste of time. Dont know why machines are sold with such lower
    end versions. Saving money causes too much effort.
    I'd check with your hardware vendor if he can sell you an OEM upgrade
    instead of starting a new install - and if you did not open the
    software package you may be able to get a refund for it - as it is
    obviously not the thing, which you need.
    Wolfgang

Maybe you are looking for

  • Task or script to monitor file ownership, permissions and change as needed

    I'm using a Mac OS X Tiger (10.4.9) computer as a file server for a group of people who are (1) individually non-administrative users and (2) members of Groups. The hard drive is partitioned into 2 volumes: Vol1 has no non-admin access, Vol2 has a Sh

  • I'd like a search keyword-based RSS Feed for iOS apps. Possible?

    It's great that Apple offers a variety of RSS feeds for the iTunes store. I'd like to be able to further hone the feed to particular search-based keywords. For example, limit the top paid apps to just those about dogs or some other long-tail (I did N

  • Billing Plan / Sales Output tax to be deducted at final invoice

    Hello Folks, The scenario is related to construction industry where client billing is triggered via milestone/billing plan. the scenario example is lets say the price is 100USD. After applying 16% tax, the net value will be 116USD. Now, there are tot

  • Graphics that appear when hovering over menu buttons

    Hello, I use to create menus in DVDSP 1 that would allow me to associate a picture with menu text. I would like to do that now, and have the picture show up when the button is either hovered over or selected. This would be in addition to the text cha

  • Metro Ethernet newbie needs help

    Need to configure new 15 site Metro Ethernet network with this physical topology: x=x=x=x=x=x=x=x |oooooooooooooo| X====X-X==x==X |oooooooooooooo| x======x======x x=7604, X=7606 = 2x 10Gb Ethernet - 2x 1Gb Ethernet This network will provide metro eth