Ticket #20653 (closed defect: fixed)
vim doesn't work with non-standard developer tools location
| Reported by: | jadenb1729@… | Owned by: | raimue@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | ||
| Port: | vim |
Description
STEPS TO REPRODUCE (pre-install bug):
1. Install Developer Tools in a non-standard location (for me, /Users/Shared/Developer).
2. Try to install MacPorts.
EXPECTED: MacPorts installs.
ACTUAL RESULTS: MacPorts fails to install (cannot link against library crt1.10.5o).
Installing the Unix tools (which just installs a bunch of symlinks in /usr) makes this work correctly --but there's more!
STEPS TO REPRODUCE (post-install bug):
1. Try to install vim.
EXPECTED RESULTS: vim builds normally.
ACTUAL RESULTS:
/usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -I/Users/Shared/Applications/Utilities/MacPorts/include -DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -D_FORTIFY_SOURCE=1 -o objects/buffer.o buffer.c
In file included from vim.h:315,
from buffer.c:28:
os_mac.h:26:64: error: Quickdraw.h: No such file or directory
os_mac.h:27:24: error: ToolUtils.h: No such file or directory
os_mac.h:28:21: error: LowMem.h: No such file or directory
os_mac.h:29:20: error: Scrap.h: No such file or directory
os_mac.h:30:20: error: Sound.h: No such file or directory
os_mac.h:31:24: error: TextUtils.h: No such file or directory
os_mac.h:33:22: error: OSUtils.h: No such file or directory
os_mac.h:34:20: error: Files.h: No such file or directory
os_mac.h:36:22: error: Script.h: No such file or directory
Placing a symlink from /Developer to /Users/Shared/Developer (thanks, improved symlinks in 10.5!) resolves the problem, but it seems that this shouldn't be necessary.
Change History
Note: See
TracTickets for help on using
tickets.

