Re: Windows Compilation

Hans-Albert Schneider <[email protected]>
Newsgroups gmane.comp.bug-tracking.gnats.general
Organization Infineon Technologies AG, CL DAT TDM VM
Message-ID <[email protected]>
Manish Agarwal wrote:
> Hello,
> 
> Do you have any document explaining how to compile Gnats for Windows 2K/NT. 

GNATS has been developed with UNIX-like systems in mind--it happily 
compiles and runs on Solaris, Linux, etc.

However, a lot of things are different with Windows: there is no 
"super-server" like inetd or xinetd, there is no sendmail or similar to 
send and receive mails, etc.

On the other hand, most of these things are available via the CygWin 
project (see http://www.cygwin.com/), so you may be able to achieve your 
goal.  Besides the base package, you need xinetd (to start gnatsd when 
some client contacts it), maybe gcc and make (for compiling).

Concerning e-mail setup, you should be able to use ssmtp for sending 
mails (exim is also available).  If you create a POP3/IMAP4 mailbox on a 
mail server, you could get the incoming mails from there using fetchmail 
and telling it to use queue-pr as mail delivery agent, like this:

fetchmail --mda "/usr/local/libexec/gnats/queue-pr -d GreatNewDB -q" \
	[other fetchmail options]

(assuming you use GNATS 4, your database is called GreatNewDB, and your 
queue-pr is in /usr/local/libexec/gnats/queue-pr.  CygWin lets you use 
UNIX-style paths, including forward slashes.  Your Windows drives can be 
found as /cygdrive/C, /cygdrive/D, etc., so C:\winnt\system32 becomes 
/cygdrive/C/winnt/system32).


Note that I never tried this approach; it is just an attempt to give you 
a start if you really want to try it.  If you succeed (or fail), please 
share your experiences with the list, so some hints can be added to the 
manual and/or the FAQ.


Hans-Albert

-- 
Hans-Albert Schneider		<[email protected]>
Infineon Technologies AG	phone:	(+49) 89 234 45445
Corporate Logic; Verification	fax:	(+49) 89 234 724399
(CL DAT DF V)			Munich, Germany
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.