[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] regarding Tcl_Debugging



On Tue, 16 Oct 2001, Raj M Verma wrote:

> hi, I'm still having the same prob even after I
> changed  the directory. I'm giving u the configure
> output, generated makefile and the compilation result.
> I noticed that it's looking for .configure file
> instead of configure file! why is it so?

> loading cache ./config.cache
> No .configure file found in current directory

.configure might do extra stuff.

If you're picking up on cached configure options, make clean and
make dist might be in order beforehand.

> checking for libtcldbg...
> -R/user/lh050479/raj/ns/tcl-debug-2.0
> -L/user/lh050479/raj/ns/tcl-debug-2.0 -ltcldbg

looks like it's picking it up (was it before when you had
tcl-debug-2.0 inside your ns-allinone dir?) and
-DHAVE_LIBTCLDBG

is being used in the makefile. So it's gotten that far, at least.

> regarding my
> example, its just simple tcl script wherein the first
> line is "debug 1" and then "set ns [new Simulator]"
> and so on. it's not giving me any info about where
> it's looking for the tcl debugger but it's saying that
> "warning: Script debugging disabled. Reconfigure with
> --with-tcldebug, and recompile". One more thing I
> noticed is that in the Tcl debugger manual, page no.
> 11, it is mentioned that we've to "#include Dbg.h"
> into our source code, but nowhere cud I'm able to find
> this file. 

That was a change in tcl-debug circa 1.7 or so, I think - check the
revision history for that. I recall it requiring changes to ns...
nothing to so with subsequent Tcl use.

L.

has just noticed that all his local copies of ns built without
tcl-debug either - tho it's specified in configure. Odd.

<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>