Unable to install Metacity

KishoreKumar Bairi prf.kishorekumar at gmail.com
Fri May 28 02:15:55 PDT 2010


Hello,

I'm unable to install metacity on my system DFBSD 2.6.3 (x86-64).
Binary packages for this aren't available so, I had to go through
source build.

______________________________________________________________________________

#cd /usr/pkgsrc/wm/metacity
#bmake install clean
=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg
fetch-pkg-vulnerabilities'.
===> Building for metacity-2.26.0nb1
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory `/usr/pkgsrc/wm/metacity/work/metacity-2.26.0'
Making all in src
gmake[2]: Entering directory `/usr/pkgsrc/wm/metacity/work/metacity-2.26.0/src'
/usr/pkg/bin/gmake  all-recursive
gmake[3]: Entering directory `/usr/pkgsrc/wm/metacity/work/metacity-2.26.0/src'
Making all in wm-tester
gmake[4]: Entering directory
`/usr/pkgsrc/wm/metacity/work/metacity-2.26.0/src/wm-tester'
/bin/sh ../../libtool --tag=CC  --mode=link cc -I/usr/pkg/include
-I/usr/include -I/usr/pkg/include/freetype2 -Wall -Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wcast-align -Wsign-compare -Wall -Werror -ansi
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o
wm-tester main.o -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lgtk-x11-2.0
-lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0
-lpangocairo-1.0 -lcairo -lfreetype -lfontconfig -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -lgconf-2 -lglib-2.0 -lintl
-lstartup-notification-1  -lXcomposite -lXrender -lX11 -lXdamage
-lXfixes -lXcursor   -lXext -lXrandr -lXext   -lSM -lICE -lX11 -lXext
-lXinerama  -lm

cc  -I/usr/pkgsrc/wm/metacity/work/.buildlink/include
-I/usr/pkgsrc/wm/metacity/work/.buildlink/include/freetype2  -Wall
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wall
-Werror -ansi  -Wl,-R/usr/pkg/lib  -o wm-tester main.o
-L/usr/pkgsrc/wm/metacity/work/.buildlink/lib
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libgtk-x11-2.0.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libgdk-x11-2.0.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libatk-1.0.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libgdk_pixbuf-2.0.so-
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libgio-2.0.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libpangocairo-1.0.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libpangoft2-1.0.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libcairo.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libpixman-1.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libglitz.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libpng12.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libfontconfig.so -
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libfreetype.so  -lz
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libexpat.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libpango-1.0.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libgconf-2.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libORBit-2.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libgmodule-2.0.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libgthread-2.0.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libdbus-glib-1.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libdbus-1.so -lpthread
-lrt  /usr/pkgsrc/wm/metacity/work/.buildlink/lib/libgobject-2.0.so -
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libglib-2.0.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libpcre.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libintl.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libstartup-notification-1.so
 -lxcb-aux  -lxcb-event  -lxcb-atom  -lxcb
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libXcomposite.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libXdamage.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libXcursor.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libXfixes.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libXrandr.so -
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libXrender.so -
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libSM.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libICE.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libXinerama.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libXext.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libX11.so
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libXdmcp.so  -lrpcsvc
/usr/pkgsrc/wm/metacity/work/.buildlink/lib/libXau.so  -lm
-Wl,--rpath -Wl, /usr/pkgsrc/wm/metacity/work/.buildlink/lib
-Wl,--rpath -Wl, /usr/pkgsrc/wm/metacity/work/.buildlink/lib


/usr/libexec/binutils217/elf/ld: cannot find -lxcb-aux
gmake[4]: *** [wm-tester] Error 1
gmake[4]: Leaving directory
`/usr/pkgsrc/wm/metacity/work/metacity-2.26.0/src/wm-tester'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/wm/metacity/work/metacity-2.26.0/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/wm/metacity/work/metacity-2.26.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/wm/metacity/work/metacity-2.26.0'
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/wm/metacity
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/wm/metacity
______________________________________________________________________________

As you can see its unable to find `xcb-aux`. Its actually passing
-lxcb-aux  -lxcb-event  -lxcb-atom  -lxcb. I've libxcb & xcb-util
installed on my machine.
xcb-util contains all static & shared versions of these libraries in
/usr/pkg/lib as libxcb-aux  , libxcb-event , libxcb-atom , libxcb.

I tried renaming these libs from libxcb to just xcb but that doesn't
seem to work.

Interesting thing is these packages are not explicity mentioned any
where in the Makefiles of Metacity. These are added after
work/.wrappers/bin/libtools doing its job.

How to resolve this issue?





More information about the Users mailing list