Installing Squirrel Mail from the Ports

Eric Pogroski pogrose at twcny.rr.com
Wed Mar 3 10:49:58 PST 2004


On Wed, 03 Mar 2004 10:05:17 -0800 (PST)
whizkid at 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


More information about the freebsd-questions mailing list