Date: Tue, 9 Dec 2003 10:09:38 +0000 (GMT) From: Jan Grant <Jan.Grant@bristol.ac.uk> To: Tony Jones <tony@tonyjones.com> Cc: questions@freebsd.org Subject: Re: how to build Spamassassin Message-ID: <Pine.GSO.4.58.0312091005080.29963@mail.ilrt.bris.ac.uk> In-Reply-To: <20031209062926.B3F56579@zebedee.tonyjones.com> References: <20031209062926.B3F56579@zebedee.tonyjones.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 8 Dec 2003, Tony Jones wrote: > Hi. > > Over time I've got into the habit of either using packages or building > directly from the source. Last time I tried this (Postfix) and asked a Q > here, I was rapped over the knuckles :-) and told to use the Ports. > > Right now I'm trying to build spamassassin, so I decided I'd be good and do > it the Ports way. > > My current system is 4.9-PRERELEASE #5, upgraded for many years from src > using CTM. > > - Read the handbook, ran /stand/sysinstall to get the ports tree, this failed > not finding the download location on ftp.freebsd.org and telling me to > manually change it > > - So I went and got it manually. Was a little confused as many years ago > I recalled their being a ports tree per release. Now ports-stable and > ports-current both point to ports. > > - I downloaded ports,tar.gz. Unpacked it and changed into > ports/mail/p5-Mail-SpamAssassin" > > - Did a make which immediately failed with > > "Makefile", line 27: Malformed conditional (${PERL_LEVEL} < 500600) > "Makefile", line 27: Need an operator > "Makefile", line 31: if-less endif > "Makefile", line 31: Need an operator > "Makefile", line 33: Malformed conditional (${PERL_LEVEL} < 500800) > "Makefile", line 33: Need an operator > "Makefile", line 35: if-less endif > "Makefile", line 35: Need an operator > > I recalled being able to make individual ports this way in the past. Where did you unpack the ports tree to? /usr/share/mk/bsd.port.mk expects /usr/ports, or the PORTSDIR variable to be set if the tree lives elsewhere. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ printf 'cat\nhello world' | `sh -c 'read c; echo $c'`
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.58.0312091005080.29963>