[Mono-devel-list] Error building gtk-sharp

Sachin Kumar skumar1 at novell.com
Mon May 3 11:14:31 EDT 2004

Hello Mike,

Thanks for fixing the version number issue.
But , now I get some other problem. I get following error 
when I try to build rpm packages for gtk-sharp. 

mv -f .libs/windowmanager.lo windowmanager.lo
/bin/sh ../../libtool --mode=link /usr/bin/gcc  -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs  -Wshadow -Wpointer-arith
-Wcast-align -Wwrite-strings  -o libgdksharpglue.la -rpath /usr/lib
-avoid-version dragcontext.lo event.lo selection.lo windowmanager.lo
-Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi
-lXext -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
rm -fr .libs/libgdksharpglue.la .libs/libgdksharpglue.*
/usr/bin/gcc -shared  dragcontext.lo event.lo selection.lo
-lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -lXext -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgmodule-2.0 -ldl -lglib-2.0  -Wl,--export-dynamic -Wl,-soname
-Wl,libgdksharpglue.so -o .libs/libgdksharpglue.so
/usr/bin/ld: cannot find -lXrandr
collect2: ld returned 1 exit status
gmake[3]: *** [libgdksharpglue.la] Error 1
gmake[3]: Leaving directory
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
gmake: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.80663 (%build)

any ideas ? 

Thanks in advance.


More information about the Mono-devel-list mailing list