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

RE: [ns] Problem with mkd.bat file



Hi Ali Ghiasian,
I think that you read the webpage at http://www.isi.edu/nsnam/ns/ns32-build.html (How to Compile Ns2 on Windows Platform) where it's wrote:

The file mkd.bat in TCl8.3.2\win and TK8.3.2\win needs to be modified. Every instance of "md" should be changed to "mkdir". This is because the DOS command to make a directory is "mkdir" and not "md"

So, you brougth these changes in "mkd.bat".  However, I think that it isn't necessary: in fact, I have compiled TCL8.3.2 without problem and without bring these changes to the "mkd.bat" file.
Therefore, to my mind, you can avoid that note.
However, the problem can be this other: in the "makefile.vc" file present in "win" subdirectory of "tcl", you can find "INSTALLDIR="; this option is used when (at prompt) you write:
 
nmake -f makefile.vc install
 
Unfortunately, in the building process, the directory specified in INSTALLDIR is NOT created: you must do it!
Davide O. Nitti
 
>------Original Message--------
>To: ns-users@ISI.EDU
>Subject: [ns] Problem with mkd.bat file
>From: Ali Ghiasian <aghiasian@yahoo.com>
>Date: Tue, 10 Jul 2001 07:36:29 -0700 (PDT)
>Sender: owner-ns-users@ISI.EDU
>
>
>Hi all,
>I have downloaded ns2.1b8 and going to compile it on
>windows os.
>I have edited all make files and also change "md" in
>mkd.bat file by "mkdir".But at the first step of
>compiling tcl,I encountered an error.After tracing it
>I find out that mkd.bat file is executed but couldn't
>make the folder(\tcl8.3.2\win\release)
>All the paths are correct and I can make this folder
>directly in my Dos prompt(Using mkdir command)
>Does any body have the same problem?
>When I make the folder manually the error disappears
>but at the next steps other folders could not be made.
>Thanks in advance for your help
>Ghiasian