upgrading VIM errors
Timothy Goins
ohce86 at kitcarson.net
Tue Jan 20 10:58:28 PST 2009
Thanks, Joel, that worked. However, I ran into two problems that I
found interesting. When I ran "tim at cotopaxi:~$ sudo port clean --all
vim" the call returned "/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_editors_vim/work/.macports.vim.state is
not writable - check permission on port directory..."
When I did an "ls -al" the command returned the following:
drwxr-xr-x 4 root admin 136 Jan 18 16:55 .
drwxr-xr-x 3 root admin 102 Jan 18 16:55 ..
-rw-r--r-- 1 root admin 144 Jan 18 16:55 .macports.vim.state
drwxr-xr-x 43 root admin 1462 Jan 18 16:55 vim72
Huh? So, I did a chmod 666 on .macports.vim.state (although that
didn't make much sense to me, since the file and directories were all
writable by root) and ran "sudo port -f clean -all vim" and all was
well. I'm going to try a similar procedure on openssl, the only other
active ports I can't seem to upgrade.
Okay, entirely different situation. "sudo port upgrade openssl" looks
for "cc", which somewhere along the way had disappeared from "/usr/
bin." So I created a symlink from /usr/gcc-4.0 to "cc" and all went
well!
Thanks again,
Tim
On Jan 20, 2009, at 10:48 AM, Joel Thibault wrote:
[snip]
> 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
>
>
> Try doing a selfupdate and clean first, at least for vim:
>
> $ sudo port selfupdate
> $ port clean --all vim
> $ sudo port upgrade vim
>
> That fixed the problem for me.
>
> Joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090120/6153cc61/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/20090120/6153cc61/attachment.bin>
More information about the macports-users
mailing list