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

Re: [ns] Installation problem.



hi there,
    The course for this is that USC is ar to represent another utility, in fact it is BMDP
.  So you find out where the "real" ar is. then modify the path to have the makefile use the right one.

shu yuan


Hassan Mansouri wrote:

> Dear ns-users,
>
> I tried to install ns on a SunOS-5.6 machine but I got the message
> shown below. I would appreciate alot if someone could suggest
> something. I also have no idea why the editor BMDP comes out in the
> middle of the installation trial. Thanks alot for your help.
>
> creating tclConfig.sh
> cc -c -O    -I./../generic -I.  -DHAVE_GETCWD=1 -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DRETSIGTYPE=void -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1        -DTCL_SHLIB_EXT=\".so\" -DTCL_LIBRARY=\"/auto/rcf-21/hmansour/ns-allinone-2.1b6/tclbox/lib/tcl8.0\" \
>         -DTCL_PACKAGE_PATH="\"/auto/rcf-21/hmansour/ns-allinone-2.1b6/tclbox/lib\"" \
>         ./tclUnixInit.c
>
> rm -f libtcl8.0.a
> ar cr libtcl8.0.a panic.o regexp.o tclAsync.o tclBasic.o tclBinary.o tclCkalloc.o  tclClock.o tclCmdAH.o tclCmdIL.o tclCmdMZ.o tclCompExpr.o  tclCompile.o tclDate.o tclEnv.o tclEvent.o tclExecute.o  tclFCmd.o tclFileName.o tclGet.o tclHash.o tclHistory.o  tclIndexObj.o tclInterp.o tclIO.o tclIOCmd.o tclIOSock.o  tclIOUtil.o tclLink.o tclListObj.o tclLoad.o tclMain.o tclNamesp.o  tclNotify.o tclObj.o tclParse.o tclPipe.o tclPkg.o tclPosixStr.o  tclPreserve.o tclProc.o tclStringObj.o tclTimer.o tclUtil.o tclVar.o  tclResolve.o tclMtherr.o tclUnixChan.o tclUnixEvent.o tclUnixFCmd.o  tclUnixFile.o tclUnixPipe.o tclUnixSock.o  tclUnixTime.o tclUnixInit.o tclUnixNotfy.o  tclLoadDl.o
>  AR--DERIVATIVE-FREE NONLINEAR REGRESSION
>  Copyright 1977, 1979, 1981, 1982, 1983, 1985, 1987, 1988, 1990, 1993
>                   by BMDP Statistical Software, Inc.
>
>         BMDP Statistical Software, Inc.| BMDP Statistical Software
>         12121 Wilshire Blvd, Suite 300 | Cork Technology Park, Model Farm Rd
>         Los Angeles, CA 90025 USA      | Cork, Ireland
>            Phone (310) 207-8800        |    Phone +353 21 542722
>            Fax   (310) 207-8844        |    Fax   +353 21 542822
>
>  Release: 7.1    (SUN/UNIX)       DATE:Thu Mar 16 11:11:24 2000
>   Manual: BMDP Manual Volumes 1, 2, and 3.
>   Digest: BMDP User's Digest.
>  Updates: State NEWS. in the PRINT paragraph for summary of new features.
>
>  The BMDP output is displayed one screen at a time.  At each screen you can:
>    - Press <RETURN> to view the next screen of output
>    - Type N <RETURN> to scroll through the output nonstop (not recommended)
>    - Type !E <RETURN> to stop executing and return to the editor
>    - Type !system-command <RETURN> to execute a system command
>  After the next <RETURN>, editor is called to prepare your BMDP commands.
>  When finished editing, type EXIT to execute commands or QUIT to stop BMDP.
>  Press <RETURN> to continue.
>  BMDP line Editor.  For further information, Type HELP
>  Buffer size is  632 lines.
>
>     1 Com>    1 Com>
>  PROGRAM TERMINATED
> ranlib libtcl8.0.a
> fake ranlib libtcl8.0.a
> cc -c -O    -I./../generic -I.  -DHAVE_GETCWD=1 -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DRETSIGTYPE=void -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1        -DTCL_SHLIB_EXT=\".so\" ./tclAppInit.c
> cc  tclAppInit.o -L/auto/rcf-21/hmansour/ns-allinone-2.1b6/tcl8.0.4/unix -ltcl8.0 -ldl  -lsocket -lnsl -lm -lc \
>          -o tclsh
> *** Error code 1
> tcl8.0.4 make failed! Exiting ...
> For problems with Tcl/Tk see http://www.scriptics.com
>
> Hassan.