From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20066 invoked by uid 1002); 30 Apr 2003 12:42:08 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 32179 invoked from network); 30 Apr 2003 12:42:07 -0000 To: billk@iinet.net.au Cc: gentoo-dev List References: <20030429001443.GA413@time> <20030429011644.GB18711@lucien.dreaming> <20030429033239.GB413@time> <200304290224.53881.novas007@gmx.net> <1051598177.1819.32.camel@bunyip.uwa.edu.au> <1620000.1051624615@[192.168.23.6]> <3EAE8AC3.8060603@home.se> <1250000.1051627788@[192.168.23.6]> <1051630278.19658.24.camel@chinstrap.penguins.homeunix.net> <1051632346.24684.213.camel@rattus.Localdomain> <20030429182847.GH18711@lucien.dreaming> <1051660150.24674.1610.camel@rattus.Localdomain> From: "James H. Cloos Jr." In-Reply-To: <1051660150.24674.1610.camel@rattus.Localdomain> Date: 30 Apr 2003 08:41:51 -0400 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [gentoo-dev] Re: new local USE var: vim-with-x X-Archives-Salt: 1ca9f936-8a4e-4813-a90e-9d237105483b X-Archives-Hash: fcb47dbda19de7aa68ac84e34ec7d144 >>>>> "William" == William Kenworthy writes: William> The problem is that if you build vim with USE=X, and X is not William> running, vim will not start as it cannot see X (First, I should note that the real problem occurs when the dynamic linker cannot find all of the libs /usr/bin/vim is linked against, as will occur if eg /usr/X11Rb/lib is corrupted.) The solution is for the vim ebuild to build not only a full-featured /usr/bin/vim, but also a /bin/vim that links only to libs in /lib. This is a standard thing to do; gentoo should follow suit. Even gentoo's nvi ebuild fails to accomplish this, since gentoo puts libdb.so in /usr/lib. It would probably help to move libattr.so from /usr/lib to /lib. That would mean the current vim ebuild would only have to leave out X and gpm support to work in /bin. Although it should also *silently* ignore a missing VIMRUNTIME directory, skipping things like syntax highlighting in that case. And lastly the default PATH should use the proper /usr/local/bin /usr/bin /bin order, instead of the /bin /usr/bin /usr/local/bin order gentoo currently uses. (A bug in /etc/profile; login.defs gets it right.) -JimC -- gentoo-dev@gentoo.org mailing list