On 9/5/12 2:12 PM, Emma Boland wrote: > I am getting the following error executing 'fink update-all' after a > successful 'fink selfupdate'. The update fails at gtk+2. > > Error messages as below. I've checked X11 is up to date. Any other help > would be appreciated. > > Cheers, > Emma > > Information about 11766 packages read in 1 seconds. > The following 46 packages will be installed or updated: > ffmpeg-dev gtk+2 gtk+2-dev gtk+2-shlibs guile18 guile18-dev guile18-libs > guile18-shlibs imlib imlib-shlibs imlib2 imlib2-shlibs intltool40 > libavcodec-dev libavcodec51-shlibs libavcodec52-shlibs libavformat-dev > libavformat52-shlibs libavutil-dev libavutil49-shlibs libavutil50-shlibs > libcurl4 libcurl4-shlibs libkpathsea4 libkpathsea4-shlibs libmpc2 > libmpc2-shlibs libssh2.1 libssh2.1-shlibs libvpx libxml2 libxml2-bin > libxml2-py26 libxml2-py27 libxml2-shlibs openldap24-dev openldap24-shlibs > openmotif4 openmotif4-shlibs python26 python26-shlibs python27 > python27-shlibs > test-nowarnings-pm5100 xmlto xpdf > The following 8 additional packages will be installed: > db48-aes db51-aes gmp libjpeg libpng14 libx264-dev readline5 > system-openssl-dev > Do you want to continue? [Y/n] > > --- > > 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 > 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]: Leaving directory > `/sw/src/fink.build/gtk+2-2.18.9-10/gtk+-2.18.9/gtk' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > `/sw/src/fink.build/gtk+2-2.18.9-10/gtk+-2.18.9/gtk' > make[2]: *** [all] Error 2 > make[2]: Leaving directory > `/sw/src/fink.build/gtk+2-2.18.9-10/gtk+-2.18.9/gtk' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/sw/src/fink.build/gtk+2-2.18.9-10/gtk+-2.18.9' > make: *** [all] Error 2 > ### execution of /tmp/fink.qFJeU failed, exit code 2 > ### execution of /tmp/fink.IC_HX 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 ... 129559 files and directories currently installed.) > Removing fink-buildlock-gtk+2-2.18.9-10 ... > Failed: phase compiling: gtk+2-2.18.9-10 failed > > Package manager version: 0.34.3 > Distribution version: selfupdate-rsync Wed Sep 5 20:50:34 2012, 10.6, i386 > Trees: local/main stable/main stable/crypto > Xcode.app: 3.2.2 > Xcode command-line tools: 3.2.2 > Max. Fink build jobs: 1 > >
Do you, by any chance, have a /usr/local/include/locale.h or /usr/local/include/xlocale.h? If so, then I'd recommend renaming /usr/local temporarily while you do your build, and tnen renaming it back. It's essentially impossible to keep libraries and headers in /usr/local from being found. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ 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