Re: E484: Can't open file /usr/share/vim/syntax/syntax.vim
12.10.2011 14:59, jan.kolar пишет: Oleksandr Gavenko-2 pishet: $ cygcheck -c vim Cygwin Package Information Package VersionStatus vim 7.3.254-1 OK This is an important information to start with. Where did you get that from? From cygwin ports ? (I can not find that version among official 'STABLE', but it is listed here http://www.mail-archive.com/cygwin-ports-general@lists.sourceforge.net/msg00943.html ) The cygwin port version of vim depends on vim-common package. I suppose the Installer suggested to install that. I hope installing vim-common helps. I run cygcheck -c and found that some packages (include 'vim-common') have status Invalide. After reinstalling all these packages vim found syntax file and work fine. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: E484: Can't open file /usr/share/vim/syntax/syntax.vim
Oleksandr Gavenko-2 wrote: 12.10.2011 14:59, jan.kolar пишет: Oleksandr Gavenko-2 pishet: $ cygcheck -c vim Cygwin Package Information Package VersionStatus vim 7.3.254-1 OK This is an important information to start with. Where did you get that from? From cygwin ports ? (I can not find that version among official 'STABLE', but it is listed here http://www.mail-archive.com/cygwin-ports-general@lists.sourceforge.net/msg00943.html ) The cygwin port version of vim depends on vim-common package. I suppose the Installer suggested to install that. I hope installing vim-common helps. I run cygcheck -c and found that some packages (include 'vim-common') have status Invalide. After reinstalling all these packages vim found syntax file and work fine. Put 'cygcheck -c' on your TODO-BEFORE-POSTING list. :-) And post versions (of application, cygwin itself and perhaps OS) as well. -- View this message in context: http://old.nabble.com/E484%3A-Can%27t-open-file--usr-share-vim-syntax-syntax.vim-tp32535175p32644907.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: E484: Can't open file /usr/share/vim/syntax/syntax.vim
On Thu, Oct 13, 2011 at 05:27:04AM -0700, jan.kolar wrote: Put 'cygcheck -c' on your TODO-BEFORE-POSTING list. :-) And post versions (of application, cygwin itself and perhaps OS) as well. Please just read the instructions at http://cygwin.com/problems.html . They instruct you in what we require for proper debugging of problems. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: E484: Can't open file /usr/share/vim/syntax/syntax.vim
03.10.2011 2:35, jan.kolar пишет: Oleksandr Gavenko (aka gavenkoa) wrote: $ cat ~/.vimrc syntax on $ vim Error detected while processing /cygdrive/e/home/.vimrc: line1: E484: Can't open file /usr/share/vim/syntax/syntax.vim Press ENTER or type command to continue This issue reported previously: http://cygwin.com/ml/cygwin/2006-07/msg00105.html I have no problem with syntax loading. Did you try reinstall/upgrade/downgrade vim ? :help syntax-loading Source $VIMRUNTIME/syntax/syntax.vim :echo $VIMRUNTIME /usr/share/vim/vim73 :help VIMRUNTIME or see http://vimdoc.sourceforge.net/htmldoc/starting.html#$VIMRUNTIME http://vimdoc.sourceforge.net/htmldoc/starting.html#$VIMRUNTIME for what VIMRUNTIME is, how it defaults and how it can be set. (:let $VIMRUNTIME = /home/piet/vim/vim54 -- or what about :letglobal here ?) That because you use another Vim. I run vim from 'vim' package: $ cygcheck -c vim Cygwin Package Information Package VersionStatus vim 7.3.254-1 OK $ which vim /usr/bin/vim $ cygcheck -l vim /etc/postinstall/vim.sh /etc/preremove/vim.sh /usr/bin/ex /usr/bin/vi /usr/bin/vim-nox.exe /usr/bin/vimtutor $ cat /etc/postinstall/vim.sh.done /usr/sbin/update-alternatives \ --install /usr/bin/vim vim /usr/bin/vim-nox.exe 10 \ ... I try all your suggested command and they all fail. Also I note that there are no any Cygwin specific vim.README under /usr/share/doc/Cygwin nor under /usr/share/vim, /usr/share/doc/vim which is unusual situation for Cygwin package... Search under: http://cygwin.com/cgi-bin2/package-grep.cgi?grep=vim list only: gvim/gvim-7.2.245-1 which also does not contain $VIMRUNTIME/syntax/syntax.vim Is it possible to get full featured Vim under Cygwin? Or separate installation required? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: E484: Can't open file /usr/share/vim/syntax/syntax.vim
Oleksandr Gavenko-2 pishet: 03.10.2011 2:35, jan.kolar pishet: Oleksandr Gavenko (aka gavenkoa) wrote: $ cat ~/.vimrc syntax on $ vim Error detected while processing /cygdrive/e/home/.vimrc: line1: E484: Can't open file /usr/share/vim/syntax/syntax.vim Press ENTER or type command to continue This issue reported previously: http://cygwin.com/ml/cygwin/2006-07/msg00105.html I have no problem with syntax loading. Did you try reinstall/upgrade/downgrade vim ? :help syntax-loading Source $VIMRUNTIME/syntax/syntax.vim :echo $VIMRUNTIME /usr/share/vim/vim73 :help VIMRUNTIME or see http://vimdoc.sourceforge.net/htmldoc/starting.html#$VIMRUNTIME http://vimdoc.sourceforge.net/htmldoc/starting.html#$VIMRUNTIME for what VIMRUNTIME is, how it defaults and how it can be set. (:let $VIMRUNTIME = /home/piet/vim/vim54 -- or what about :letglobal here ?) That because you use another Vim. I run vim from 'vim' package: ? (I do not know where from I got '/home/piet/', my appology.) $ cygcheck -c vim Cygwin Package Information Package VersionStatus vim 7.3.254-1 OK This is an important information to start with. Where did you get that from? From cygwin ports ? (I can not find that version among official 'STABLE', but it is listed here http://www.mail-archive.com/cygwin-ports-general@lists.sourceforge.net/msg00943.html ) $ which vim /usr/bin/vim $ cygcheck -l vim /etc/postinstall/vim.sh /etc/preremove/vim.sh /usr/bin/ex /usr/bin/vi /usr/bin/vim-nox.exe /usr/bin/vimtutor This is very short. I have: $ cygcheck -c vim vim 7.3.003-1 OK $ cygcheck -l vim | wc 15861586 64915 The cygwin port version of vim depends on vim-common package. I suppose the Installer suggested to install that. $ cat /etc/postinstall/vim.sh.done /usr/sbin/update-alternatives \ --install /usr/bin/vim vim /usr/bin/vim-nox.exe 10 \ ... I try all your suggested command and they all fail. (I think you did not try to reinstall/upgrade/downgrade vim.) Also I note that there are no any Cygwin specific vim.README under /usr/share/doc/Cygwin nor under /usr/share/vim, /usr/share/doc/vim which is unusual situation for Cygwin package... Search under: http://cygwin.com/cgi-bin2/package-grep.cgi?grep=vim list only: gvim/gvim-7.2.245-1 The output is truncated, and the page says that. which also does not contain $VIMRUNTIME/syntax/syntax.vim Is it possible to get full featured Vim under Cygwin? Yes. I use it and I am very happy with it. (Up to the point that I had problems with fork() when vimdiff was started. If you experience that, search for 'rebaseall', that will help I think.) Or separate installation required? No I hope installing vim-common helps. JK. -- View this message in context: http://old.nabble.com/E484%3A-Can%27t-open-file--usr-share-vim-syntax-syntax.vim-tp32535175p32637150.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: E484: Can't open file /usr/share/vim/syntax/syntax.vim
Oleksandr Gavenko (aka gavenkoa) wrote: $ cat ~/.vimrc syntax on $ vim Error detected while processing /cygdrive/e/home/.vimrc: line1: E484: Can't open file /usr/share/vim/syntax/syntax.vim Press ENTER or type command to continue This issue reported previously: http://cygwin.com/ml/cygwin/2006-07/msg00105.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple I have no problem with syntax loading. Did you try reinstall/upgrade/downgrade vim ? :help syntax-loading Source $VIMRUNTIME/syntax/syntax.vim :echo $VIMRUNTIME /usr/share/vim/vim73 :help VIMRUNTIME or see http://vimdoc.sourceforge.net/htmldoc/starting.html#$VIMRUNTIME http://vimdoc.sourceforge.net/htmldoc/starting.html#$VIMRUNTIME for what VIMRUNTIME is, how it defaults and how it can be set. (:let $VIMRUNTIME = /home/piet/vim/vim54 -- or what about :letglobal here ?) JK -- View this message in context: http://old.nabble.com/E484%3A-Can%27t-open-file--usr-share-vim-syntax-syntax.vim-tp32535175p32579808.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
E484: Can't open file /usr/share/vim/syntax/syntax.vim
$ cat ~/.vimrc syntax on $ vim Error detected while processing /cygdrive/e/home/.vimrc: line1: E484: Can't open file /usr/share/vim/syntax/syntax.vim Press ENTER or type command to continue This issue reported previously: http://cygwin.com/ml/cygwin/2006-07/msg00105.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple