[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
-Wno-cast-qual
-Wcast-align -Wwrite-strings  -o libgdksharpglue.la -rpath /usr/lib
-module
-avoid-version dragcontext.lo event.lo selection.lo windowmanager.lo
-Wl,--export-dynamic -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
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
rm -fr .libs/libgdksharpglue.la .libs/libgdksharpglue.*
.libs/libgdksharpglue.*
/usr/bin/gcc -shared  dragcontext.lo event.lo selection.lo
windowmanager.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
-lgobject-2.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
`/home/skumar/20040503/mono-conf/gtk-sharp/BUILD/gtk-sharp-0.19.20040503/gdk/glue'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/home/skumar/20040503/mono-conf/gtk-sharp/BUILD/gtk-sharp-0.19.20040503/gdk'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/home/skumar/20040503/mono-conf/gtk-sharp/BUILD/gtk-sharp-0.19.20040503'
gmake: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.80663 (%build)

any ideas ? 

Thanks in advance.

Regards,
Sachin




More information about the Mono-devel-list mailing list