From owner-freebsd-questions@FreeBSD.ORG Mon May 22 16:43:19 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 6C4E416A7EA for ; Mon, 22 May 2006 16:43:19 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id B701243D46 for ; Mon, 22 May 2006 16:43:18 +0000 (GMT) (envelope-from greenwood.andy@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so1400494uge for ; Mon, 22 May 2006 09:43:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lVU2VfWH+jrZMpleCfgXDwveg6tii1nprNAu9CT3wEVqFrcXxXmBQmsHFzca2NSVQey+7y/nTqqPgNFftfKWb+W9RnpwSGs3uNYdKjiyyeOH68arA/OrghPHDFt9eilnFQJaIlgw23xHY2D4viIudLigWkt1/OY3OqfaBovEKfQ= Received: by 10.66.250.17 with SMTP id x17mr3915564ugh; Mon, 22 May 2006 09:43:17 -0700 (PDT) Received: by 10.66.251.14 with HTTP; Mon, 22 May 2006 09:43:17 -0700 (PDT) Message-ID: <3ee9ca710605220943m1b480342se9bb53cdd3bff64f@mail.gmail.com> Date: Mon, 22 May 2006 12:43:17 -0400 From: "Andy Greenwood" To: "Bill Schoolcraft" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200605221542.k4MFgiQF004622@clunix.cl.msu.edu> Cc: Jerry McAllister , freebsd-questions@freebsd.org Subject: Re: MESS (statically compiled vi ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 16:43:27 -0000 well, it looks like my sh has some dependancies too, so I wouldn't worry about it really. [root@prison /usr/ports/lang/php5]# ldd `which sh` /bin/sh: libedit.so.5 =3D> /lib/libedit.so.5 (0x2808c000) libncurses.so.6 =3D> /lib/libncurses.so.6 (0x280a0000) libc.so.6 =3D> /lib/libc.so.6 (0x280df000) On 5/22/06, Bill Schoolcraft wrote: > At Mon, 22 May 2006 it looks like Jerry McAllister composed: > > > > > > > At Mon, 22 May 2006 it looks like Jerry McAllister composed: > > > > > > > Yup. It is in /usr/bin > > > > I guess, I am so used to putting a copy of vi in /bin shortly after > > > > installing a new system that I assume it is always there. > > > > > > > > > > Can we actually 'de-install' then 're-install' vi(m) from PORTS with > > > it statically compiled? > > > > > > Then we can move it to /bin (?) > > > > You don't really need to de-install it. > > Just cp /usr/bin/vi /bin/. > > Make sure you are happy with the permissions. > > > > It will work. vi is pretty well self contained. > > Hmm, not sure if we are talking about in single user mode with only > / mounted, here is what my version does with a dependency check... > > I see it need libs in /lib, which I'm sure is not on it's own > partition, but I was hoping to get vi statically compiled. > > ############################################### > > [root@bsd /usr/ports/editors]-> ldd `which vi` > > /usr/bin/vi: > libncurses.so.5 =3D> /lib/libncurses.so.5 (0x280b9000) > libc.so.5 =3D> /lib/libc.so.5 (0x280f8000) > > ############################################### > > -- > Bill Schoolcraft | http://wiliweld.com > > "If your life was full of nothing but > sunshine, you would just be a desert." > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >