From owner-freebsd-questions@FreeBSD.ORG Wed Mar 3 10:49:57 2004 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 ECADD16A4CE for ; Wed, 3 Mar 2004 10:49:57 -0800 (PST) Received: from ms-smtp-01.nyroc.rr.com (ms-smtp-01.nyroc.rr.com [24.24.2.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90FF943D2F for ; Wed, 3 Mar 2004 10:49:57 -0800 (PST) (envelope-from pogrose@twcny.rr.com) Received: from charon.paradigm-design.org (syr-24-59-213-251.twcny.rr.com [24.59.213.251])i23Ins0v010869 for ; Wed, 3 Mar 2004 13:49:55 -0500 (EST) Date: Wed, 3 Mar 2004 13:49:53 -0500 From: Eric Pogroski To: freebsd-questions@freebsd.org Message-Id: <20040303134953.61c9c74f@charon.paradigm-design.org> In-Reply-To: <54560.208.253.246.93.1078337117.squirrel@www.ValueDJ.com> References: <54560.208.253.246.93.1078337117.squirrel@www.ValueDJ.com> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Re: Installing Squirrel Mail from the Ports 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: Wed, 03 Mar 2004 18:49:58 -0000 On Wed, 03 Mar 2004 10:05:17 -0800 (PST) whizkid@ValueDJ.com wrote: > > > Delete /usr/ports/distfiles/squirrelmail-1.4.2.tar.bz2, and try again. > > > > The file you have by that name has been corrupted somehow and the ports > system is not happy with it. I just checked, and the tarball I > downloaded from sourceforge is identical to the one I used the last time > I updated squirrelmail. You should end up with: > > > > % ls -la squirrelmail-1.4.2.tar.bz2 > > -rw-r--r-- 1 root wheel 1888703 Oct 1 20:42 > > squirrelmail-1.4.2.tar.bz2 > > % md5 squirrelmail-1.4.2.tar.bz2 > > MD5 (squirrelmail-1.4.2.tar.bz2) = 8d8271c704a9f23d53138a4ceea38fb4 > > > > but the ports system will check that automatically for you. > > > > Cheers, > > > > Matthew > > > > -- > > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > > Savill Way > > PGP: http://www.infracaninophile.co.uk/pgpkey Marlow > > Tel: +44 1628 476614 Bucks., SL7 1TH UK > > > > after deleting the file, I run make and get > > # make > ===> Patching for squirrelmail-1.4.2_1 > ===> Applying FreeBSD patches for squirrelmail-1.4.2_1 > patch: **** can't cd to > /usr/ports/mail/squirrelmail/work/squirrelmail-1.4.2: No such file or > directory > >> Patch patch-config-config_default.php failed to apply cleanly. > *** Error code 1 > > Stop in /usr/ports/mail/squirrelmail. > > what I can do to get the port downloaded again? or how can I clean up > after a failed install? > > cd /usr/ports/mail/squirrelmail && make clean && rm -rf work && make distclean && make fetch && make (-DANY_OPTIONS_HERE) cleans the workfiles out forces the work directory to disappear.. :) cleans (removes) the distribution file fetch's a new copy of the distfile make's the software (with any option's that you decide that you need) hth. Eric