[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:

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
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.2 20041025 (Gentoo Linux 3.4.2-r3, 
ssp-3.4.1-1, pie-8.7.6.5).
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
>
>  
>




More information about the Mono-devel-list mailing list