Hi Folks,
I added
in /etc/make.conf and attempted to rebuild vim on FreeBSD-CURRENT system.
Unfortunately, build failed at compilation of gtk20:
I searched through the forum and google, but didn't find an answer
How can I fix the problem?
Thanks in advance!
I added
Code:
WITH_GTK2=yes
Unfortunately, build failed at compilation of gtk20:
Code:
gnome-libtool: link: ( cd ".libs" && rm -f "libgdk-x11-2.0.la" && ln -s "../libgdk-x11-2.0.la" "libgdk-x11-2.0.la" )
/usr/local/bin/g-ir-scanner --add-include-path=../gdk-pixbuf --namespace=Gdk --nsversion=2.0 --libtool="/bin/sh /usr/ports/x11-
toolkits/gtk20/work/gnome-libtool" --library=libgdk-x11-2.0.la --include=Gio-2.0 --include=GdkPixbuf-2.0 --include=Pango-1.0 --strip-prefix=Gdk
--add-include-path=../gdk-pixbuf -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I.. -I../gdk -I../gdk-pixbuf -DG_DISABLE_CAST_CHECKS -D_REENTRANT -
D_THREAD_SAFE -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo -
I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/gio-unix-2.0/ gdk.h
gdkapplaunchcontext.h gdkcairo.h gdkcolor.h gdkcursor.h gdkdisplay.h gdkdisplaymanager.h gdkdnd.h gdkdrawable.h gdkevents.h gdkfont.h gdkgc.h
gdki18n.h gdkimage.h gdkinput.h gdkkeys.h gdkkeysyms.h gdkpango.h gdkpixbuf.h gdkpixmap.h gdkprivate.h gdkproperty.h gdkregion.h gdkrgb.h
gdkscreen.h gdkselection.h gdkspawn.h gdktestutils.h gdktypes.h gdkvisual.h gdkwindow.h gdk.c gdkapplaunchcontext.c gdkcairo.c gdkcolor.c
gdkcursor.c gdkdisplay.c gdkdisplaymanager.c gdkdnd.c gdkdraw.c gdkevents.c gdkfont.c gdkgc.c gdkglobals.c gdkimage.c gdkkeys.c gdkkeyuni.c
gdkoffscreenwindow.c gdkpango.c gdkpixbuf-drawable.c gdkpixbuf-render.c gdkpixmap.c gdkpolyreg-generic.c gdkrectangle.c gdkregion-generic.c
gdkrgb.c gdkscreen.c gdkselection.c gdkvisual.c gdkwindow.c gdkwindowimpl.c gdkenumtypes.c gdkenumtypes.h x11/checksettings.c
x11/gdkapplaunchcontext-x11.c x11/gdkasync.c x11/gdkcolor-x11.c x11/gdkcursor-x11.c x11/gdkdisplay-x11.c x11/gdkdnd-x11.c x11/gdkdrawable-x11.c
x11/gdkevents-x11.c x11/gdkfont-x11.c x11/gdkgc-x11.c x11/gdkgeometry-x11.c x11/gdkglobals-x11.c x11/gdkim-x11.c x11/gdkimage-x11.c x11/gdkinput-
none.c x11/gdkinput-x11.c x11/gdkinput-xfree.c x11/gdkinput.c x11/gdkkeys-x11.c x11/gdkmain-x11.c x11/gdkpixmap-x11.c x11/gdkproperty-x11.c
x11/gdkscreen-x11.c x11/gdkselection-x11.c x11/gdksettings.c x11/gdkspawn-x11.c x11/gdktestutils-x11.c x11/gdkvisual-x11.c x11/gdkwindow-x11.c
x11/gdkxftdefaults.c x11/gdkxid.c x11/xsettings-client.c x11/xsettings-common.c libgdk-x11-2.0.la Makefile --output Gdk-2.0.gir
/usr/bin/ld: warning: librpcsvc.so.4, needed by /usr/local/lib/libXrandr.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libz.so.5, needed by /usr/local/lib/libfontconfig.so, may conflict with libz.so.6
/libexec/ld-elf.so.1: Shared object "librpcsvc.so.4" not found, required by "libXrandr.so.2"
Command '['/usr/ports/x11-toolkits/gtk20/work/gtk+-2.20.1/gdk/tmp-introspectAVkJXG/Gdk-2.0', '--introspect-dump=/usr/ports/x11-
toolkits/gtk20/work/gtk+-2.20.1/gdk/tmp-introspectAVkJXG/types.txt,/usr/ports/x11-toolkits/gtk20/work/gtk+-2.20.1/gdk/tmp-
introspectAVkJXG/dump.xml']' returned non-zero exit status 1
gmake[4]: *** [Gdk-2.0.gir] Error 1
gmake[4]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.20.1/gdk'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.20.1/gdk'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.20.1/gdk'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.20.1'
gmake: *** [all] Error 2
*** Error code 1
Stop in /usr/ports/x11-toolkits/gtk20.
*** Error code 1
Stop in /usr/ports/editors/vim.
krived@csx-spb-freebsd9 15:16:15 /usr/ports/editors/vim $ [1]
I searched through the forum and google, but didn't find an answer

How can I fix the problem?
Thanks in advance!