LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-18-2005, 05:22 PM   #1
skyeman
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
Can't install NS2 on FC4 - Tcl make eror


Hi,

I am new to Linux, so am really struggling here - so please go slow !

I am running FC4 and am trying to install NS2 (All-in-one-2.27 package) when I try to compile it (./install) all goes well until it tries to Build Tclcl-1.15 and the following error is displayed. ( I am using GCC 4) - is there a problem with Tclcl-1.15 and GCC4?

Can any one help - I have been trying for 4 weeks now without success!

Thanks in advance for all your help

configure: creating ./config.status
config.status: creating Makefile
g++ -c -DNO_TK -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_8 -DHAVE_OTCL_H
-DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H
-DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1
-DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1
-DHAVE_TCL_H=1 -DHAVE_LIBTCL8_4=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_4=1
-DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_8=1 -I.
-I/home/calumlamont/project/ns-allinone-2.27/otcl-1.8
-I/home/calumlamont/project/ns-allinone-2.27/include
-I/home/calumlamont/project/ns-allinone-2.27/include -o Tcl.o Tcl.cc
tclcl-mappings.h: In static member function 'static int TclObjectHelper<T>::dispatch_(void*, Tcl_Interp*, int, char**)':
tclcl-mappings.h:51: error: incomplete type 'Tcl' used in nested name specifier
tclcl-mappings.h:52: error: invalid use of undefined type 'struct Tcl'
tclcl-mappings.h:41: error: forward declaration of 'struct Tcl'
tclcl-mappings.h:57: error: invalid use of undefined type 'struct Tcl'
tclcl-mappings.h:41: error: forward declaration of 'struct Tcl'
make: *** [Tcl.o] Error 1
tclcl-1.15 make failed! Exiting ...
 
Old 08-24-2005, 03:17 AM   #2
lomnhom
Member
 
Registered: Jan 2005
Location: Ha Noi, Viet Nam
Distribution: Fedora Core
Posts: 61

Rep: Reputation: 15
Take a look

http://mailman.isi.edu/pipermail/ns-...ne/050534.html

And if you sucess, plz make notes to help others. I got another error when installing ns2.28 on FC4

Regards,

Last edited by lomnhom; 08-24-2005 at 03:21 AM.
 
  


Reply



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
Compiling ns2 on FC4 sita Linux - Software 0 11-04-2005 02:25 PM
Trying to install Suse9.2: Have iso on hard drive..now what? When mounting, loop eror CrewXp SUSE / openSUSE 6 04-07-2005 03:07 PM
tcl and tk WON'T install lostlyre Linux - Software 6 03-31-2004 07:18 AM
LFS linux-2.4.22 install eror the_little_one Linux From Scratch 0 09-15-2003 07:54 AM
Linux 7.3 strange USB eror at install ygrosu Linux - Newbie 4 07-07-2002 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:56 PM.

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