From owner-freebsd-questions@FreeBSD.ORG Tue Feb 22 15:59:41 2005 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 69CD416A4CE for ; Tue, 22 Feb 2005 15:59:41 +0000 (GMT) Received: from smtp802.mail.sc5.yahoo.com (smtp802.mail.sc5.yahoo.com [66.163.168.181]) by mx1.FreeBSD.org (Postfix) with SMTP id D810643D1D for ; Tue, 22 Feb 2005 15:59:39 +0000 (GMT) (envelope-from donaldj1066@fastmail.fm) Received: from unknown (HELO pres7000.mylan.net) (donaldj@ameritech.net@68.76.145.132 with plain) by smtp802.mail.sc5.yahoo.com with SMTP; 22 Feb 2005 15:59:39 -0000 From: "Donald J. O'Neill" To: freebsd-questions@freebsd.org Date: Tue, 22 Feb 2005 09:59:00 -0600 User-Agent: KMail/1.7.2 References: <4219D0E9.4060907@wanadoo.es> In-Reply-To: <4219D0E9.4060907@wanadoo.es> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502220959.00684.donaldj1066@fastmail.fm> cc: Ramiro Aceves Subject: Re: Questions about 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: Tue, 22 Feb 2005 15:59:41 -0000 On Monday 21 February 2005 06:15 am, Ramiro Aceves wrote: > Hello FreeBSD friends > > I have a question about ports. I have installed FreeBSD 5.3 on a AMD > 400 MHz machine with 64 MB RAM, so it is not a fast machine for > compiling big programs! :-). The problem I am going to tell you, > happened to me several weeks ago into another slower machine (Pentium > 75 in which there is no OS now), and I can not remember some details, > so I am sorry if I am not too acurate. I suppose I will run into > this problem again with the AMD machine so I would like to understand > it better. > > > 1- I installed mozilla 1.7.2-2,2 from the packages on the CDROM. > 2- I cvsuped the ports collection. > 3- I installed and compiled some programs from the updated ports > collection. 4- Mozilla did not work anymore cause in needs atk-1.6.1. > > Mozilla in the package is 1.7.2_2,2 and depends on atk-1.6.1 > If I install programs from the updated ports tree, atk-1.8.0 was > installed for another port and atk-1.6.1 removed, but mozilla on the > CDROM package wants atk-1.6.1. So, If I try to install again from the > cdrom, it cant cause atk-1.8.0 is installed. > > Compilling mozilla in this slow machine is not reasonable, so: > > Can I download a more updated mozilla package acording to my updated > ports collection? I have browsed pkg_add man pages and believe that > the environment variables PACKAGESITE and PACKAGEROOT need to be set > so that pkg_add can fetch more updated packages. Am I right? Where > should they point to? > > I will use pkg_add only for big programs, and I can use the ports > collectio to compile the little ones. > > Many thanks. > > Ramiro. > Ramiro, If you're not going to compile from the ports tree, or use portupgrade or portmanager, then you will have to use pkg_add. Yoy don't have to set PACKAGESITE and/or PACKAGEROOT. You will probably have to do "pkg_delete mozilla-1.7.2_2,2 to remove mozilla from your installed packages. Then you can do "package_add -r mozilla", and it should download and install mozilla and required packages that haven't already been installed. Is there some reason you would rather use mozilla than, say, www/firefox and mail/thunderbird? Don -- Donald J. O'Neill donaldj1066@fastmail.fm I'm not totally useless, I can be used as a bad example.