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

Re: [ns] error installing ns2.1b6 on Solaris : make: *** [libtk8.0.a] Error 127



Have you ever tried a patch for tcl8.0.4?
I'm attaching that file. Hope it works.

- Hyunah

Kevin J Curran wrote:

> I am attempting to install ns-allinone-2.1b6 on a Solaris machine. I keep getting the following error message.
>
> tclUnixFile.o tclUnixInit.o tclUnixNotfy.o tclLoadDl.o
> make: ar: Command not found
> make: *** [libtcl8.0.a] Error 127
> tcl8.0.4 make failed! Exiting ...
>
> I then try to compile them all separatly but I also get the same error message.
>
> make: ar: Command not found
> make: *** [libtk8.0.a] Error 127
>
> I also try to compile it with the following lines
>
> ./configure --with-tcl=$HOME/ns-allinone-2.1b6/tcl8.0.4 --with-tcl- ver=8.0.4 --enable-gcc etc. but no use.
>
> Some of the contents of my .cshrc file are
>
> set lpath = ($HOME/ns-allinone-2.1b6/ns-2.1b6/bin $HOME/ns- allinone-2.1b6/ns-2.1b6 $HOME/nam /usr/openwin/bin/xview /usr/packages/xemacs /usr/X11R6/bin /usr/openwin/bin $lpath )
> ..
> ...
> set LD_LIBRARY_PATH=$HOME/ns-allinone-2.1b5/otcl-1.0a5
>
> and the only relevant line in my .login is
>
> setenv LD_LIBRARY_PATH = $HOME/ns-allinone-2.1b6/octl-1.0a5
>
> p.s. I also have the sam problems with ns-allinone-2.1b5 , 4, 3
>
> Regards
> Kevin Curran
>
> ______________________________ University of Ulster Magee College Dept Informatics Northland Road Derry BT48 7JL
> Phone: +44 (0)1504 375565 Fax: +44 (0)1504 375565 Web: http://www2.infm.ulst.ac.uk/~kevin
----------------------------------------------------------------------
--- tcltk-8.0.3/tcl8.0.3/generic/tclPosixStr.c.glibc21	Fri Dec 18 17:30:53 1998
+++ tcltk-8.0.3/tcl8.0.3/generic/tclPosixStr.c	Fri Dec 18 17:34:05 1998
@@ -324,7 +324,7 @@
 #ifdef ENOTSOCK
 	case ENOTSOCK: return "ENOTSOCK";
 #endif
-#ifdef ENOTSUP
+#if defined(ENOTSUP) && (ENOTSUP != EOPNOTSUPP)
 	case ENOTSUP: return "ENOTSUP";
 #endif
 #ifdef ENOTTY
@@ -771,7 +771,7 @@
 #ifdef ENOTSOCK
 	case ENOTSOCK: return "socket operation on non-socket";
 #endif
-#ifdef ENOTSUP
+#if defined(ENOTSUP) && (ENOTSUP != EOPNOTSUPP)
 	case ENOTSUP: return "operation not supported";
 #endif
 #ifdef ENOTTY
----------------------------------------------------------------------