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

[ns] installation problems with ns-allinone-2.1b6



Hi,

I downloaded the installation files, ns-allinone-2.1b6. But when I was
trying to run ./install, I met such problems as following. Would anybody
give me a help please? Thanks.

I attach all the messages I've got when I run ./install.
It's said the ns has been installed successfully, but it's not. When I
typed ns <file name>, it showed, ns: Command not found. And I cannot
find the installation places as it's described ns:
/home/weiyang/ns/ns-allinone-2.1b6/ns-2.1b6/ns...
So I suppose there must be something wrong with installation. The fatal
errors I can see are
 "make: Fatal error in reader: Makefile, line 11: Unexpected end of line
seen". However, no matter how I tried to modify the Makefile, it doesn't
work at all.
Please give me some advice.
I do appreciate all your helps.

Weilai

Attachment:

loading cache ./config.cache
checking for ranlib... (cached) :
checking whether cross-compiling... (cached) yes
checking for getcwd... (cached) no
checking for opendir... (cached) no
checking for strstr... (cached) no
checking for strtol... (cached) no
checking for tmpnam... (cached) no
checking for waitpid... (cached) no
checking for strerror... (cached) no
checking for getwd... (cached) no
checking for wait3... (cached) no
checking for uname... (cached) no
checking for sin... (cached) no
checking for -lieee... (cached) no
checking dirent.h... no
checking how to run the C preprocessor... (cached) cc -E
checking for errno.h... (cached) yes
checking for float.h... (cached) yes
checking for values.h... (cached) yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for unistd.h... (cached) yes
checking termios vs. termio vs. sgtty... none
checking fd_set and sys/select... no
checking for sys/time.h... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached)
no
checking whether struct tm is in sys/time.h or time.h... (cached)
sys/time.h
checking for tm_zone in struct tm... (cached) no
checking for tzname... (cached) no
checking tm_tzadj in struct tm... no
checking tm_gmtoff in struct tm... no
checking long timezone variable... no
checking time_t timezone variable... no
checking for st_blksize in struct stat... (cached) no
checking proper strstr implementation... broken, using substitute
checking for strtoul... (cached) no
checking for strtod... (cached) no
checking for strtod... (cached) no
checking for ANSI C header files... (cached) no
checking for mode_t... (cached) no
checking for pid_t... (cached) no
checking for size_t... (cached) no
checking for uid_t in sys/types.h... (cached) no
checking for opendir... (cached) no
checking union wait... no
checking matherr support... no
checking return type of signal handlers... (cached) int
checking for vfork... (cached) no
checking for strncasecmp... (cached) no
checking for -lsocket... (cached) no
checking for -linet... (cached) no
checking for BSDgettimeofday... (cached) no
checking for gettimeofday... (cached) no
checking for gettimeofday declaration... missing
checking for -linet... (cached) no
checking for net/errno.h... (cached) yes
checking whether char is unsigned... (cached) no
checking signed char declarations... no
checking for connect... (cached) no
checking for -lsocket... (cached) no
checking for accept... (cached) no
checking for gethostbyname... (cached) no
checking for -lnsl... (cached) no
checking system version (for dynamic loading)... SunOS-5.6
checking for -ldl... (cached) no
checking for sys/ioctl.h... (cached) yes
checking for sys/filio.h... (cached) yes
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
creating ./config.status
creating Makefile
creating tclConfig.sh
make: Fatal error in reader: Makefile, line 11: Unexpected end of line
seen
loading cache ./config.cache
checking for ranlib... (cached) :
checking whether cross-compiling... (cached) yes
checking how to run the C preprocessor... (cached) cc -E
checking for unistd.h... (cached) yes
checking for limits.h... (cached) yes
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
./configure: ^M: not found
checking stdlib.h... no
checking fd_set and sys/select... no
checking for ANSI C header files... (cached) no
checking for mode_t... (cached) no
checking for pid_t... (cached) no
checking for size_t... (cached) no
checking for uid_t in sys/types.h... (cached) no
checking for sys/time.h... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached)
no
checking for X... (cached) libraries /usr/lib, headers
checking for -lXbsd... (cached) no
checking for connect... (cached) no
checking for -lsocket... (cached) no
checking for accept... (cached) no
checking for gethostbyname... (cached) no
checking for -lnsl... (cached) no
checking for sin... (cached) no
checking for -lieee... (cached) no
checking for memmove... (cached) no
checking whether char is unsigned... (cached) no
checking for strtod... (cached) no
creating ./config.status
creating Makefile
creating tkConfig.sh
make: Fatal error in reader: Makefile, line 11: Unexpected end of line
seen
./install: ./configure: not found
otcl-1.0a5 has been installed successfully.
./install: ./configure: not found
tclcl-1.0b9 has been installed successfully.
./install: ./configure: not found
xgraph has been installed successfully.
Making cweb
make: Fatal error in reader: Makefile, line 5: Unexpected end of line
seen
cweb failed to make, but it's optional
ln: cannot create cweave: File exists
ln: cannot create ctangle: File exists
Making sgb
make: Fatal error in reader: Makefile, line 5: Unexpected end of line
seen
Unable to create sgb library, but it's optional, so continuing...
make: Fatal error in reader: Makefile, line 5: Unexpected end of line
seen
make: Fatal error in reader: Makefile, line 5: Unexpected end of line
seen
./install: ./configure: not found
 Ns has been installed successfully.
./install: ./configure: not found
Zlib-1.1.3 configuration failed, but it's optional, so continuing ...
./install: ./configure: not found
Nam has been installed successfully.
ln: cannot create ns: File exists
Please compile your nam separately.
Please compile your xgraph separately.
Please compile your gt-itm & sgb2ns separately.
Ns-allinone package has been installed successfully.
Here are the installation places:
ns: /home/weiyang/ns/ns-allinone-2.1b6/ns-2.1b6/ns
otcl: /home/weiyang/ns/ns-allinone-2.1b6/otcl-1.0a5
tclcl: /home/weiyang/ns/ns-allinone-2.1b6/tclcl-1.0b9
tcl8.0.4: /home/weiyang/ns/ns-allinone-2.1b6/tclbox
tk8.0.4: /home/weiyang/ns/ns-allinone-2.1b6/tkbox

You can delete /home/weiyang/ns/ns-allinone-2.1b6/tcl8.0.4 and
/home/weiyang/ns/ns-allinone-2.1b6/tk8.0.4 if
you want save your disk space
-----------------------------------------------------
Please put /home/weiyang/ns/ns-allinone-2.1b6/bin into your PATH
environment.
On some systems you many need to put
/home/weiyang/ns/ns-allinone-2.1b6/otcl-1.0a5 into your LD_LIBRARY_PATH
environment!

You can run the ns validation suite with
cd ns-2.1b6; ./validate