Opened 17 years ago

Closed 17 years ago

#11146 closed defect (fixed)

syntax files missing from vim +aqua

Reported by: paulf@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.3.2
Keywords: vim aqua syntax resources Cc:
Port:

Description

Trying to turn on syntax highlighting from vim +aqua results in the error: E484: Can't open file /opt/local/Vim.app/Contents/Resources/vim/syntax/syntax.vim

There is no vim directory under ../Contents/Resources/

Change History (5)

comment:1 Changed 17 years ago by paulf@…

A bit more information:

/opt/local/usr/share/vim was also missing. Here's where it gets stranger.

% sudo port uninstall vim % sudo port install vim +aqua

Now, /opt/local/usr/share/vim is installed, but Vim.app and the gvim shell scripts are not. If I repeat, the opposite is true again back to the original reported state.

I don't have the resources to be more helpful. Running vim independently of macports in the meantime since the current state is unusable.

comment:2 Changed 17 years ago by paulf@…

sorry, I meant /opt/local/share/vim, not /opt/local/usr/share/vim

comment:3 Changed 17 years ago by ehainry@…

It probably has to do with the fact that the vim port installs incredibly messily: it puts a Vim.app in /opt/local with no good reason and worst installs things in the destroot directory (which is erased after install by the clean instruction).

For me, vim @7.0.178_0+aqua+huge+ncurses+perl+python has installed a GVim.app and Vim/Vim.app in /Applications/Darwinports/ and /opt/local/bin/gvim and everything is good.

comment:4 Changed 17 years ago by decibel (Jim Nasby)

I'm having a similar issue; vim +aqua isn't installing anything into /opt/local/Vim.app/Contents/Resources/vim. What's odd is that 'port contents vim' shows the following:

... /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_editors_vim/work/destroot/opt/local/Vim.app/Contents/Resources/vim/runtime/doc/syntax.txt ...

It does however install stuff to /Applications/DarwinPorts/Vim/Vim.app/Contents/Resources/vim, and if I symlink that to /opt/local/Vim.app/Contents/Resources/vim, everything works fine.

comment:5 Changed 17 years ago by pipping@…

Resolution: fixed
Status: newclosed

fixed in r21868.

Note: See TracTickets for help on using tickets.