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

Re: RH5.1 Tcl build problems?



I installed  the ns-allinone kit from scratch on Red Hat 5.0.
I didnt have the problem that you mentioned but I had other
problems.
1. libtcldbg not found, I compiled it with libtcldbg=no.

Does anyone know what does it mean?

2. I have compiled ns , but I cant run it yet because
   of "cant load library 'liboctl.so'", this problem
   is found in the installation problem list.

Shiri

On Tue, 16 Jun 1998, Rodney Van Meter wrote:

> Has anyone installed the ns-allinone kit from scratch on Red Hat 5.1?  Did
> you have any trouble?
> 
> Under RH5.1, egcs 1.0.2, I get this:
> 
> ./tcl2c++ et_tk ../tclbox/lib/tcl8.0/init.tcl
> ../tclbox/lib/tcl8.0/history.tcl ../tclbox/lib/tcl8.0/word.tcl
> ../tkbox/lib/tk8.0/tk.tcl ../tkbox/lib/tk8.0/clrpick.tcl
> ../tkbox/lib/tk8.0/comdlg.tcl ../tkbox/lib/tk8.0/button.tcl
> ../tkbox/lib/tk8.0/dialog.tcl ../tkbox/lib/tk8.0/entry.tcl
> ../tkbox/lib/tk8.0/focus.tcl ../tkbox/lib/tk8.0/listbox.tcl
> ../tkbox/lib/tk8.0/menu.tcl ../tkbox/lib/tk8.0/palette.tcl
> ../tkbox/lib/tk8.0/scale.tcl ../tkbox/lib/tk8.0/tearoff.tcl
> ../tkbox/lib/tk8.0/text.tcl ../tkbox/lib/tk8.0/optMenu.tcl
> ../tkbox/lib/tk8.0/scrlbar.tcl > embedded-tk.cc
> c++ -c -I. -I../otcl -I../tkbox/include -I../tclbox/include  -DNO_TK
> -DUSE_SHM -DHAVE_LIBOTCL0_96 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H
> -DHAVE_LIBTCL8_0 -DHAVE_TCL_H  -O2 -o embedded-tk.o embedded-tk.cc
> tclcl-mappings.h: In function `static int TclObjectHelper<T>::dispatch_(void
> *, struct Tcl_Interp *, int, char **)':
> In file included from tclcl.h:47,
>                from embedded-tk.cc:5440:
> tclcl-mappings.h:51: parse error before `::'
> make: *** [embedded-tk.o] Error 1
> TclCL make failed! Exiting ...
> 
> Line 51 is the last line of this snippet:
> 
> template <class T>
> class TclObjectHelper {
> protected:
> 	typedef int (T::*TMethod)(int argc,const char*const* argv);
> 	
> 	static int dispatch_(ClientData clientData, Tcl_Interp * /*interp*/,
> 		     int argc, char *argv[]) {
> 
> 		Tcl& tcl = Tcl::instance();
> 
> looks fairly innocuous, and compiles properly under RH 4.2.
> 
> This is the first C++ file it has actually tried to compile during the
> install.
> 
> I'm wondering if I've screwed up the installation, or if there's a problem
> with egcs 1.0.2.
> 
> Any hints or suggestions?
> 
> 		--Rod
> 
> 
> ******************************************************************
> Rod Van Meter, Quantum Corp.
> [email protected], [email protected]
> office: +1(408)324-7663
> 
>