Upgrading vim

Timothy Goins ohce86 at kitcarson.net
Sun Jan 11 12:10:54 PST 2009


I am having a problem upgrading three of my active but outdated ports  
[10.5.6; Xcode 3.1; user/bin/gcc-4.0]; I am much more familiar with  
the configure-make-make install routine and am new to MacPorts.

Running ~$ sudo port outdated produces the following:

The following installed ports are outdated:
vim                            7.2.021_0 < 7.2.065_0
xorg-libxcb                    1.0_0 < 1.1_0
xorg-xcb-proto                 1.0_0 < 1.3_0

All my remaining active ports are current.

However, when I run ~$ sudo port -R upgrade vim I get the following:

--->  Building vim
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_editors_vim/work/vim72" && make all "  
returned error 2
Command output: Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && make all
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H   -I/opt/local/include  
-DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon  -O - 
D_FORTIFY_SOURCE=1         version.c -o objects/version.o
   /usr/bin/gcc-4.0   -L/opt/local/lib -L/usr/local/lib 	-o vim  
objects/buffer.o objects/charset.o objects/diff.o objects/digraph.o  
objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o  
objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/ 
fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/ 
hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/main.o  
objects/mark.o objects/memfile.o objects/memline.o objects/menu.o  
objects/message.o objects/misc1.o objects/misc2.o objects/move.o  
objects/mbyte.o objects/normal.o objects/ops.o objects/option.o  
objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/ 
quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/ 
spell.o objects/syntax.o  objects/tag.o objects/term.o objects/ui.o  
objects/undo.o objects/window.o       objects/os_macosx.o objects/ 
os_mac_conv.o  objects/netbeans.o  objects/version.o       -lm  - 
lncurses -liconv -framework Carbon
Undefined symbols:
   "__Xsetlocale", referenced from:
       _get_locale_val in ex_cmds2.o
       _ex_language in ex_cmds2.o
       _ex_language in ex_cmds2.o
       _ex_language in ex_cmds2.o
       _main in main.o
       _main in main.o
       _enc_locale in mbyte.o
       _mac_lang_init in os_mac_conv.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [vim] Error 1
make: *** [all] Error 2

Error: Unable to upgrade port: 1

I'm sure that it's something simple that I'm missing (dependencies?   
Python?); all other ports that were outdated I was able to upgrade.

Thanks,

Tim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090111/5340505f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2116 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090111/5340505f/attachment.bin>


More information about the macports-users mailing list