On 10/23/12 4:35 PM, Claude Bernard wrote:
> Hi,
> 
> I had the following problem trying to install vim. I am running Mac Os X 
> 10.6.8 on a 2.8 GHz Intel Core 2 Duo.  
> 
> gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/sw/include 
> -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 
> -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 
> -I/sw/lib/glib-2.0/include -I/sw/include/freetype2 -I/usr/X11R6/include 
> -I/usr/X11/include -I/sw/include  -O2 -fno-strength-reduce -Wall 
> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1   -I/usr/X11/include     -o 
> objects/buffer.o buffer.c
> In file included from vim.h:585,
>                  from buffer.c:28:
> /sw/include/libintl.h:440: error: expected '=', ',', ';', 'asm' or 
> '__attribute__' before 'libintl_newlocale'
> make: *** [objects/buffer.o] Error 1
> ### execution of /tmp/fink.ba_iP failed, exit code 2
> ### execution of /tmp/fink.3syFo failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-vim-7.3.494-2
> (Reading database ... 28361 files and directories currently installed.)
> Removing fink-buildlock-vim-7.3.494-2 ...
> Failed: phase compiling: vim-7.3.494-2 failed
> 
> Also include the following system information:
> Package manager version: 0.34.4
> Distribution version: selfupdate-rsync Tue Oct 23 16:48:36 2012, 10.6, i386
> Trees: local/main stable/main
> Xcode.app: 3.2.6
> Xcode command-line tools: 3.2.6
> Max. Fink build jobs:  1 
> 
> ------------------
> 
> I saw similar a similar problem from Jianxin Zhu, 1 Sep 22:02, on the users 
> list. But I don't have a /usr/local/include , and in any case renaming 
> /usr/local during the compile didn't help.
> 
> Thanks for any help you can give me.
> 
> Claude Bernard
> 

The message that you mentioned involved an issue with building gtk+2 on
10.6, which came about due to the combination of changes in libgettext8
and the relatively old X11 on 10.6.

Unfortunately, I can't attempt to reproduce this right now, because my
10.6 setup is inaccessible.  However, one thing to check would be when
you build your gtk+2, in case it is propagating incorrect information.
What do you get from

ls -l /sw/include/gtk-2.0/gtk/gtk.h

?
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to