Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10073 - vim - fallback directory for $VIM is wrong
Summary: vim - fallback directory for $VIM is wrong
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-01 20:35 UTC by Leonid Kabanov
Modified: 2003-01-28 00:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kabanov 2002-11-01 20:35:05 UTC
"vim --version|grep fall" show this line: 
  fall-back for $VIM: "/usr/local/share/vim" 
but there is no this directory; all vim data stored in /usr/share/vim.
Comment 1 Bret Towe 2002-11-02 21:54:13 UTC
what version are you running? etc

 fall-back for $VIM: "/usr/share/vim"
is what i show running the masked eclass based vim
Comment 2 Leonid Kabanov 2002-11-03 20:05:35 UTC
# vim --version|grep fall 
  fall-back for $VIM: "/usr/local/share/vim" 
# emerge -s vim 
Searching... 
[ Results for search key : vim ] 
[ Applications found : 4 ] 
 
*  app-editors/gvim 
      Latest version available: 6.1-r2 
      Latest version installed: [ Not Installed ] 
      Homepage: http://www.vim.org/ 
      Description: gvim 
 
*  app-editors/kvim 
      Latest version available: 6.1.141 
      Latest version installed: [ Not Installed ] 
      Homepage: http://www.freehackers.org/kvim 
      Description: KDE editor based on vim 
 
*  app-editors/vim 
      Latest version available: 6.1-r15 
      Latest version installed: 6.1-r15 
      Homepage: http://www.vim.org/ 
      Description: Vi IMproved! 
 
*  app-editors/vim-core 
      Latest version available: 6.1-r2 
      Latest version installed: 6.1-r2 
      Homepage: http://www.vim.org/ 
      Description: vim, gvim and kvim shared files 
 
Comment 3 Ryan Phillips (RETIRED) gentoo-dev 2002-11-04 20:57:28 UTC
which version portage, gcc, gentoo, cflags, use vars, etc? 
Comment 4 Leonid Kabanov 2002-11-04 22:55:12 UTC
gcc-3.2-r1 
gentoo 1.4_rc1 
portage-2.0.43 
USE='nls gif mmx sse objprelink mitshm oss tcltk -gnome' 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -falign-functions=4" 
CXXFLAGS="${CFLAGS}" 
 
Comment 5 Bret Towe 2002-11-15 23:17:20 UTC
this might be crazy talk but what happens if u bring the cflags down to just
-march=pentium3 -O3 -pipe
and recompile it?
Comment 6 Leonid Kabanov 2002-11-16 00:34:34 UTC
I setup environment variables to

CFLAGS="-march=pentium3 -O3 -pipe" 
CXXFLAGS="${CFLAGS}" 

and run 

emerge vim

emerge download and install sys-libs/libtermcap-compat and then recompile vim
with right "fall-back for $VIM" directory. Then I fallback to my

CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -falign-functions=4" 

and reinstall again. Nothing changes - fall-back directory is correct. For
testing purposes I also recompile vim-core but nothing changes again. So I think
I did "emerge rsync" when something was changing in portage tree.