I, too, am coming up with the error

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" 
-DGTK_LIBDIR=\"/sw/lib\" -DGTK_DATADIR=\"/sw/share\" -DGTK_DATA_PREFIX=\"/sw\" 
-DGTK_SYSCONFDIR=\"/sw/etc\" -DGTK_VERSION=\"2.18.9\" 
-DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_HOST=\"i386-apple-darwin10.8.0\" 
-DGTK_COMPILATION -DGTK_PRINT_BACKENDS=\"file,cups\" 
"-DGTK_PRINT_PREVIEW_COMMAND=\"evince --unlink-tempfile --preview 
--print-settings %s %f\"" -I.. -I../gtk -I.. -I../gdk -I../gdk -I../gdk-pixbuf 
-I../gdk-pixbuf -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED 
-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED 
-DG_DISABLE_CAST_CHECKS -DDISABLE_VISIBILITY -I/sw/include/glib-2.0 
-I/sw/lib/glib-2.0/include -I/sw/include -I/sw/include/pango-1.0 
-I/sw/include/cairo -I/sw/include/freetype2 -I/sw/include/atk-1.0 
-I/usr/X11R6/include -I/usr/X11/include -DX_LOCALE 
-I/sw/lib/fontconfig2/include -D_IPP_PRIVATE_STRUCTURES=1 -I/sw/include 
-DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES 
-DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES 
-I/usr/X11/include -DGDK_PIXBUF_DISABLE_DEPRECATED -Os -Wall -MT 
gtkimmulticontext.lo -MD -MP -MF .deps/gtkimmulticontext.Tpo -c 
gtkimmulticontext.c  -fno-common -DPIC -o .libs/gtkimmulticontext.o
gtkimmodule.c:286: warning: 'add_builtin_module' defined but not used
In file included from /sw/include/glib-2.0/glib/gi18n-lib.h:25,
                from gtkintl.h:4,
                from gtkimmulticontext.c:33:
/sw/include/libintl.h:440: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'libintl_newlocale'
make[4]: *** [gtkimmulticontext.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/gtkimmodule.Tpo .deps/gtkimmodule.Plo
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /tmp/fink._3Xk2 failed, exit code 2
### execution of /tmp/fink.xEqOL failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-gtk+2-2.18.9-10
(Reading database ... 139201 files and directories currently installed.)
Removing fink-buildlock-gtk+2-2.18.9-10 ...
Failed: phase compiling: gtk+2-2.18.9-10 failed

Before reporting any errors, please run "fink selfupdate" and try again.
Also try using "fink configure" to set your maximum build jobs to 1 and
attempt to build the package again.
If you continue to have issues, please check to see if the FAQ on Fink's 
website solves the problem.  If not, ask on one (not both, please) of
these mailing lists:

       The Fink Users List <fink-users@lists.sourceforge.net>
       The Fink Beginners List <fink-beginn...@lists.sourceforge.net>.

Please try to include the complete error message in your report.  This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.

Also include the following system information:
Package manager version: 0.34.3
Distribution version: selfupdate-rsync Thu Sep  6 21:55:44 2012, 10.6, i386
Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
Xcode.app: 3.2.5
Xcode command-line tools: 3.2.5
Max. Fink build jobs:  2

Alexander Hansen has asked whether two users with this problem have locale.h or 
xlocale.h in /usr/local/include; my /usr/local consists of

[Media-Mac-mini:~] lucier% ls /usr/local
Gambit-C/       share/

Brad
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
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