From owner-freebsd-questions@FreeBSD.ORG Tue Mar 29 04:17:59 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 43E4116A4CE for ; Tue, 29 Mar 2005 04:17:59 +0000 (GMT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA03443D1D for ; Tue, 29 Mar 2005 04:17:58 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id j2T4HekL016368; Mon, 28 Mar 2005 20:17:40 -0800 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Mon, 28 Mar 2005 20:17:56 -0800 User-Agent: KMail/1.8 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503282017.56701.kstewart@owt.com> cc: well sun cc: khaled.abu@gmail.com Subject: Re: a question about the pkg_add and "make install clean" 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, 29 Mar 2005 04:17:59 -0000 On Monday 28 March 2005 07:27 pm, well sun wrote: > thanks your answers. I use the ports-supfile and stable-supfile > under /usr/share/examples/cvsup to do upgrade. > > I think I understand what the difference between the pkg_add and > "make install". > > That is if I want to install the latest version, I should use the > "make install" or get the xxx.tbz from the freebsd-current > directory. Is it correct? You have to understand up front that the KDE people will tell you that "make install clean" will not build a clean KDE. You have to make and then, make install for all of the pieces to be built. Kent > > Could I make the default directory from 5.3-release to 6.0-current > by change one configuration file? If I want to override the default > fetching site of "pkg_add" command by some faster sites, how can I > do? > > >From: Chris > >Reply-To: racerx@makeworld.com > >To: Abu Khaled > >CC: well sun , freebsd-questions@freebsd.org > >Subject: Re: a question about the pkg_add and "make install > > clean" Date: Mon, 28 Mar 2005 20:38:56 -0600 > > > >Abu Khaled wrote: > >>On Tue, 29 Mar 2005 01:12:10 +0000, well sun > >> > >> > >>wrote: > >>> I had install the freebsd5.3 with custom setup and only > >>>install > >>> the source code and base, not install xorg and perl. Then I > >>> use cvsup > >>> to upgrade stable source code and current ports. After doing > >>>these, I > >>> want to install the kde3 and gnome2. But I found when I use > >>> the pkg_add command, freebsd will go to the directory under > >>> "5.3-release", > >>> it is older than the installation using "make install clean" > >>>command. > >>> For example, when I use pkg_add xorg, it will install 6.7 > >>>version. > >>> When I use "make install clean", it will install 6.8.2 > >>> version. How > >>> can I make them to install same versions? Another question > >>> is, when I > >>> install the xorg-clients, it give me a error message that > >>>"libc.so.6" > >>> not found, and many reference to *GL.so not found, how can I > >>>fix it? I > >>> had get the latest X11R7-src{1,2,3}.tar.bz2. > >> > >>My guess would be that you did not build/install world/kernel. > >> So the > >>package system still defaults to your 5.3 release branch. The > >>sources/ports you updated must be for the development brach > >>FreeBSD-5.X, also known as FreeBSD 5-STABLE "RELENG 5" > >> > >>Check your CVSUP configuration (supfile). > >>if default tag=RELENG_5 then you are tracking 5.4 STABLE and you > >>need > >>to buildworld/kernel and install (check the handbook). > >> > >>If you don't whant to buildworld/kernel then change > >> "tag=RELENG_5" to > >>"tag=RELENG_5_3", cvsup again and your sources/ports well be the > >>same > >>as PACKAGES (the older ones) > > > >This is flat out wrong. The cvsup of the src tree and the ports > > tree are seperate. You would use 2 seperate cvs files. > > > >Now, you "could" combine them I suppose (I dont know out right - > > I have not done this. If you cvsup the ports tree (and it sounds > > like you may have, by doing so, you have pulled in a "newer" > > tree of the ports. Thus, a make install would get you the newest > > installs (pending on when you cvsuped the ports tree) of those > > programs. > > > >Using pkg_add is simply going out to the FBSD site and installing > >the binary (pre compiled) versions that were released when the OS > >was released. > > > >The proper tag for getting the latest ports tree under > > 5.3-RELEASE would be this in the ports-supfile: > > > >*default release=cvs tag=. > > > >Remeber, as long as you keep your ports tree up to date, the > >packages will always be outdated. > > > >You can find all this out by simply reading the handbook online. > > > >Please try to know what your talking about before confusing a > >newbie. > > > >-- > >Best regards, > >Chris > > > >Virtue is its own punishment. > > > _________________________________________________________________ > > [1]Find files on your PC instantly with the new MSN Toolbar Suite > beta FREE! > > References > > 1. http://g.msn.com/8HMBENUS/2737??PS=47575 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html