I'm currently playing with Wine on Cygwin on Windows 2000 on VirtualBox. Just to see what happens. Also to see how feasible Wine on Windows is from here. I've been updating the http://wiki.winehq.org/CygwinSupport page accordingly. With the 1.1.11 source tarball, I'm getting a compile error: internettransport.c:348: error: `Include_winsock_h_before_stdlib_h_or_use_the_MSVCRT_library' undeclared (first use in this function) internettransport.c:348: error: (Each undeclared identifier is reported only once internettransport.c:348: error: for each function it appears in.) internettransport.c:348: error: parse error before "infd" internettransport.c:379: warning: implicit declaration of function `Include_winsock_h_before_stdlib_h_or_use_the_MSVCRT_library' internettransport.c:379: error: `infd' undeclared (first use in this function) make[2]: *** [internettransport.o] Error 1 make[2]: Leaving directory `/cygdrive/c/wine-1.1.11/dlls/inetcomm' make[1]: *** [inetcomm] Error 2 make[1]: Leaving directory `/cygdrive/c/wine-1.1.11/dlls' make: *** [dlls] Error 2 Looks like the sort of thing that happens when configure thinks you have something installed you don't. I realise this is on VirtualBox, so all results are to be taken with a large grain of salt. But is anyone else seeing this with Wine on Cygwin? Now to give Wine on mingw a try ... - d.
David Gerard wrote:> I'm currently playing with Wine on Cygwin on Windows 2000 on > VirtualBox. Just to see what happens. Also to see how feasible Wine on > Windows is from here. > > I've been updating the http://wiki.winehq.org/CygwinSupport page accordingly. > > With the 1.1.11 source tarball, I'm getting a compile error: > > internettransport.c:348: error: > `Include_winsock_h_before_stdlib_h_or_use_the_MSVCRT_library' > undeclared (first use in this function) > internettransport.c:348: error: (Each undeclared identifier is > reported only once > internettransport.c:348: error: for each function it appears in.) > internettransport.c:348: error: parse error before "infd" > internettransport.c:379: warning: implicit declaration of function > `Include_winsock_h_before_stdlib_h_or_use_the_MSVCRT_library' > internettransport.c:379: error: `infd' undeclared (first use in this function) > make[2]: *** [internettransport.o] Error 1 > make[2]: Leaving directory `/cygdrive/c/wine-1.1.11/dlls/inetcomm' > make[1]: *** [inetcomm] Error 2 > make[1]: Leaving directory `/cygdrive/c/wine-1.1.11/dlls' > make: *** [dlls] Error 2 > > Looks like the sort of thing that happens when configure thinks you > have something installed you don't. > > I realise this is on VirtualBox, so all results are to be taken with a > large grain of salt. But is anyone else seeing this with Wine on > Cygwin? > > Now to give Wine on mingw a try ... > > > - d.There's little reason to suspect virtualization for a compile time error. Coincidentally, this bug also occurs on OpenBSD http://bugs.winehq.org/show_bug.cgi?id=16660 You could try the suggested fix attached to the bug report.
David Gerard wrote:> 2008/12/29 jeffz <wineforum-user at winehq.org>: > > > > There's little reason to suspect virtualization for a compile time error. > > > > > I suspect *everything*, particularly when the makefile is constructed > by ./configure on the basis of reading the operating system's entrails > ... > > On OpenBSD a lot of weird stuff is definitely due to virtualisation - > OpenBSD is a blue pill showing every glitch in the Matrix. > > Windows (and hence Cygwin) have the red pill especially built for > them, so are much easier to keep fooled, it's true ;-) > > > > > Coincidentally, this bug also occurs on OpenBSD http://bugs.winehq.org/show_bug.cgi?id=16660 > > You could try the suggested fix attached to the bug report. > > > > > Just trying on XP in VirtualBox as well. > > > - d.No really. Just try the patches.
to list as well! ---------- Forwarded message ---------- From: David Gerard <dgerard at gmail.com> Date: 2008/12/30 Subject: Re: [Wine] playing with Wine on Cygwin To: Austin English <austinenglish at gmail.com> 2008/12/29 Austin English <austinenglish at gmail.com>:> On Mon, Dec 29, 2008 at 5:16 PM, David Gerard <dgerard at gmail.com> wrote:>> I applied Austin's patch for OpenBSD from bug 16660. And ... it bombed >> out differently!>> In file included from internettransport.c:31: >> ../../include/ws2tcpip.h:238: error: parse error before "socklen_t" >> ../../include/ws2tcpip.h:240: error: parse error before "socklen_t" >> make[2]: *** [internettransport.o] Error 1> You need to use the second patch, the first one is wrong.I applied http://bugs.winehq.org/attachment.cgi?id=18288 , which is the last patch in the bug. Obviously it's not the thing for Cygwin ;-) I can't be the only person in the world trying to get Wine to compile under Cygwin ... - d.
Sorry David Gerard you could be the only person trying to get wine to work under Cygwin. Few others are looking at how to get Linux running virtual on windows with full opengl support to run wine. Cygwin is not what you call fast. It could turn out faster to run linux virtual.
I did not tell you the biggest issue David. Why some have going the visualization path. Wine program loader will not work with windows. Direct x implementation should work on windows with some tweaking all ready. Wined3d is used with a virtualisation solution with windows to send direct X to opengl so it can be passed threw. http://winehq.org/status/porting Kinda out of date and needs updating as well. Yes it has not been updated for like 2.5 years. For testing wine test suite should already build under mingw. Cygwin virtual posix can cause headaches past what you can dream. To get wine working on windows well will require lots of work.
Apparently Analagous Threads
- Wine fails to compile on Caos NSA 0.9 x86_64
- ggplot2 reorder factors for faceting
- [PATCH 0/7] copy-in/copy-out: Capture errors from tar subprocess (RHBZ#1267032).
- [PATCH 0/7 v2] Make copy_in & copy_out APIs, and use copy_in in customize
- [PATCH 1/6] cmd: add a way to run (and wait) asynchronously commands