From owner-freebsd-questions Wed Jan 29 13: 9: 4 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 2376F37B401 for ; Wed, 29 Jan 2003 13:09:02 -0800 (PST) Received: from mail.destar.net (240-7-237-24-cable.anchorageak.net [24.237.7.240]) by mx1.FreeBSD.org (Postfix) with SMTP id ED96343F43 for ; Wed, 29 Jan 2003 13:09:00 -0800 (PST) (envelope-from jonr@destar.net) Received: (qmail 99159 invoked by uid 5000); 29 Jan 2003 21:10:02 -0000 Received: from unknown (HELO ?192.168.1.100?) (192.168.1.1) by mail.destar.net with SMTP; 29 Jan 2003 21:10:02 -0000 Subject: Re: ucspi-unix compile problems From: Jon Reynolds To: "M. Brownsworth" Cc: FreeBSD Questions In-Reply-To: References: Content-Type: text/plain Organization: Message-Id: <1043874322.1926.3.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 29 Jan 2003 12:05:22 -0900 Content-Transfer-Encoding: 7bit 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 On Wed, 2003-01-29 at 11:17, M. Brownsworth wrote: > I'm having a problem compiling ucspi-unix-0.36 on the new mail host > I'm configuring to run qmail. Although its sister program, > ucspi-tcp-0.88, compiled just fine, ucspi-unix's compile bombs due to > a missing library: > > su-2.05b# make > ( echo '#!/bin/sh'; echo 'main="$1"; shift'; echo exec `head -1 > conf-ld` '-o "$main" "$main.o" ${1+"$@"}' -lsysdeps; ) >load > chmod 755 load > ( echo '#!/bin/sh'; echo 'source=$1; shift'; echo 'base=`echo > "$source" | sed -e s:\\\\.c$::`'; echo exec `head -1 conf-cc` '-I. > -o ${base}.o -c $source ${1+"$@"}'; ) >compile > chmod 755 compile > ./compile unixclient.c > ./compile env.c > env.c:4: sysdeps.h: No such file or directory > *** Error code 1 > > Stop in /usr/local/src/ucspi-unix-0.36. > > So it can't find sysdeps.h. A locate can't seem to come up with one, > either. A Google search using "ucspi-unix," "sysdeps," and "freebsd" > turns up empty. What the heck is the sysdeps library and why don't I > have it? (Or why does ucspi-unix need it?) > > According to my understanding, vmailmgr, the password authentication > module I plan to use with qmail and courier-imap, needs ucspi-unix. > Specifically, it needs a program named "unixserver" (compiled with > ucspi-unix), which is used to start vmailmgrd: > > /usr/bin/unixserver /tmp/.vmailmgrd /usr/local/sbin/vmailmgrd \ > 2>&1 | /var/qmail/bin/splogger & > > I'm not sure if something else, perhaps ucspi-tcp, can substitute. > In fact, given the huge thrash involved in installing qmail and its > myriad of support programs, I'm not sure of much anything at this > point. > > If you have an answer to this problem, please cc me when you post, as > I'm not a member of the list. > > Here are my system specs: > > su-2.05b# uname -a > FreeBSD apache.willamette.net 4.7-RELEASE FreeBSD 4.7-RELEASE #1: Thu > Jan 9 10:02:57 PST 2003 > michelle@apache.willamette.net:/usr/src/sys/compile/APACHE i386 > > .\\ichelle > -------------------- > Michelle Brownsworth > System Administrator > Willamette.Net > http://www.willamette.net > Phone (541) 465-3282 > Fax (541) 465-1194 > I had a similiar problem with this exact app while trying to install qmail. I eventually just went back to v.0.34 and it worked perfectly. Jon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message