From owner-freebsd-questions@FreeBSD.ORG Tue Mar 29 03:48:24 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 6884616A4CE for ; Tue, 29 Mar 2005 03:48:24 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id C467E43D1D for ; Tue, 29 Mar 2005 03:48:23 +0000 (GMT) (envelope-from khaled.abu@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so398084wra for ; Mon, 28 Mar 2005 19:48:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=rO0BSlFpv5NG9P7bqlP68N7axQNlXVR6g7dsEA7uXJibBHXhe2Xl5QKlbFygUmYXpY+wsv68Y7ojNR3khCizq3f2XzKgp1EVneSAr0fWFlETdaDW4/oZkBtBt69+m49GvtEKOKiqzj03mxIE8zULye2ABd2DAIVLDV6P1yU2RTM= Received: by 10.54.13.77 with SMTP id 77mr1118631wrm; Mon, 28 Mar 2005 19:48:23 -0800 (PST) Received: by 10.54.23.34 with HTTP; Mon, 28 Mar 2005 19:48:23 -0800 (PST) Message-ID: Date: Tue, 29 Mar 2005 05:48:23 +0200 From: Abu Khaled To: well sun In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable References: <4248BFC0.6050001@makeworld.com> cc: freebsd-questions@freebsd.org 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 Reply-To: Abu Khaled List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 03:48:24 -0000 On Tue, 29 Mar 2005 03:27:22 +0000, well sun wrote: >=20 > =20 >=20 > thanks your answers. I use the ports-supfile and stable-supfile under > /usr/share/examples/cvsup to do upgrade.=20 >=20 > I think I understand what the difference between the pkg_add and "make > install".=20 >=20 > 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?=20 >=20 > Could I make the default directory from 5.3-release to 6.0-current by cha= nge > one configuration file? If I want to override the default fetching site o= f > "pkg_add" command by some faster sites, how can I do?=20 you need to set PACKAGESITE environment variable example for i386 and 5.X STABLE # setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/ALL If it fails I use this one # setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/Latest >=20 > >From: Chris =20 > >Reply-To: racerx@makeworld.com=20 > >To: Abu Khaled =20 > >CC: well sun , freebsd-questions@freebsd.org=20 > >Subject: Re: a question about the pkg_add and "make install clean"=20 > >Date: Mon, 28 Mar 2005 20:38:56 -0600=20 > >=20 > >Abu Khaled wrote:=20 > >>On Tue, 29 Mar 2005 01:12:10 +0000, well sun =20 > >>wrote:=20 > >>=20 > >>> I had install the freebsd5.3 with custom setup and only=20 > >>>install=20 > >>> the source code and base, not install xorg and perl. Then I use=20 > >>>cvsup=20 > >>> to upgrade stable source code and current ports. After doing=20 > >>>these, I=20 > >>> want to install the kde3 and gnome2. But I found when I use the=20 > >>> pkg_add command, freebsd will go to the directory under=20 > >>>"5.3-release",=20 > >>> it is older than the installation using "make install clean"=20 > >>>command.=20 > >>> For example, when I use pkg_add xorg, it will install 6.7=20 > >>>version.=20 > >>> When I use "make install clean", it will install 6.8.2 version.=20 > >>>How=20 > >>> can I make them to install same versions? Another question is,=20 > >>>when I=20 > >>> install the xorg-clients, it give me a error message that=20 > >>>"libc.so.6"=20 > >>> not found, and many reference to *GL.so not found, how can I=20 > >>>fix it? I=20 > >>> had get the latest X11R7-src{1,2,3}.tar.bz2.=20 > >>>=20 > >>=20 > >>=20 > >>My guess would be that you did not build/install world/kernel. So=20 > >>the=20 > >>package system still defaults to your 5.3 release branch. The=20 > >>sources/ports you updated must be for the development brach=20 > >>FreeBSD-5.X, also known as FreeBSD 5-STABLE "RELENG 5"=20 > >>=20 > >>Check your CVSUP configuration (supfile).=20 > >>if default tag=3DRELENG_5 then you are tracking 5.4 STABLE and you=20 > >>need=20 > >>to buildworld/kernel and install (check the handbook).=20 > >>=20 > >>If you don't whant to buildworld/kernel then change "tag=3DRELENG_5"=20 > >>to=20 > >>"tag=3DRELENG_5_3", cvsup again and your sources/ports well be the=20 > >>same=20 > >>as PACKAGES (the older ones)=20 > >>=20 > >=20 > >This is flat out wrong. The cvsup of the src tree and the ports tree=20 > >are seperate. You would use 2 seperate cvs files.=20 > >=20 > >Now, you "could" combine them I suppose (I dont know out right - I=20 > >have not done this. If you cvsup the ports tree (and it sounds like=20 > >you may have, by doing so, you have pulled in a "newer" tree of the=20 > >ports. Thus, a make install would get you the newest installs=20 > >(pending on when you cvsuped the ports tree) of those programs.=20 > >=20 > >Using pkg_add is simply going out to the FBSD site and installing=20 > >the binary (pre compiled) versions that were released when the OS=20 > >was released.=20 > >=20 > >The proper tag for getting the latest ports tree under 5.3-RELEASE=20 > >would be this in the ports-supfile:=20 > >=20 > >*default release=3Dcvs tag=3D.=20 > >=20 > >Remeber, as long as you keep your ports tree up to date, the=20 > >packages will always be outdated.=20 > >=20 > >You can find all this out by simply reading the handbook online.=20 > >=20 > >Please try to know what your talking about before confusing a=20 > >newbie.=20 > >=20 > >--=20 > >Best regards,=20 > >Chris=20 > >=20 > >Virtue is its own punishment.=20 >=20 > ________________________________ >=20 > Find files on your PC instantly with the new MSN Toolbar Suite beta =96 = FREE! --=20 Kind regards Abu Khaled