RE: new spamprobe BerkeleyDB on CygWin
"Herb Martin" <[email protected]>
| Newsgroups | gmane.mail.spam.spamprobe.general |
|---|---|
| Organization | LearnQuick.Com |
| Message-ID | <[email protected]> |
David A. Lee> > Sent: Tuesday, October 11, 2005 1:01 PM > To: Herb Martin; spamprobe-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > If its running slow, something is wrong. Yes, and this cannot easily be blamed on ANY portion without testing -- it could even be something I did wrong. BTW: This is the largest issue in running CygWin -- everyone (legitimately) thinks the problem is 'elsewhere'. <grin> > I dont know enough about Cygwin, but would a "native command > line" Win32 EXE run within Cygwin ? Others have answered you by now but YES, generally any CygWin app runs under Windows native system OR any Windows app runs under CygWin. Scripting commands of course must start their own shell or interpreter -- this is true for Windows command prompt features which are built into CMD.exe. The largest issue is that you must either arrange the "current directory" to be where the data files are located OR you must translate (cygpath does this) any command line parameters which reference paths. But this is typically an exercise left to the 'user' of the command. Backslashes in Windows must be changed to slashes when supplying them to a CygWin command and vice versa. > I belive it would ... but I am not sure. I would think a > statically linked > "native command line" WIN32 EXE would be of the most general > use as it wouldnt depend on cygwin DLL's and environment, but > ideally would run just fine within it. This could easily work. And you should start with the assumption (when creating a Win32 version) that CygWin is neither an issue nor a benefit. > Also, if I were to do it, I'd link in PBL instead of BerkelyDB. As long as you can do this under Win32 you are good to attempt the match up. -- Herb Martin > > > > > > >> -----Original Message----- > >> From: spamprobe-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > >> [mailto:spamprobe-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of > >> David A. Lee > >> Sent: Tuesday, October 11, 2005 12:32 PM > >> To: Brian Burton; Herb Martin > >> Cc: spamprobe-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > >> Subject: Re: [Spamprobe-users] new spamprobe BerkeleyDB on CygWin > >> > >> I think a possible solution to this problem is a prebuilt > binary for > >> windows. > >> Would a binary built using Windows developement tools be OK ? > > > > That might be a great addition but in my specific case (ref: this > > thread) the issue was building with make, gcc etc on a Posix system > > (Unix-Like) system: > > cygwin. > > > > It built just fine. It ran. It ran slow enough that their was > > obviously something wrong in the setup or combination of > build tools. > > > >> I wouldnt mind building one, and even contributing the source > >> "workspace" using VC 6.0 or VS.NET ... > >> There's a lot of WIN32 users who would benfit from a pre-built EXE. > > > > It might even be useful to me, but my email all runs in the (POSIX) > > Cygwin environment (Exim, SpamAssassin, CRM114, GreyListD, spfd, > > DSpam, etc....) > > > > I would encourage you to try it -- let me know if I can help (like > > trying to build it here). > > > > The largest issue will likely be the database you use with it. > > > > -- > > Herb Martin > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, > > discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > Spamprobe-users mailing list > > Spamprobe-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > > https://lists.sourceforge.net/lists/listinfo/spamprobe-users > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, > discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Spamprobe-users mailing list > Spamprobe-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/spamprobe-users > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl