Slashdot Mirror


Fun With Wine

taviso writes "Ever wondered what would happen if you could compile and run cygwin under wine ? What about compiling wine under cygwin ? well these guys have, and are planning to nest the two environments as many times as possible to see if wine can take the strain, and not without good reason: 'Having such virtualization environments run within each other is an important milestone in the lives of these projects, it is a remarkable technical feat that requires a great deal of maturity'. "

116 of 263 comments (clear)

  1. What's this? by QuietRiot · · Score: 4, Funny

    What's this, cygwine?

    1. Re:What's this? by stefanlasiewski · · Score: 3, Funny

      Fine Wine and Cygars?

      --
      "Can of worms? The can is open... the worms are everywhere."
    2. Re:What's this? by jez9999 · · Score: 2, Interesting

      I've been wondering for a while now; isn't WINE kind of illegal? Why hasn't Microsoft cracked down on it yet? This is no attempt at a troll, BTW, just genuine curiosity.

      I mean, WINE is attempting to perfectly imitate the Windows API. This seems to me like a breach of copyright. Microsoft create an API and its functionality is copied identically by another application? It actually seems like MS have a genuine case, for once, at legal action. Looks like WINE is doing to Microsoft what Microsoft have done to a lot of competitiors - steal their intellectual property.

    3. Re:What's this? by OneEyedApe · · Score: 4, Insightful

      I have not looked into this, but I would suspect that they are employing a method similar to that of the Samba team. In otherwords, you treat the program (or libraries) in question as black boxes. Put X in, get Y out, then write a function F such that F(X) = Y. The idea is to mimic the functionality, without looking at the actual code.

      --
      Life sucks, but death doesn't put out at all....
      --Thomas J. Kopp
    4. Re:What's this? by stefanlasiewski · · Score: 4, Insightful

      I believe that you are allowed to emulate an interface, as long as you can prove that the code underneith is unique.

      This is why IBM produced Intel-like chips for such a long time.

      And today, you can run a Windows or Linux system on top of either Intel or AMD chips. You don't need to install a whole other OS. Why? Because the AMD chip emulates the Intel interface.

      --
      "Can of worms? The can is open... the worms are everywhere."
    5. Re:What's this? by ChiPHeaD23 · · Score: 2

      Apple lost.

    6. Re:What's this? by stefanlasiewski · · Score: 3, Informative

      You can sue all you want, but it doesn't mean that are right or that you will win.

      Apple sued, but they lost., because Apple was not the inventor or the GUI interface. They borrowed the GUI idea from the Smalltalk project which was created by Xerox and PARC.

      --
      "Can of worms? The can is open... the worms are everywhere."
    7. Re:What's this? by zmooc · · Score: 2

      They're copying it and the only problems they may face are equal to when they'd be copying cola from CocaCola; as long as they don't call it CocaCola and don't use patented things in it, they're fine. So they may run into problems with software patents, product names etc. but not for just implementing a windows api.

      --
      0x or or snor perron?!
    8. Re:What's this? by arkanes · · Score: 2

      Look and feel is a trademark issue, and doesn't apply to interfaces. The copyright belongs on the code itself, again, not in the interfaces. Patents are about the only thing that can catch them, and MS has hisorically shied away from using patents to slap people down. Nothing illegal about reverse engineering. As long as they don't look at the MS code, they're in the clear.

  2. Wonderful. by aussersterne · · Score: 3, Insightful

    So I can nest to infinite levels cygwin and the free version of Wine, giving me access to the Linux commands I already have in Linux, only now I have them available to me n+1 times at progressively "deeper" levels. I can dig arbitrarily deep in nested environments and run 'ls'. Huzzah!

    But I still cannot run MS Office or Internet Explorer or most games in Wine. D'oh!

    --
    STOP . AMERICA . NOW
    1. Re:Wonderful. by xanadu-xtroot.com · · Score: 5, Informative

      But I still cannot run MS Office or Internet Explorer

      What are you talking about? Of course you can

      --
      I'm not a prophet or a stone-age man,
      I'm just a mortal with potential of a super man.
    2. Re:Wonderful. by brunes69 · · Score: 5, Informative

      MS Office and IE both run fine in Wine. IE of course only runs if you have an existing Windows install. And all the games I care about (like Warcraft III and Max Payne :P) work fine in WineX

    3. Re:Wonderful. by aussersterne · · Score: 2

      Notice that I mentioned "the free version of Wine."

      Yes, I can pay for an aftermarket Wine to run Office, but I can also run MS Office and Internet Explorer in Win4Lin, as well as Photoshop (which codeweavers can't help me with), so even paying $$, Wine comes out loser.

      --
      STOP . AMERICA . NOW
    4. Re:Wonderful. by garcia · · Score: 2

      I am not at all interested in paying for the crossover plugin.

      The point for me of getting away from Windows is the pay factor. If I've already paid for Office, why would I want to spend ANOTHER $55 to get it to work under Linux?

      I might as well keep Windows and just run it there for the same price as I paid for it.

    5. Re:Wonderful. by IamTheRealMike · · Score: 2
      MS Office and IE both run fine in Wine. IE of course only runs if you have an existing Windows install.

      Untrue also :) Jeez, looks like half of slashdot hasn't actually used Wine. I have IE6 running at work just fine, although I do have a dual boot system CrossOver isn't using anything from my XP installation. You just need to get the installer and install it as normal. Doesn't work perfectly, but it's good enough for web development which is all I need it for.

    6. Re:Wonderful. by aussersterne · · Score: 5, Interesting

      I don't know which version of wine you use. But I have downloaded every Wine release, compiled, installed, and run it. I want Wine to work. I read the Wine Weekly News. It would be nice to be able to abandon Win4Lin's "windows in a window" environment in favor of individual application windows.

      But I can still not get the Office installer or the Inernet Explorer installer or the Photoshop installer to run.

      I've even tried several times using Wine with the filesystem created by Win4Lin, which had an "already existing Windows install" containing Office and IE and PS. No dice.

      Here and there (mostly on /.) I hear of people who are able to use Wine to run every last Windows application under the sun. "Wine works great, and it works great now!" they say. But I can't get most any application installers to work with Wine, even with the latest releases. And no Web sites out there exist that give any hints, beyond DLL games that also don't produce desired results.

      If you have nice, step-by-step instructions for getting Office 2000 and Internet Explorer 6 and Photoshop 6 to install and run in Wine, please post them here! The Linux community will be very grateful, as this would allow a large number of people to migrate to Linux by using Wine to run their important applications.

      Yes, you can buy Crossover Office for some increased (yet still limited) application support. And you can buy into the Transgaming situation for some increased (yet still limited) gaming support. And you could even buy WordPerfect Office 2000 for Linux for a while, which used wine for some increased (yet still limited) application support. But that's a lot of $$, a lot of different installations of wine on a single system, and still no Photoshop 6!

      --
      STOP . AMERICA . NOW
    7. Re:Wonderful. by boy_of_the_hash · · Score: 4, Funny

      Look on the bright side.

      At last a perverse heterogeneous enviroment exists that allows developers to draw on the combined flaws and incompatabilities of linux, windows, cygwin and wine. Which (aside from the uber-cool element), is a boon for masochistic developers everywhere. Perhaps this will spur a new breed of coders that are the cyber-culture equivilent of flagellation cults.

      Then again, I probably should go a little easier on the wine.

    8. Re:Wonderful. by Spoing · · Score: 5, Informative
      Yes, with the GPLed version of Wine available at the main Wine site. Codeweavers puts polish on the GPLed version by adding an installer including tweaks. The effort they put into it is worth it.

      To make this clear, here are links for running MS Word, MS Excel, and MS IE under Wine without paying any money to Codeweavers or any other company. You do pay with your time, though.

      --
      A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
    9. Re:Wonderful. by Monkelectric · · Score: 3, Funny
      I am not at all interested in paying for the crossover plugin.

      I to am frustrated at the difficlty of finding linux waerz :D

      --

      Religion is a gateway psychosis. -- Dave Foley

    10. Re:Wonderful. by brunes69 · · Score: 2

      When I try this it tells me that internet explorer cannot be installed on this version of windows

    11. Re:Wonderful. by isorox · · Score: 2

      I to am frustrated at the difficlty of finding linux waerz :D

      Word is the hacker/terrorist site www.freshmeat.net has lots of software to download. Do there before the feds do!

    12. Re:Wonderful. by IamTheRealMike · · Score: 3, Informative

      Hmm, odd. Make sure Wine is set to be emulating Windows 98 not 95

    13. Re:Wonderful. by cgleba · · Score: 2

      BTW I've found that the latest CVS from the wine project (make sure to use --enable-opengl) tends to be more stable, faster and runs more programs then WineX CVS. The only exception to this is any game that *only* uses DirectX. In that case WineX wins by a large margin.

      As for the previous complaints about Office2000, IE6 not working, I have yet to have any luck with either of those (I don't have a need for either; it is just amusing to play with wine). . .*but* Office97 and IE 5.5 work superbly and I don't see a massive feature difference (other then pretty stuff) to warrant the need for O2k. . .but then, too, I don't use office (AbiWord rocks!).

    14. Re:Wonderful. by +A.OS.L.S_Bozo+ · · Score: 2, Informative
      Yes, you can buy Crossover Office for some increased (yet still limited) application support.
      ...and still no Photoshop 6!
      Like this? or this?
      As you can see from those screenshots, I've had success getting PS 6.0 to work from within Codeweaver's "Crossover Office". It starts & runs without issue. I also tried a few different filters, and they worked.

      However, every time I attempted to modify the default user colors, it crashed without hesitation.
      YMMV.
      --
      +Chiron+
  3. Cute title but... by Anonymous Coward · · Score: 4, Funny

    Imagine parents checking the browser history and discovering their 14-years-old read a page called "Fun With Wine".

    1. Re:Cute title but... by isorox · · Score: 3, Funny

      Imagine parents checking the browser history and discovering their 14-years-old read a page called "Fun With Wine".

      Knowing parents they'll stop the kids using the computer. Knowing kid's, (s)he'll whine.

      *groan*

  4. Wine's maturity as a product isn't quite enough... by JessLeah · · Score: 5, Interesting

    Wine has come light-years since I first used it, years and years ago... yet every time I try to use it to run some arbitrary WinThing, inevitably I can't figure out how to make it work, or I try feeding it every DLL/etc. it needs, and then it segfaults. Or just doesn't work.

    I read these stories of people doing absolutely astonishing things using WINE, but what the rest of us (who only have a need to touch WINE when there is something that they Must Have that isn't available for Linux-- in my case, it was the FightAIDS@Home distributed-computing client) really need is a good, central repository of "How to get Program X to work under WINE" mini-tutorials.

    Anyone here work on WineHQ and can comment on this?

  5. No... by mumblestheclown · · Score: 3, Insightful

    'Having such virtualization environments run within each other is an important milestone in the lives of these projects, it is a remarkable technical feat that requires a great deal of maturity'.

    No, it's a party trick. Milestones include running actual applications that matter and getting large numnbers of users to use the emulators as a bridge from one OS to anther.

    FWIF, Since 1995-1996 or so I've had linux people telling me about how wine is close to obsoleting my windows systems. Hence, my skepticism. These emulators always seem to be amazing technical accomplishments, yes, but like Soviet televisions made of vaccuum tubes for sale at Best Buy, not ready for prime time by anybody but tinkerers. The problem is exacerbated by the fact that they are chasing a moving target..

    1. Re:No... by glwtta · · Score: 2, Redundant
      These emulators always seem to be amazing technical accomplishments

      Just to start the pedantry rolling - WINE isn't an emulator, it's an API implementation.

      --
      sic transit gloria mundi
    2. Re:No... by Ed+Avis · · Score: 5, Insightful

      If you have a Windows box, this is an important step forward in the quest to Run Everything Under Cygwin. You can try out your existing apps to see if they work under Wine. If eventually you manage to get all your applications working on top of Cygwin (including some or fewer through Wine), then you can yank away the bottom two layers and switch to a Unixlike OS.

      --
      -- Ed Avis ed@membled.com
    3. Re:No... by dinivin · · Score: 2

      An emulator is something that duplicates the environment that an application runs in.

      That's from the Wine FAQ. It goes on to say that Wine doesn't attempt to duplicate the environment.

      However, the simple fact of the matter is that I have a shit load of wine libraries on my computer designed specifically to emulate their windows counterparts. As such, WINE most certainly is an emulator.

      Dinivin

    4. Re:No... by John+Ineson · · Score: 2, Informative
      The problem is exacerbated by the fact that they are chasing a moving target..
      Nope.

      "By the way, a lot of people think that the Windows API is too much of a moving target for WINE to catch up. As a Windows developer, let me say, this is rubbish. Almost every Windows app out there is tested on Win 95 to make sure it runs decently on the entire 32 bit Windows product line. If WINE could ever catch up to Win 95, they would be almost completely done. The target hasn't moved anywhere since August, 1995." -- Joel Spolsky

    5. Re:No... by bigdavex · · Score: 2, Funny

      No, it's a party trick.

      All of slashdot wants to know -- Are there girls at these parties?

      --
      -Dave
    6. Re:No... by Per+Wigren · · Score: 2

      FWIF, Since 1995-1996 or so I've had linux people telling me about how wine is close to obsoleting my windows systems. Hence, my skepticism.

      The problem is that Windows is a moving target. I'm sure you can run the apps from 1995-1996 pretty perfectly, but the problem is to always support the latest and greatest stuff from MS.

      --
      My other account has a 3-digit UID.
    7. Re:No... by z4ce · · Score: 2

      How did this get Score: 3 and no moderation type, i.e. no Insightful, Interesting, Underrated... it's just "Score: 3" slashcode bug here?

    8. Re:No... by isorox · · Score: 2

      Soviet televisions made of vaccuum tubes

      My word! Do they have screens too?

    9. Re:No... by Darren+Winsper · · Score: 2

      I think he's wrong. There's plenty of Windows software that doesn't work on Windows 95 these days, especially if it doesn't have things like IE5 on it.

    10. Re:No... by glwtta · · Score: 2
      specifically to emulate their windows counterparts

      The word you are looking for is "duplicate" not "emulate", both in everyday English and in computer terms. The latter is more specific in that "emulation" usually applies to hardware (GNU/Linux and Windows run on the same platforms in this case, there is nothing to emulate)

      Anyway, it seems this is already "redundant", I am not sure what you are trying to prove. Is the WINE team mistaking in that they are not building an emulator? Do you, in fact, know better?

      --
      sic transit gloria mundi
    11. Re:No... by dinivin · · Score: 2

      Do you, in fact, know better?

      Anyone with a decent understand of English knows better. Just because I may claim to be the reincarnation of Ben Franklin, that doesn't make it true. Just because they claim not to be an emulator, that doesn't that true either.

      Dinivin

    12. Re:No... by dinivin · · Score: 2


      Hey asswipe, I know what the name means.

      Dinivin

  6. Is this really all that important? by Spazholio · · Score: 2

    This seems more like a "proof of concept" situation than something that's really important. I understand that it shows a relatively clean program, but when would something like this be necessary or applicable in the real world (ie - repetitively nesting cygwin and wine)?

    1. Re:Is this really all that important? by frostgiant · · Score: 3, Insightful

      >but when would something like this be necessary
      >or applicable in the real world (ie >repetitively nesting cygwin and wine)?.

      If you have to ask, you are missing the point.

    2. Re:Is this really all that important? by Spazholio · · Score: 2

      >If you have to ask, you are missing the point.

      I asked, so therefore I AM missing the point. The reason I asked was to be enlightened. Does this have a real-world application? Or is it just a simple, "Hey, look what we can do!" sort of thing? If it's the latter, I get it. If the former, then I don't.

  7. Er... correct me if I'm wrong, but... by 26199 · · Score: 4, Interesting
    ...from the page:

    Compile & run Cygwin under Wine in Linux

    This provides an a good test case for Wine. It is tough, but we do have the Cygwin source code, and we have a good chance to understand why it does not work.

    So they have a good chance of understanding why it doesn't work?

    Forgive me if I don't find that *overly* impressive :-)

  8. Re:doubts about future of wine by bellings · · Score: 5, Informative

    Microsoft can snap it any time. All they need to do, is to change thier APIs and making them incompatible.

    Uhh... perhaps you've been living under a rock for the last two years? They did change all of their APIs to make WINE obsolete. Here are the new ones: http://www.microsoft.com/net/

    --
    Slashdot is jumping the shark. I'm just driving the boat.
  9. Wow by Apreche · · Score: 3, Interesting

    these guys have some skills. I know it's probably just because I don't know how, but I can't even get X to work with cygwin, or anyting other than solitaire to work in wine.
    This reminds me of the time when I sshed to one machine, then telneted back to the machine I was on, and kept on telneting and sshing to as many machines as I could to see what would happen. Th results weren't as exciting but it was still fun.

    --
    The GeekNights podcast is going strong. Listen!
    1. Re:Wow by RevAaron · · Score: 2

      Heh. You have a strange idea of a fun Friday night. :)

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
    2. Re:Wow by hughk · · Score: 2

      I guess that wasn't recent. I have had X working under Cygwin from even before they had the installer integrated. Nowadays, it is easier. With wine, it is just a matter of fiddling, or spending money on WineX or something.

      --
      See my journal, I write things there
  10. Does not work like that by The+Raven · · Score: 5, Informative

    To break Wine, they need to break backwards compatibility. Their existing MASSIVE market of users and companies that use old programs on new Windows will prevent them from ever doing this like you say.

    --
    "I will trust Google to 'do no evil' until the founders no longer run it." Hello Alphabet.
    1. Re:Does not work like that by ion++ · · Score: 2

      Does it ?? Really ??
      I seem to remember that the latest Office, version 11 ? will only run at XP and win2000. And since office 11 contains a brand new fileformat, that office xp and older offices cant read, they have defacto forced you to upgrade by breaking backwards compability.

      Yes i'm aware that default wine doesnt run office.

    2. Re:Does not work like that by Mac+Degger · · Score: 2

      Carefull...they pretty much did that with windows 3.11-->win95. Plus their last statement about security (we'll break your programs to fix our problem) gives 'em carte blanche.

      --
      -- Waht? Tehr's a preveiw buottn?
    3. Re:Does not work like that by IGnatius+T+Foobar · · Score: 2

      To break Wine, they need to break backwards compatibility. Their existing MASSIVE market of users and companies that use old programs on new Windows will prevent them from ever doing this like you say.

      Right. Breaking backwards compatibility is a bad thing. They couldn't, for example, just wake up one day and decide that the new version of MS Office will run on Windows XP and Windows 2000SP3, but not on earlier Windows 2000 releases, nor on Windows XP or Windows 95/98/ME. API backwards compatibility is there for a reason, right?

      --
      Tired of FB/Google censorship? Visit UNCENSORED!
  11. Try this by mfos.org · · Score: 3, Funny
  12. Re:doubts about future of wine by Cid+Highwind · · Score: 4, Interesting

    I have serious doubts about the future of wine. The wine project may have achieved many milestones, but Microsoft can snap it any time. All they need to do, is to change thier APIs and making them incompatible. And if it makes bussiness sense, believe me, they will.

    They already have in a way. Wine is still working on the Win9x API, so software that needs the newer Win2k or XP interfaces won't run. This may not be a big deal yet, but MS already announced (sorry, I don't have the link handy) that Office 11 will *not* run on Win9x, it will be 2k or XP only.

    Wine as a platform for running old apps will live on, but wine as a viable alternative to buying windows is stuffed, IMHO.

    --
    0 1 - just my two bits
  13. Re:doubts about future of wine by RevAaron · · Score: 2

    But luckily, we have Mono and dotGNU and the benefit of a more-open spec with .NET.

    --

    Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
  14. Re:Is cygwin an emulator? by spinkham · · Score: 3, Informative

    from cygwin.com:
    Cygwin is a UNIX environment, developed by Red Hat, for Windows. It consists of two parts:
    # A DLL (cygwin1.dll) which acts as a UNIX emulation layer providing substantial UNIX API functionality.
    # A collection of tools, ported from UNIX, which provide UNIX/Linux look and feel.

    Basically it lets you compile unix programs on windows and run them with the cygwin .dll.

    --
    Blessed are the pessimists, for they have made backups.
  15. try winesetup by leehwtsohg · · Score: 5, Informative

    I had the same problem, sometime I would manage to get something running, mostly not.
    Now the standard (unstable) debian install comes with winesetup, which sets up a nice working wine installation (works a bit better of you have windows installed)
    Try to install winesetup (a contribution from codeweavers)...

  16. Re:Is cygwin an emulator? by Raiford · · Score: 2
    Cygwin is an actual emulation layer. It resides as a DLL on your Windows box that provides a unix-like environment with more functionality than just a set of unix-like tools. You can actually run unix-like daemons (inetd, ssd, etc) and set up an Apache server. I use cygwin to run Xfree86 on a windows box that is networked to a linux machine I have. I use the Xserver under cygwin to work with the Xapps on the linux machine while I am working under XP.

    --
    "player 4 hit player 1 with 0 stroms"
  17. Turtles, all the way down... by Jack+William+Bell · · Score: 3, Funny

    So, is my attempt to use my /. journal as a weblog kinda the same thing? I wonder if someone could use the comment section in one of my entries as a mini-/. ? Then someone could use the comments to that for a weblog and...

    I gotta stop now. My head hurts.

    Jack William Bell

    --
    - -
    Are you an SF Fan? Are you a Tru-Fan?
  18. Emulation Rush by RAMMS+EIN · · Score: 2

    So...can I use my Mac to run VirtualPC, run Linux on it, and use WINE and Cygwin to run and develop Windows apps?

    --
    Please correct me if I got my facts wrong.
  19. Great! by flikx · · Score: 5, Funny
    A new level for my evil pile!

    Windows -> VMWare -> Linux -> Wine -> Cygwin -> Wine.

    And finally, a stable, enterprise-ready solution for running my Windows applications.

    --
    One future, two choices. Oppose them or let them destroy us.
  20. Re:doubts about future of wine by Angry+White+Guy · · Score: 2, Insightful

    MS has more than just announced that Office 11 won't run under 9x, they've pretty much stated that, due to security concerns, most new software will not operate under 9x. They are attempting to force a change, and hopefully it will increase stability (and revenues, but that's beside the point, right?) as games and applications are written solely for the nt-core os'es.

    --
    You think that I'm crazy, you should see this guy!
  21. Believe it or not... by shaitand · · Score: 2, Funny

    I've done this and tests like it under various emulations of systems, yes mostly because I was bored and it is definately useless. What ever happened to geeks who tried to do difficult things... just to see if they could and to hell with practical purpose?

    1. Re:Believe it or not... by Mac+Degger · · Score: 3, Interesting

      As Max Planck once said: basic research is when I don't know what I'm doing.

      --
      -- Waht? Tehr's a preveiw buottn?
  22. wrong by tanveer1979 · · Score: 2

    managers have fun with wine, we developers have to make do with beer ;-)

    --
    My Aurora : http://www.youtube.com/watch?v=o91ZsGwJYyg
    FB : https://www.facebook.com/TanveersPhotography
    1. Re:wrong by nitehorse · · Score: 2

      make: *** No rule to make target `do'. Stop.

  23. Re:Wine's maturity as a product isn't quite enough by IamTheRealMike · · Score: 3, Informative
    Anyone here work on WineHQ and can comment on this?

    Actually the WineHQ site is being redesigned at the moment (I'm not a major contributor but am on the lists).

    The best tip for using wine is simply - buy it. WineHQ wine hasn't had much effort put into end user usability, it's much like the raw Linux kernel, it needs wrapping up with lots of utilities and quite a few "hack patches" for it to do everything the users demand. I have 2 installations of Wine on my machine, CrossOver and Wine CVS. Guess which works better.

    Often, a few little things can make a program work better if it doesn't work properly with a standard CodeWeavers install. For instance: WinZip works fine until you open a zip with a message in it. Why? Because it's missing a RichEdit control (wine has no replacement for it yet). You could fiddle with config files and make it use a native riched40.dll, but an easier way is to google for it, find allerasoft.com and download it from there. Run the RichEdit update .exe in Wine, and now you have the control and WinZip works perfectly.

    The Apps DB is the best place to look for tips like this, each app that is known about in the database has a score and a comments section for users to swap tips.

  24. I only have this to say: by Henry+V+.009 · · Score: 2

    World's best honeypot!

  25. Why run the whole thing under x86? by Anonymous Coward · · Score: 2, Funny

    Virtual PC emulates a PC perfectly, so that you can run windows 2000 or a linux distro on it just as though it were a PC.

    I say, run The Sims under WINE under CYGWIN under WINE under {Linux Distro} under Virtual PC under Mac Os 9 environment under Mac OS X.

    And not pay Microsoft a penny.

    1. Re:Why run the whole thing under x86? by IamTheRealMike · · Score: 2

      Er, because 1) it's slow as hell, and 2) you have to pay for Windows?

  26. XBOXBochsLinuxWineWin98Virtual PC... by Doomrat · · Score: 5, Funny

    How about installing Linux on an XBox, running Bochs on it, installing Linux onto the Bochs machine, running Virtual PC under Wine, installing Windows 98 on Virtual PC, running WinUae on it, installing Linux onto the emulated Amiga, running Bochs on the emulated Amiga...

    OR you could go out and have sex with a woman, one with breasts and everything.

  27. wine on osx by squarefish · · Score: 2

    I know this may be a bit offtopic, however I've been trying to find out if wine is usable under osx. Has anyone done this or know of any sites covering this? I've tried google without any luck. Thanks

    --
    Creationists are a lot like zombies. Slow, but powerful and numerous. And they all want to eat our brains.
    1. Re:wine on osx by IamTheRealMike · · Score: 2

      Wine is not usable on a Mac, and probably won't be for a very very long time. I believe that it was a lot of work just to get Winelib working on Linux PPC (ie so you can recompile windows apps if you have the source on linux/ppc), mainly because Wine does funky stuff with assembler, various low level things and so on. If you're on a Mac, you'll have to use Virtual PC to run Windows apps, and buy a copy of Windows.

    2. Re:wine on osx by taviso · · Score: 4, Informative

      yes and no, wine provides low-level binary compatibility, not hardware emulation, so its only for OSes running on x86 chips.

      winelib, however, is aiming for cross-platform compatability, so its possible you can compile windows software and link it with winelib for use on osx.

      --
      ex$$
    3. Re:wine on osx by iabervon · · Score: 2

      Wine on OS X will run all your G3 Windows programs. Unfortunately, none have been developed, so it's not well tested. Wine is no emulator; it's a program which provides the services to other programs that Windows does. The programs have to run on your actual hardware.

      Actually, Wine would probably work well on an x86 version of OS X...

  28. One day... by fade · · Score: 3, Interesting

    This kind of virtualisation stress test is interesting, but largely academic. I'm still waiting for the day when it is less hassle to load the (very few) windows applications I need under wine than it is to reboot my workstation to deal with those tasks under windows. Screwing around with wine to get it to load even small windows applications is one of the most frustrating things I can think of in association with *nix systems. I hear good things about the transgaming stuff, but it obviously hasn't made it back into the main branch of the wine tree. The promise of wine has been hanging out there for a lot of years now; I'm just wondering if perhaps they're trying to build a glass house on quicksand.

  29. Why? by defile · · Score: 2

    If you can nest the environments ten times, what is to be gained (scientifically) by doing it one thousand times?

    1. Re:Why? by kscguru · · Score: 3, Informative
      • Optimization - a 10% slowdown will be magnified exponentially, and thus will be easier to find (and replicate)
      • Reliability - remember how everyone (er... competent admins) load-tests servers so that they could handle a Slashdot-effect load? Theoretically, someone could have an interest in running many, many concurrent applications under Wine - what better way to flush out the bugs in the system than to give it an extreme load?
      • Extensibility - a well-designed system will degrade gracefully under extreme loads. If it doesn't (i.e. it degrades exponentially), then the code probably needs to be reworked to be more efficient.

      But things like this typically follow a scale:
      1) does it work period? (i.e. can cygwin run under wine - 1 nesting)
      2) does it work in the small-number case (i.e. 2-5 nestings, or thereabout)
      3) does it work in the extreme case? (i.e. 10^(2-5) nestings) - which means that most inefficiency bugs are flushed out and the design scales well

      Just about every system can fit into one of these categories - but only the most robust fit into #3. Example: Linux threading. Right now it passes 1 (you can multithread), passes 2 (having a number of threads/process under ~100 doesn't really change performance), but fails 3 (the 2.5 kernel developers are working on that one right now - but ~10,000 kernel threads will bring the system to its knees).

      --

      A witty [sig] proves nothing. --Voltaire

    2. Re:Why? by defile · · Score: 2

      Very good points. Thank you!

  30. Emulator in emulator in emul... by weird+mehgny · · Score: 5, Funny

    ...finally something (other than Doom 3) that gives us a use for the 3 GHz P4.

  31. Re:Wine's maturity as a product isn't quite enough by Spoing · · Score: 2
    I read these stories of people doing absolutely astonishing things using WINE, but what the rest of us (who only have a need to touch WINE when there is something that they Must Have that isn't available for Linux-- in my case, it was the FightAIDS@Home distributed-computing client) really need is a good, central repository of "How to get Program X to work under WINE" mini-tutorials.

    A single guide for each and every program would be impossible to keep updated. Like most people, I have never heard of most Windows programs including the one that you mentioned above.

    The next best thing is the Wine Application Database. The appdb lists specific programs and you can add yours to it so others know how well or poorly the programs you are interested in work.

    Tip: If you search for the message that appears when the program fails to run, you might get directions on how to install another program that is similar and does work with Wine. (Then again, you might not...can't say!)

    The Wine FAQ has been updated reciently, and the Wine Knowledgebase is still helpful.

    Note: The Wine-FAQ link listed above may move.

    --
    A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
  32. MODUP: Guide to running Photoshop, IE, Kazaa... by MarkWPiper · · Score: 5, Informative

    http://www.frankscorner.org/wine/ is an incredible resource. Check it for info on how to run all of those hard-to-make-work programs. He even shows how to get WineX working for free :-)

  33. Re:What the hell does this mean? by Raiford · · Score: 2
    It's availible and I am using it right now. I am running Xfree86 on top of CYGWIN on an XP box. I am using mozilla via a PII box running linux with a remote Xsession setup on the XP machine using CYGWIN/XFree86.

    --
    "player 4 hit player 1 with 0 stroms"
  34. Milestone target: Running .NET over Wine by Glorat · · Score: 2

    It's not as bad as you make out. The .NET CLR runs on top of the Win32 API and is not a replacement. Therefore, in theory, a fully working WINE will allow .NET to run straight on top of WINE. In fact, there are attempts in the Mono project to use WINE to enable WinForms on Linux. If .NET can run on WINE, that would be a major achievement and it certainly isn't impossible

    1. Re:Milestone target: Running .NET over Wine by smallpaul · · Score: 2

      The .NET CLR runs on top of the Win32 API and is not a replacement. Therefore, in theory, a fully working WINE will allow .NET to run straight on top of WINE.

      Do you think that the .NET license will allow that? If not, then you have to duplicate all of .NET in order to support .NET applications. In other words there is a whole new API that over time will make WINE obsolete. On the other hand, the Windows API was invented years before the WINE project started whereas Mono is only months behind .NET. So it is at least conceivable that there will be a complete open source .NET clone before there are even many popular programs that depend upon .NET.

  35. Re:Wine's maturity as a product isn't quite enough by acm · · Score: 4, Insightful
    I read these stories of people doing absolutely astonishing things using WINE, but what the rest of us (who only have a need to touch WINE when there is something that they Must Have that isn't available for Linux-- in my case, it was the FightAIDS@Home distributed-computing client) really need is a good, central repository of "How to get Program X to work under WINE" mini-tutorials.

    I was interested in your FightAIDS@Home cause, and looked up their website, but was really turned off by this excerpt of their webpage:

    Entropia, a for-profit corporation, believes in "profit with a purpose". Like oxygen, profit is necessary to survive and grow, but it is not the reason for existence. Occasionally, Entropia's software will run commercial tasks on your computer, which in turn allows us to support this and other non-profit causes, like FightAIDSatHome. Entropia will continue to invest significantly in human and technological resources to drive the science of distributed computing toward ever-greater knowledge, understanding, and exploration of science, technology, and the arts.

    What exactly is included in "commercial tasks." It seems to me that if I'm donating *my* spare computer cycles, and *my* electricity, you shouldn't take advantage of that by profiting from it. Oh well...

  36. Wine q&a by IamTheRealMike · · Score: 5, Informative
    I see a lot of posts saying how Wine never works for them etc, how Wine will never catch up with Microsoft and so on. I'd like to dispel a few myths I see.

    The first one is that Wine is hard to make work. Well, it's like Linux you know, if you go get a release from WineHQ it's like getting Debian or Gentoo, great for power users but it requires quite a lot of effort to make it work well. It's all there though, you can sit down and beat WineHQ releases into running Office or IE. It just takes effort and skill.

    For the rest of us, companies like CodeWeavers are for Wine what RedHat is for Linux. They add bits, integrate it nicely, give you support. As a concrete example of what they add, they have a nice app (officesetup) which presents you with a list of apps that are installed a la "Add/Remove programs". If you use this program to install an app as opposed to running the setup.exe directly, icons will be added to your menus and desktop, and file associations will be automatically setup for you. Wine doesn't have this (yet).

    Another thing is that WineHQ has no code for automatically performing a "reboot". Stuff like IE needs some actions to be performed when you reboot the machine (the RunOnce sections). WineHQ releases don't have any code for this, so you'd have to manually read the registry entries and files and do it yourself, hence the fact that most people fail.

    WineHQ will get this code. One of the targets for Wine 1.0 is that it's easy to use. For now though, you need to buy CrossOver Office for the best overall Wine experience. It's unfortunate that you have to buy a separate product for games, but that's one of the perils of BSD licensing, it allows forks like that (fyi wine is now lgpl).

    Another myth is that wine can never catch up with Microsoft. That actually isn't true, if anything we're moving as fast as, if not faster than Microsoft right now. There are a few large projects left and then Wine basically has a mostly complete implementation of the Windows APIs. Such projects include a richedit control (effectively a mini word processor), RPC (being worked on now), DirectX (an lgpl implementation, parts are available but d3d is only like 10% done), a WinHelp app and so on. After that, it's pure bugfixing all the way.

    So what are Microsoft doing? Well they're working on .NET of course, the Windows APIs are horrible and .NET is a way of making them easier to use. But we have that covered as well with Mono, in fact for System.Windows.Forms Mono is using the Wine controls library. Mono is moving at an astonishing pace, it has lots of volunteers working on it. But it needs more developers as always (wine that is), and one problem is that getting Wine working well enough to hack on it is hard. Catch 22 in a way. Don't be put off though. Wine is cool, and remarkably advanced.

  37. That gives me an idea... by Anonymous Coward · · Score: 2, Interesting

    Would it be of any significant speed benefit to build an engine to recompile software to run in linux native code, rather than "wineulating" (for lack of a better word, since wine is not an emulator) windows native code in real-time?

    1. Re:That gives me an idea... by bluGill · · Score: 2

      No, wine is NOT an emulator. Wine is an implimentation of all the windows libraries, plus an extention to linux that allows windows programs to run. In effect a windows program running under Wine is just as native to linux as a Gnome program. Both use external libraries to make themselves work. (Note, the only flaw in this argument is linux doesn't know how to directly execute windows programs, but that is trivial to solve if anyone wants to do it) There is no theroretical difference between a windows program calling Wine libraries, and a Gnome program calling GTK libraries. (Theory often differes from reality though)

      An emulator is different. Bochs, virtualPC, and similear prodcuts are emulators, and benifit from compiling to native code. Windows programs are already native X86 programs, and that is where the benifit of compiling comes from.

  38. Re:Is cygwin an emulator? by Meowing · · Score: 2

    It's not a full-fledged emulator in the sense that there's a VM, but there is a mostly complete Unix API and the filesystem gets mapped. One side effect of not being an emulator, is that Cygwin does allow you to use the native Windows APIs. Checking for API leakage could be interesting -- is a program using the native function, or an emulated version?

  39. how about running MySQL under Cygwin? by drugdealer · · Score: 2, Interesting

    I'd really like to see this.

    1. Re:how about running MySQL under Cygwin? by cant_get_a_good_nick · · Score: 2

      It's not exactly what you asked for, but PostgreSQL has been installable from the default Cygwin setup tool for quite some time. You have to install cygipc though.

  40. Re:MODUP: Guide to running Photoshop, IE, Kazaa... by sbaker · · Score: 2

    His instructions seem to require you to check out WineX from CVS - but
    his instructions suggest there is anonymous checkout available without
    a password.

    When I tried it just now, it definitely needed a password.

    --
    www.sjbaker.org
  41. Wrong Product by The+Raven · · Score: 2

    They can make THEIR product use the NEW features on their NEW OS.

    But that has nothing to do with REMOVING the OLD features from their NEW OS.

    Two completely separate situations that have absolutely nothing to do with each other.

    --
    "I will trust Google to 'do no evil' until the founders no longer run it." Hello Alphabet.
  42. How about linux from scratch by myowntrueself · · Score: 2

    in cygwin under wine?? :)

    --
    In the free world the media isn't government run; the government is media run.
  43. Re:Wine's maturity as a product isn't quite enough by cgleba · · Score: 2

    > Wine has come light-years since I first used it

    LOL. . .I still remember the days when the only program that worked reliably under Wine was notepad and I had fun running exceed on a windows machine, smb mounting its filesystem and then xhosting notepad back on to itself :).

    Wine is not perfect, but it has come a light-years and frankly amazes me how much it can do!

  44. Cygwin Vs. VMware by BrookHarty · · Score: 2

    I have cygwin installed on my AMD box, its nice, but its not what I would call speedy. Vmware running mandrake (with vmware tools, so I can cut and paste) runs at a very acceptable speed. Not saying cygwin doesnt have its uses, working on any text log files is easier with text-utils than plain windows install anyday. (sort/cut/grep/wc/ or perl)

    On the topic of WINE thou, the only reason I use wine is for CounterStrike, and All-seeing-eye on linux.

  45. Re:MODUP: Guide to running Photoshop, IE, Kazaa... by Hilleh · · Score: 5, Insightful

    I'm sorry if I am taken as trolling here, but the last part of your comment irritated me immeasurably. Yes, I believe that free beer things are good. Very good. Back when I used Windows, I pirated things that I was never going to use just to have them. I'll admit I was horrible. However, projects like WineX and Codeweaver need your support. Buy subscriptions and let these people know how much you appreciate their hard work. It's only going to go so far if you just take advantage of it without helping them fund some of the development.

  46. Maturity?!? by carambola5 · · Score: 2
    ...requires a great deal of maturity

    I don't know about you guys, but purposefully playing with something until it breaks is not usually considered "mature" in my book.
    --
    IWARS.
    People, in general, disappoint me. Politicians even more so.
  47. LINE project - run Linux apps under Cygwin/Windows by truth_revealed · · Score: 5, Informative

    The LINE Project also falls into this ubercool camp. (Is Sourceforge down? Here's the cached version). It allows you to run staticly (statically?) linked Linux applications under Windows/Cygwin - including advanced X11 applications. I've tried it and it actually works surprisingly well. The problem is that LINE emulator is not actively maintained any longer and it broke with the recent Cygwin DLL and/or the upgrade to the recent GCC 3.2.x compiler for Cygwin. When I get a chance I'm going to take a look at it to see if there's an easy fix. If anyone here has a clue as to what the problem might be, please reply to this post. thanks.

  48. Your not alone by bogie · · Score: 2

    I'm the same way as you. Wine works half-assed no matter what I do. It has always played Solitare, but that's about it. Even when I got Office 2k installed, half the time it would crash as soon as you tried to open a menu. It was never usable.

    I also tried the codweavers plugin demo(for WMP, Quicktime etc.) That didn't go well at all on a stock Redhat 7.3 install. Quicktime kinda worked once in a while, but nothing else would install. They would download via the shell script and then nothing.

    Bottom line is Wine is a crutch and a bad one at that. I'm hardly inexperienced with linux and if I think Wis a pain, I can hardly imagine what less experienced users must go through trying to get it to work.

    BTW even when following the tips on Franks wine world the apps dont' work. I don't know what mojo he uses, but when I've followed the tips I haven't gotten fully usuable apps.

    --
    If you wanna get rich, you know that payback is a bitch
  49. Alcoholic processing by LostCluster · · Score: 2, Funny

    If you put cygwin under wine under cygwin under wine too many times, and it starts to process incohently, would that effect be caused by the fact that the computer is drunk?

  50. Crossover supports LGPL by salimma · · Score: 3, Informative

    Ehm, Crossover developers actually support the license switch to LGPL.. it's Transgaming folks that have problems with it and encourage dual-licensing, because some of their changes involve propietary bits that cannot be revealed.

    Nothing stopping anyone from putting a propietary pay-only interface on top of an LGPL product.

    --
    Michel
    Fedora Project Contribut
  51. Re:doubts about future of wine by IamTheRealMike · · Score: 2

    That's not true at all, Wine has loads of NT calls, in fact if you look you'll see ntkernel.dll right there in the Wine installation. Wine automatically provides the right calls to the application based on what they need.

  52. Re:COME ON.... by egreB · · Score: 2

    Why would you run either MSIE, Netscape or Mozilla? *cough*Opera*cough*

    Just had to (-8

  53. Wine with or without Windows? by Fastball · · Score: 2

    I've got a laptop dual booting Linux and Windows 2000. The Win2k I need for work. It is my understanding that Wine works best with a Windows install, preferrably Windows 95/98. Is that true? If so, why? I just can't get most things to work under Wine with my setup.

    1. Re:Wine with or without Windows? by Spoing · · Score: 3, Informative
      It is my understanding that Wine works best with a Windows install, preferrably Windows 95/98. Is that true? If so, why?

      It used to be. When Wine began, it was basically a loader for the libraries that came with Windows to handle the Windows API calls. Now, Wine handles those Windows API calls itself so having a Windows partition around is not necessary.

      That said, if you can't install a program under Wine does not mean that the program itself is incompatable with Wine. Having Windows around to install a program for Wine to use later can be useful.

      --
      A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
  54. Re:MODUP: Guide to running Photoshop, IE, Kazaa... by damiam · · Score: 3, Informative

    If you read the fucking page, it says "Hit Enter when prompted for a password."

    --
    It's hard to be religious when certain people are never incinerated by bolts of lightning.
  55. Mysql does run under Windows...check Mysql.com by Spoing · · Score: 2

    The Windows version of MySQL uses the Cygwin libraries.

    --
    A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
  56. Re:Sch! God damn it! by jonadab · · Score: 3, Informative

    > And Mozilla isn't slow.

    Mozilla isn't slow, but it has a higher memory footprint than some
    other browsers (Opera, for example) and a higher _apparent_ memory
    footprint than IE, from the user's perspective (because the parts
    of IE that are loaded at bootup time won't be considered as parts
    of IE by most users). This means that on systems with marginal
    amounts of RAM, Mozilla is more likely to push you over the edge of
    your memory into swap, which of course is _noticeably_ slower. This
    is the phenomenon most often meant when people say Mozilla is slow.

    In my case, I've got 512MB of RAM, and after the OS (Linux) and GUI
    (XFree/Gnome) take their hits the five apps I use most (Emacs, Gnus,
    Mozilla, Gimp, and gnome-terminal) are welcome to most of the rest.
    Once a day or so when I fire up something else large (OpenOffice,
    for example) too, I dip into swap space, but most of the time that's
    not a problem. But I'm a power user, and I specifically maxed out
    the RAM on my system so that I could have [counts] fourteen windows
    open at once (at the moment, 3 Emacsen, the 4 basic Gimp windows
    (no actual images just now), one Mozilla (9 tabs), and 6 instances
    of gnome-terminal (in 4 different terminal classes) for various
    things (one for a MySQL client, two looking at directories where
    I'm doing two different projects, one tailing a log (related to one
    of the projects), and two sshed into another system). That's not
    normal user stuff; most people _don't_ go out and spend extra money
    on extra RAM, because they _don't_ need to have 14 windows open at
    once. So for them, if the computer is anything like as old as mine
    (January 1998 originally, though I haven't had 512MB of RAM that
    long), Mozilla is indeed going to be "slow".

    This is however not a _performance_ issue (from the programmer's
    standpoint), but a footprint issue, and it will be fading in
    importance, as new computers are coming with more hefty amounts of
    RAM these days. (128MB is _way_ more than Mozilla needs, and
    that's the least a normal system comes with these days.) Yes,
    apps will continue to grab more of that, but since most users
    only really run one app at a time... so app developers don't
    have to _stop_ the growth in the amount of RAM they use, as long
    as the keep it substantially _slower_ than the growth in the amount
    of RAM that new computers have. By Netscape 8 timeframe nobody's
    going to _care_ that it uses 48MB of RAM or more. The people who
    _do_ run multiple apps at once (such as myself) can pick up a
    little extra RAM; it's cheap these days. By the time Netscape 9
    comes out, it can probably get away with using 64MB or more, since
    three-year-old off-the-shelf systems (being sold today) will have
    128 to work with en total, and new systems will be selling with
    more like 512 or more. (Of course that number is guesstimated.)

    Code optimization from the compiler doesn't really matter; it's
    keeping it from swapping that will save your day in terms of
    apparent performance. The difference between well-optimized code
    and poorly-optimized code, in terms of CPU time, is subliminal;
    most people need benchmarks to even determine whether there _is_
    a difference. But if you run out of physical RAM and start using
    swap space, the user can measure the delay with something no more
    precise than an analog watch.

    --
    Cut that out, or I will ship you to Norilsk in a box.
  57. Re:Wonderful (I was skeptical at first...) by jonadab · · Score: 2

    > It's not that useful (yet) in-and-of-itself

    It's not _supposed_ to be useful in-and-of-itself. cygwin is useful,
    and WINE is useful, but running them inside eachother is a form of
    testing. Because of the nature of what WINE and cygwin are, there
    isn't ever going to be a large demand for the need to run them inside
    one another. (The occasional oddball case where it comes in handy
    for something, yes, but no large demand.) But being able to do it
    is an indication that both projects have reached a minimal level of
    mostly working. (cygwin, in my experience, works a good deal better
    than WINE; I don't know whether that's because it's a more mature
    project, or because it's doing an easier job (since what it's doing
    emulation of is better documented), or because Unix apps are more
    portable, or some combination, or what.)

    When they can run cygwin under Windows under VMWare under Linux
    under the Windows version of VirtualPC under WINE running on
    FreeBSD under VirtualPC for the Mac running under MacOS X, then
    I'll be properly impressed.

    --
    Cut that out, or I will ship you to Norilsk in a box.
  58. Re:MODUP: Guide to running Photoshop, IE, Kazaa... by nusuth · · Score: 2

    You are advocating a non-workable model based on goodwill of people. It is better for everybody if it fails sooner rather than later.

    --

    Gentlemen, you can't fight in here, this is the War Room!

  59. Real applications by khanyisa · · Score: 2, Interesting

    There are some real applications that could come out of this rather than just endless virtualization - much of it could prove useful to ReactOS which aims to be a open source alternative OS to Windows...
    Also another in the pipeline which need a lot more work on Wine before anything will happen with it (XOpenWin, which aims to replace the Windows GDI with XWindows :-))
    Wine and other related things need developers, so sign up and get coding. Check out the wine-devel mailing lists for more useful info...

  60. Re:Sch! God damn it! by Linux+Freak · · Score: 2

    Why so many terminals? I use dozens of terminals at once myself, but only 3 are on my CRT at any time. (Hint: "screen")

    The best thing about "screen" is, I can detach my sessions and reconnect to them exactly where I left off, from any other terminal in the world (any class of device, too).

  61. Re:Wine's maturity as a product isn't quite enough by Hard_Code · · Score: 2

    Wouldn't people be more likely to donate money to an actual *charity*?

    --

    It's 10 PM. Do you know if you're un-American?
  62. Re:COME ON.... by egreB · · Score: 2

    Thanks (-8 Good job on noticing..

    Actually, the sig is supposed to be complete, including credits to allmighty Douglas Adams. But the /.-sig-limit limits it, and I never bothered to fix it..