From owner-freebsd-questions Wed Jan 29 16:14:33 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 853E137B405 for ; Wed, 29 Jan 2003 16:14:31 -0800 (PST) Received: from straylight.primelogic.com (straylight.primelogic.com [207.189.136.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9824243F3F for ; Wed, 29 Jan 2003 16:14:30 -0800 (PST) (envelope-from mdb@primelogic.com) Received: from [192.168.1.1] (12-225-177-116.client.attbi.com [12.225.177.116]) by straylight.primelogic.com (8.11.6/8.11.1) with ESMTP id h0U0EOR79995; Wed, 29 Jan 2003 16:14:25 -0800 (PST) (envelope-from mdb@primelogic.com) Mime-Version: 1.0 X-Sender: mdb@straylight.primelogic.com (Unverified) Message-Id: Date: Wed, 29 Jan 2003 16:14:24 -0800 To: FreeBSD Questions From: "M. Brownsworth" Subject: Re: ucspi-unix compile problems Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG There's nothing like posting to mailing lists to get the answers to your problems. Not that the answers always come from the list members. Nine times out of ten, after I post to a list I keep digging in archives and documentation and ferret out the answer on my own. Oddly, it doesn't seem to work if I don't post to the list first. That was the case this time as well. I posted my problem compiling (running FreeBSD 4.7) ucspi-unix, required by vmailmgr, to freebsd-answers, then joined the vmailmgr list and posted here. Almost immediately, I came across a post in the ucspi-unix list archive that said ucspi-unix, qmail-autoresponder, and a few other programs by Bruce Guenter required his proprietary bglibs in order to compile, so I located and downloaded bglibs-1.005. Unfortunately, bglibs wouldn't compile either. So I joined the bgware list and posted the problem. Shortly afterward, I discovered some esoteric posts in the archives that discussed the need for some defines in one of bglibs' files, although it wasn't absolutely clear specifically what should be added and to which file. But with nothing to lose, I added the following to only unix/sig_all.c: #define SIGMAX _SIG_MAXSIG #define _NSIG 32 Voila! It compiled like a champ. I installed and then cd'ed to ucspi-unix. Boom! Same deal, smooth as glass. Ditto with qmail-autoresponder. Time to start vmailmgr to see if my efforts were not in vain. I wanted it to run under the supervise facility, so it would automatically be restarted if it quit. There was no documentation on how to set up supervise specifically to run vmailmgr, so I cloned one of the qmail supervise setups and crossed my fingers. And what do you know? It started perfectly and came up: 38248 con S+ 0:01.04 supervise vmailmgrd 38249 con I+ 0:00.00 supervise log Many thanks to the list. Best, .\\ichelle -------------------- Michelle Brownsworth System Administrator PrimeLogic Corporation http://www.primelogic.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message