On 8/30/02 7:31 PM, Thomas Harrington enlightened us with:
> You were right about /usr/local/include/, I was finally able to rebuild
> vim and it works now. But something's odd about it all, because
> although I had a /usr/local/include/ directory, it was empty. However
> once I removed it, the build process proceeded normally.
I can confirm this problem. My /usr/local/include has a few things in it. So
when I ran `fink install vim' I received this error:
(see "attached error" below)
Then I renamed /usr/local/include to /usr/local/include2, re-ran `fink
install vim' and vim built and installed smoothly.
> Any tips? My system feels naked without a working vim.
I can confirm this, too :)
--
Ian L.
http://www.logicallemon.com/
- Perl, Mac OS X, Zsh, Vim
- bass guitar, downtempo electronica
---------------- ATTACHED ERROR: vim ---------------------------
creating auto/config.mk
creating auto/config.h
mkdir objects
CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK
-I/sw/include/gtk-1.2 -I/sw/include/gl
-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include
-I/usr/local/include -g -O2 -no-cpp-
ecomp -I/usr/X11R6/include " srcdir=. sh ./osdef.sh
cpp0: warning: changing search order for system directory
"/usr/local/include"
cpp0: warning: as it has already been specified as a
non-system directory
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK
-I/sw/include/gtk-1.2 -I/sw/include
lib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include
-I/usr/local/include -g -O2 -no-c
-precomp -I/usr/X11R6/include -o objects/buffer.o
buffer.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a
non-system directory
In file included from /usr/X11R6/include/X11/Intrinsic.h:64,
from gui.h:34,
from structs.h:73,
from vim.h:1327,
from buffer.c:29:
/usr/include/string.h:76: conflicting types for `memmove'
auto/osdef.h:56: previous declaration of `memmove'
/usr/include/string.h:105: conflicting types for
`strcasecmp'
auto/osdef.h:74: previous declaration of `strcasecmp'
/usr/include/string.h:110: conflicting types for
`strncasecmp'
auto/osdef.h:77: previous declaration of `strncasecmp'
make: *** [objects/buffer.o] Error 1
### execution of (cd failed, exit code 2
Failed: compiling vim-6.1-1 failed
---------------- END ATTACHED ERROR: vim ---------------------------
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users