[Mono-devel-list] trouble compiling debugger

Jacques Beaurain jbeaurain at istop.com
Fri Nov 5 04:43:30 EST 2004

One more thing, I forgot that I did not properly enable the debugger in 
MonoDevelop, you would have needed to do some manual compiling from the 
command line to get it all to fly. Here is a better way.

I re-enabled the debugger  properly by editing configure.in (patch 

remove the configure script and run ./autogen.sh.



Jacques Beaurain wrote:

> 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:
> mcs
> mono
> monodoc
> gtksharp
> gtksourceview-sharp
> debugger
> 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):
> /lib/libc.so.6
> 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
>        BIND-8.2.3-T5B
>        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
> Thread-local storage support included.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/libc/bugs.html>.
> To get debugger support in MonoDevelop I edited the configure script 
> after running ./autogen.sh and chaged the following line:
> enable_debugger=no
> to read:
> enable_debugger=yes
> 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.
> Cheers,
> 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.
>> Miguel.
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: debugger_enable.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20041105/9458486c/attachment.pl 

More information about the Mono-devel-list mailing list