2

I was trying to install VIM with the ruby package through macports, by executing the command:

sudo port install vim +ruby +huge

It seems the package was downloaded fine, but an error occurred. This is the end of the log file. Perhaps somebody can shed any light on the causes?

info:build Undefined symbols for architecture i386:
:info:build   "_rb_num2uint", referenced from:
:info:build       _window_set_cursor in if_ruby.o
:info:build ld: symbol(s) not found for architecture i386
:info:build collect2: ld returned 1 exit status
:info:build lipo: can't open input file: /var/tmp//cc3hoDmr.out (No such file or directory)
:info:build make[1]: *** [vim] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_vim/vim/work/vim73/src'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_vim/vim/work/vim73'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_vim/vim/work/vim73" && /usr/bin/make -j5 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for vim): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for vim is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_vim/vim/main.log

I'm running Darwin (OSX Lion) with the latest MacPorts.

Andres
  • 21
  • 2

1 Answers1

1

Please refer same question here: https://stackoverflow.com/questions/3272999/install-ruby-support-for-vim-on-mac-os-x

citation from here:

MacVim is a very Mac-friendly version of Vim, and it's got Ruby support already built in. It can be used as both a GUI and Terminal application. (Check out :help macvim-start from within MacVim for details.)

Also it provides terminal version to use.

Eir Nym
  • 377