Hello, I've been trying to compile vim-gtk2 on OS X Leopard without much luck. The problem seems to be with os_mac_conv.pro file. Here is the error: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/pkg/include -I/usr/pkg/include/libpng12 -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/X11R6/include -I/usr/include -I/usr/X11R6/include/freetype2 -DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -pipe -O -I/usr/pkg/include -I/usr/X11R6/include -I/usr/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -o objects/buffer.o buffer.c In file included from proto.h:261, from vim.h:1786, from buffer.c:28: proto/os_mac_conv.pro:7: error: syntax error before '*' token proto/os_mac_conv.pro:8: error: syntax error before '*' token proto/os_mac_conv.pro:8: warning: data definition has no type or storage class proto/os_mac_conv.pro:9: error: syntax error before 'mac_enc_to_cfstring' proto/os_mac_conv.pro:9: warning: data definition has no type or storage class *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/editors/vim-gtk2/work/vim71/src *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/editors/vim-gtk2 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/editors/vim-gtk2 Any suggestions would be greatly appreciated. -- Thank you, ********************************************************************* Allen Wong, Systems Administrator Efficient Computing, Inc. Direct: 650.376.4608 Main: 888.235.4456 x4608 Fax: 650.240.0113 Cell: 415.720.0110 Email: allen.wong%effcomp.com@localhost *********************************************************************
Attachment:
pgpbubnnmdygC.pgp
Description: PGP signature