[Mono-list] Building the debugger - Cant find Gtk#, needs binutils-dev ??

Darren Tuer darren_tuer@technologyonecorp.com
Tue, 13 May 2003 20:02:07 +1000

Hi Folks,

I currently have a fresh installation of RedHat 9, with most available
packages chosen ( not everything, but close to it.  I made sure I selected
all the kernel development and other development libraries)

I have also downloaded all available RPM's for mono 0.24 and installed them
( with the exception of the source RPMs and the debuginfo RPMS )

I have a CVS checkout of the debugger code from about two days ago.

When I run the ./configure script for the debugger, I get the following
output ...

checking whether -lc should be explicitly linked in... no
creating libtool
checking for void *... yes
checking size of void *... 4
checking for pkg-config... /usr/bin/pkg-config
checking whether we're compiling from CVS... yes
checking for gapi_codegen.exe... no
configure: WARNING: Cannot find gtk-sharp, the GUI won't be build
checking if building the GUI is requested... yes
configure: WARNING: Building the GUI is disabled!
checking for glib-2.0 >= 2.0.0... yes

If I have installed the gtk-sharp RPM ( this shows the output of an RPM
[root@Powerdog root]# rpm -qa | grep 'gtk-sharp*'
[root@Powerdog root]#

why does the configure script state it cannot find gtk-sharp ?  ( And yes, I
have included the required lines in my .bash_profile )  
MONO_PATH=/usr/local/lib:/usr/lib; export MONO_PATH
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib; export LD_LIBRARY_PATH
LD_LOAD_PATH=/usr/local/lib:/usr/lib; export LD_LOAD_PATH

The GUI is one of the key things I want to play with.  How disappointing if
I can't play !

Further down the output from ./configure, the script dies with

checking WRAPPER_LIBS... -Wl,--export-dynamic -lmono -lpthread -lm
-lgmodule-2.0 -ldl -lglib-2.0 -lgc
checking dis-asm.h usability... yes
checking dis-asm.h presence... yes
checking for dis-asm.h... yes
checking for bfd_get_arch in -lbfd... no
configure: error: Can't find libbfd, make sure you have binutils-dev >= 2.12

I can't work out where to obtain binutils-dev.  There are no binutils-dev
RPMs' nor SRPMs that come with the RH 9 CD's, nor is there an RPM on
rpmfind.net, nor any other site that I can locate via Google.

I do have binutils installed

[root@Powerdog root]# rpm -qa | grep 'binutils*'
[root@Powerdog root]#

Has anyone out there successfully built the debugger recently? ( I'm sure
there has to be a few ).  Can someone perhaps suggest something that I am
misssing ?

Thanks in advance for any assistance.