[Mono-devel-list] trouble compiling debugger

Jacques Beaurain jbeaurain at istop.com
Fri Nov 5 03:31:58 EST 2004

I mailed about the debugger in the last week as well (and quite some 
time ago). I wanted to find out what the status of the development was 
and got no answer so far.

Since then  I uninstalled everything Mono from my system and retrieved 
the following modules from CVS,  compiled and installed them:


Note that you'll need an existing Mono runtime (and maybe some other 
dependencies) on your system to compile these. I compiled them using 
tarballs from the download page as needed.

To use the debugger you need to obtain libedit from somewhere (I use 
Gentoo so I just ran emerge libread) and make sure the include files can 
be reached from the compile. I inspected the output failures from the 
compile and had to obtain the headers from the version I had (because 
the emerge did not install them).

I had another stumbling block towards getting debugging support, my 
glibc did not suport nptl (Native POSIX Threads Library). You can check 
for that by running the following (example output included):


GNU C Library 20041021 release version 2.3.4, by Roland McGrath et al.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
Compiled by GNU CC version 3.4.2 20041025 (Gentoo Linux 3.4.2-r3, 
ssp-3.4.1-1, pie-
Compiled on a Linux 2.6.8 system on 2004-11-04.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        Native POSIX Threads Library by Ulrich Drepper et al
        The C stubs add-on version 2.1.2.
        GNU Libidn by Simon Josefsson
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:

To get debugger support in MonoDevelop I edited the configure script 
after running ./autogen.sh and chaged the following line:


to read:


Now I think that there may be a reason that it is still disabled here, 
it hung once while I was testing it on a small program. It was only on 
program exit so it is still very usable and mdb seems  to work fine from 
the command line.

Hope this gets you going.


Jacques Beaurain

Miguel de Icaza wrote:

>>i quits with the following error:
>>checking if using the libedit library is requested... yes
>>configure: error: Cannot figure out how to link with the libedit
>>library; see config.log for more information
>>i attached the config.log. i use fedora core 2.
>>anyone knows what is wrong?
>Yes, configure told you what was wrong: you need libedit.
>The README has a link to libedit.
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com

More information about the Mono-devel-list mailing list