cannot create directory even if file exists
command: pratik@ubuntu:/opt/tinyos-2.x/support/sdk/c$ ./bootstrap
Error: mkdir: cannot create directory `config-aux': File exists ./bootstrap: line 2: aclocal: command not found ./bootstrap: line 3: autoheader: command not found ./bootstrap: line 4: autoconf: command not found ./bootstrap: line 5: automake: command not found Please help me solve this problem Regards, Pratik |
Extra slash?
Do you need an extra '/' between your username and the command?
Otherwise, you'd need to post the contents of the command file you are trying to execute. |
I don't see the extra "/"---I think he posted his whole prompt with user name and current working directory. The command is "./bootstrap"
As cm* says, we need to see what's in that script. |
@pixellany
yeah i posted it with current working directory. The exact command is "./bootstrap" contents of the file are: mkdir config-aux aclocal autoheader autoconf automake -a -c waiting for the reply |
you have a file with the same name as the directory the script trying to make.
Also check if you have: aclocal autoheader autoconf automake I tried running aclocal on my ubuntu and it told me what packages include it. May be you should try the same. |
OK---one step at a time.
First, mkdir will not create a directory when there is already a file with the same name. Do you in fact have such a file in the directory where you are running the command? Perhaps you need to run the command somewhere else... Next, none of those other four commands are on my machine. Do you know that they are on yours? ---e.g. did you install some kind of package that includes them? If so, is the path in your PATH variable? |
@pixellany & NightHorse
I have installed Tinyos which includes these files and folders. |
Quote:
|
All times are GMT -5. The time now is 06:23 AM. |