From owner-freebsd-questions@FreeBSD.ORG Tue Dec 9 00:59:58 2003 Return-Path: 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 48DC716A4CE for ; Tue, 9 Dec 2003 00:59:58 -0800 (PST) Received: from seatle.demon.nl (seatle.demon.nl [195.173.228.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id D672343D2D for ; Tue, 9 Dec 2003 00:59:55 -0800 (PST) (envelope-from rotan@seatle.demon.nl) Received: from seatle.vredesdorp.nl (localhost [127.0.0.1]) by seatle.demon.nl (8.12.10/8.12.9) with ESMTP id hB990Isk000980 for ; Tue, 9 Dec 2003 10:00:18 +0100 (CET) (envelope-from rotan@seatle.vredesdorp.nl) Received: (from rotan@localhost) by seatle.vredesdorp.nl (8.12.10/8.12.9/Submit) id hB990Ihv000979 for questions@freebsd.org; Tue, 9 Dec 2003 10:00:18 +0100 (CET) (envelope-from rotan) Date: Tue, 9 Dec 2003 10:00:18 +0100 From: r t g tan To: questions@freebsd.org Message-ID: <20031209090018.GA926@seatle.vredesdorp.nl> Mail-Followup-To: questions@freebsd.org References: <20031209062926.B3F56579@zebedee.tonyjones.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: <20031209062926.B3F56579@zebedee.tonyjones.com> User-Agent: Mutt/1.4.1i Subject: Re: how to build Spamassassin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2003 08:59:58 -0000 --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Tony, I would use cvsup to update your ports tree. You can use %make buildworld, to reinstall system perl. Look in /etc/make.conf for NOPERL var to unset accordingly to if you want to build it=20 or not. You can also try to install perl from ports. Then you can use %use.perl ports, or %use.perl system To define which perl your system will use.=20 You can also try deinstalling some p5- modules. Hope this helps, Robert On Mon, Dec 08, 2003 at 10:29:26PM -0800, Tony Jones wrote: >=20 > Hi. =20 >=20 > Over time I've got into the habit of either using packages or building=20 > 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. >=20 > Right now I'm trying to build spamassassin, so I decided I'd be good and = do=20 > it the Ports way. >=20 > My current system is 4.9-PRERELEASE #5, upgraded for many years from src > using CTM. >=20 > - Read the handbook, ran /stand/sysinstall to get the ports tree, this fa= iled > not finding the download location on ftp.freebsd.org and telling me to > manually change it >=20 > - 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. >=20 > - I downloaded ports,tar.gz. Unpacked it and changed into=20 > ports/mail/p5-Mail-SpamAssassin" >=20 > - Did a make which immediately failed with >=20 > "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 >=20 > I recalled being able to make individual ports this way in the past. >=20 >=20 > So, this not working, I went and grabbed the sources for Mail-SpamAssassi= n-2.60 > and figured I'd try building it manually. >=20 > trying: perl -MCPAN -e shell (which is the INSTALL files recommended way) > just generated lots of messages telling me to install Bundle::libnet ASAP > and when I did, it failed to install and seems to have messed up the perl > packages on my system. >=20 >=20 > So, two questions: >=20 > 1) How can I reinstall perl 5.005_03 (make install from /usr/src) > 2) Once I have the perl restored, what is the best way to install SpamAs= sassin > on 4.9 ? >=20 > Thanks >=20 > Tony (who hates perl) >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/1Y8gPrUa+3sy+FMRAosjAJsFajCxn+WdTP5iOCWyKhg0ldnjqgCePtgz rw6Szx6VdBw7dLg4yRWH72w= =BlR+ -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/--