1 |
>>>>> "William" == William Kenworthy <billk@×××××××××.au> writes: |
2 |
|
3 |
William> The problem is that if you build vim with USE=X, and X is not |
4 |
William> running, vim will not start as it cannot see X |
5 |
|
6 |
(First, I should note that the real problem occurs when the dynamic |
7 |
linker cannot find all of the libs /usr/bin/vim is linked against, as |
8 |
will occur if eg /usr/X11Rb/lib is corrupted.) |
9 |
|
10 |
The solution is for the vim ebuild to build not only a full-featured |
11 |
/usr/bin/vim, but also a /bin/vim that links only to libs in /lib. |
12 |
|
13 |
This is a standard thing to do; gentoo should follow suit. |
14 |
|
15 |
Even gentoo's nvi ebuild fails to accomplish this, since gentoo puts |
16 |
libdb.so in /usr/lib. |
17 |
|
18 |
It would probably help to move libattr.so from /usr/lib to /lib. |
19 |
That would mean the current vim ebuild would only have to leave out X |
20 |
and gpm support to work in /bin. |
21 |
|
22 |
Although it should also *silently* ignore a missing VIMRUNTIME |
23 |
directory, skipping things like syntax highlighting in that case. |
24 |
|
25 |
And lastly the default PATH should use the proper /usr/local/bin |
26 |
/usr/bin /bin order, instead of the /bin /usr/bin /usr/local/bin |
27 |
order gentoo currently uses. (A bug in /etc/profile; login.defs |
28 |
gets it right.) |
29 |
|
30 |
-JimC |
31 |
|
32 |
|
33 |
|
34 |
-- |
35 |
gentoo-dev@g.o mailing list |