Re: Re: Trouble compiling on cygwin
Jim Hague <[email protected]> Sun, 30 Nov 2003 00:03:58 -0000 (GMT)
| Newsgroups | gmane.network.noffle.user |
|---|---|
| Organization | The Bear Cave |
| Message-ID | <[email protected]> |
On 28-Nov-2003 Rolf Leggewie wrote: > I updated cygwin and gcc along with their dependent packages to the most > recent version and that almost did the trick. I can compile now but hit > another problem when doing 'make install'in that neither user nor group > 'news' exist for my Cygwin system on Windows98. There seems to be no > command adduser or addgroup for Cygwin according to Google. Can I tell > configure.sh to use another user? I'm glad to hear your compile now succeeds. I just tried a Cygwin build and it worked fine for me too. I also get the 'no such user' problem on 'make install'. Right now you can't tell configure to use another user/group. I think you should be able to so that 'make install' will complete, so I've added that as a bug to the Noffle bug list at SourceForge. I tried carrying on, completing the install by hand and specifying the noffle user and group (noffle-user and noffle-group) in /etc/noffle.conf. First of all I uncovered a very embarassing brown paper bag bug - noffle-group wasn't setting the group but the user! I've fixed this and a subsequent error message problem in CVS. You'll need this fix to proceed (sorry). I've now got noffle collecting groups from upstream, at least. Here's what I did: 1. Complete the install. Create /var/spool/noffle, /var/spool/noffle/data, /var/spool/noffle/lock, /var/spool/noffle/requested, /var/spool/noffle/outgoing, /var/spool/noffle/overview. Copy noffle.conf.example to /etc/noffle.conf. 2. Add config items 'noffle-user' = Your user name and 'noffle-group' as 'None'. I couldn't find any way of running as a user other than None. Someone who knows Cygwin might know better. Once I'd done that, noffle would collect groups (noffle --query groups) from upstream and will run as a server. I haven't tried installing inetd or xinet on Cygwin yet for a complete setup. -- Jim Hague - [email protected] Never trust a computer you can't lift. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/