Re: [Libevent-users] LibEvent 1.3e - Compiling for Windows using VS2005
On Sun, Dec 30, 2007 at 04:37:49PM +0200, Eran Sandler wrote: > Nick Mathewson wrote: > > > >It should all be checked in to the subversion repository. I added a > >.sln file and a .vcproj file; is there anything else? > > > >As noted, I'm not much of a windows person, so it's likely there are > >mistakes; please let me know what they are. :) > > > > Thanks Nick. I hope to get around to checking it soon. > There are some differences from the modified libevent code that was used > in the win32 version of memcached and the current libevent 1.4 code and > I'm not sure which is better (yet). If there are fixes in the modified code, could you please send me a pointer to code, and let me know which version of libevent it's based on? I'd like to check for any fixes we missed so we can merge them into the primary codebase. yrs, -- Nick pgpoUodX0GH0a.pgp Description: PGP signature ___ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users
Re: [Libevent-users] LibEvent 1.3e - Compiling for Windows using VS2005
Nick Mathewson wrote: It should all be checked in to the subversion repository. I added a .sln file and a .vcproj file; is there anything else? As noted, I'm not much of a windows person, so it's likely there are mistakes; please let me know what they are. :) Thanks Nick. I hope to get around to checking it soon. There are some differences from the modified libevent code that was used in the win32 version of memcached and the current libevent 1.4 code and I'm not sure which is better (yet). Eran ___ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users
Re: [Libevent-users] LibEvent 1.3e - Compiling for Windows using VS2005
On Mon, Dec 17, 2007 at 08:40:28AM +0200, Eran Sandler wrote: [...] > Any chance you can simply check in your VS2005 project files. I think > its about time we can start using VS2005 and leave MSVC (unless there is > anything specific in VS2005 that is preventing us from doing so). It should all be checked in to the subversion repository. I added a .sln file and a .vcproj file; is there anything else? As noted, I'm not much of a windows person, so it's likely there are mistakes; please let me know what they are. :) yrs, -- Nick pgpmsojoAnCfm.pgp Description: PGP signature ___ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users
Re: [Libevent-users] LibEvent 1.3e - Compiling for Windows using VS2005
Nick Mathewson wrote: > I hope they get a chance to try it soon; the next 1.4.x beta release > will probably be the last beta before we have a 1.4 production > release. :) > I'll talk with Dormando about starting a branch that users 1.4, even if its just for having an integrated Win32 version of memcached. > > I've checked in some changes to the 1.3 libevent branch that should > make the next libevent 1.3 release work better on MSVC. It will still > be kind of wonkier than 1.4.x, for the following reasons: > > - I don't have a copy of MSVC6 any more; the changes in question are > only tested on MSVC 2005 Express. If somebody sends me a corrected > project file for MSVC6, I'll check it in. > Any chance you can simply check in your VS2005 project files. I think its about time we can start using VS2005 and leave MSVC (unless there is anything specific in VS2005 that is preventing us from doing so). Thanks for checking some of the stuff to the 1.3 branch. I'll get your changes and see if I can make the tests work again, in which case I'll be able to start patching up the older Win32 memcached code to 1.2.4. -- Eran ___ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users
Re: [Libevent-users] LibEvent 1.3e - Compiling for Windows using VS2005
On Tue, Dec 11, 2007 at 07:29:02PM +0200, Eran Sandler wrote: > Hello Niels, > > I've spoken with Dormando, one of the memcached maintainers and they > haven't test it with LibEvent 1.4.0. They do, however work with 1.3e on > memcached 1.2.4 and the first tests of memcached 1.3.0. I hope they get a chance to try it soon; the next 1.4.x beta release will probably be the last beta before we have a 1.4 production release. :) > I would prefer to align memcached-win32 to work with whatever is being > used in the main branch memcached (i.e. 1.3e). > It would be great if we can back port some of this code to make 1.3e > work well on Windows. I've checked in some changes to the 1.3 libevent branch that should make the next libevent 1.3 release work better on MSVC. It will still be kind of wonkier than 1.4.x, for the following reasons: - I don't have a copy of MSVC6 any more; the changes in question are only tested on MSVC 2005 Express. If somebody sends me a corrected project file for MSVC6, I'll check it in. - In 1.4.x and later, libevent ships with a separate header file, "event-config.h", that's automatically generated from autoconf's output and post-processed so that the macros don't conflict. The upshot of this is that with newer versions of libevent, you shouldn't need to define any extra types or include any extra headers before you #include "event.h". This is not true of older versions. You can see the latest 1.3 code by using a subversion client (like TortoiseSVN) to check out https://levent.svn.sourceforge.net/svnroot/levent/branches/patches-1.3 Yrs, -- Nick pgp4gj4dGpTmt.pgp Description: PGP signature ___ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users
Re: [Libevent-users] LibEvent 1.3e - Compiling for Windows using VS2005
Hello Niels, I've spoken with Dormando, one of the memcached maintainers and they haven't test it with LibEvent 1.4.0. They do, however work with 1.3e on memcached 1.2.4 and the first tests of memcached 1.3.0. I would prefer to align memcached-win32 to work with whatever is being used in the main branch memcached (i.e. 1.3e). It would be great if we can back port some of this code to make 1.3e work well on Windows. Eran Niels Provos wrote: Hi Eran, Nick has been working on improving the Win32 code. I would suggest that you try 1.4.0-beta. Please, let me know if that works for you. Thanks, Niels. On Dec 11, 2007 12:57 AM, Eran Sandler <[EMAIL PROTECTED]> wrote: Hello all, Does anyone knows the status of LibEvent 1.3e support in Windows? I grabbed the source of 1.3e and converted the old MSVC6 projects to VS2005 and had to fix a couple of things in the tests as well as in the library to make it compile. It does compile now, but none of the tests works as they should. Before I delve into the code itself and try to see whats the problem, do any of you know what's the status of the Windows code? Has anyone else tried to compile 1.3e on VS2005 (or any other MS compiler for that matter) ? The latest code that worked in Memcached-Win32 was a modified LibEvent 1.1. I'm trying to make this work to eventually have an up-to-date Win32 version of Memcached. Thanks in advance for any help, Eran Sandler ___ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users ___ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users
Re: [Libevent-users] LibEvent 1.3e - Compiling for Windows using VS2005
Hi Eran, Nick has been working on improving the Win32 code. I would suggest that you try 1.4.0-beta. Please, let me know if that works for you. Thanks, Niels. On Dec 11, 2007 12:57 AM, Eran Sandler <[EMAIL PROTECTED]> wrote: > Hello all, > > Does anyone knows the status of LibEvent 1.3e support in Windows? > I grabbed the source of 1.3e and converted the old MSVC6 projects to > VS2005 and had to fix a couple of things in the tests as well as in the > library to make it compile. > > It does compile now, but none of the tests works as they should. > > Before I delve into the code itself and try to see whats the problem, do > any of you know what's the status of the Windows code? Has anyone else > tried to compile 1.3e on VS2005 (or any other MS compiler for that matter) ? > > The latest code that worked in Memcached-Win32 was a modified LibEvent 1.1. > I'm trying to make this work to eventually have an up-to-date Win32 > version of Memcached. > > Thanks in advance for any help, > Eran Sandler > ___ > Libevent-users mailing list > Libevent-users@monkey.org > http://monkeymail.org/mailman/listinfo/libevent-users > > ___ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users
[Libevent-users] LibEvent 1.3e - Compiling for Windows using VS2005
Hello all, Does anyone knows the status of LibEvent 1.3e support in Windows? I grabbed the source of 1.3e and converted the old MSVC6 projects to VS2005 and had to fix a couple of things in the tests as well as in the library to make it compile. It does compile now, but none of the tests works as they should. Before I delve into the code itself and try to see whats the problem, do any of you know what's the status of the Windows code? Has anyone else tried to compile 1.3e on VS2005 (or any other MS compiler for that matter) ? The latest code that worked in Memcached-Win32 was a modified LibEvent 1.1. I'm trying to make this work to eventually have an up-to-date Win32 version of Memcached. Thanks in advance for any help, Eran Sandler ___ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users