Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-26-2011, 04:00 AM   #1
shweta jain
LQ Newbie
Registered: Oct 2010
Posts: 4

Rep: Reputation: 0
ddd debugger installation

Hi all,

I want to debug ns2 code with gdb debugger. As I am told to make the following changes in installation file and make file.

1- # Build Tcl8.3.2 (should be around line 173)

In this section you need to add the option

--enable-symbols to the line :

./configure --enable-gcc --disable-shared

--prefix=$CUR_PATH || ....
so it becomes:

./configure --enable-gcc --enable-symbols
--disable-shared --prefix=$CUR_PATH || ....

2- Build tclcl (should be around line 260)

in this section, you need to add --enable-debug to
your configure line, such
./configure || ...
./configure --enable-debug || ...

3-now, go into your ns-allinone/ns directory, and open

your change-


I did the same but during installation following error is coming----------

* Build Tclcl-1.19


configure: WARNING: you should use --build, --host, --target

No .configure file found in current directory

Continuing with default options...

checking build system type... Invalid configuration `enable-debug': machine `enable' not recognized

configure: error: /bin/sh ./config.sub enable-debug failed

tclcl-1.19 configuration failed! Exiting ...

Please check

for common problems and bug fixes.

What to do now
Plz help me
Regard Shweta jain
Old 07-29-2011, 01:44 PM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
It's nice that you told us what you're supposed to change in the files, but what about posting what you actually changed and please wrap it in code tags. Second, you don't give enough of the output preceding the error message. Finally, when you went to the link provided by the ns developers, what did it tell you to do, did you do it, and what were the results?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
help me pls! ddd with bash debugger! dreams Linux - Software 8 09-17-2014 06:53 PM
Linux debugger: DDD on solaris kranti Linux - Newbie 1 11-19-2005 04:51 PM
String variables in DDD Qt debugger impeteperry Linux - Software 0 06-12-2005 08:57 AM
ddd Debugger lmellen Programming 6 01-26-2004 02:07 PM
ddd debugger jclark00001 Linux - Software 1 06-24-2003 12:33 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration