LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2009, 10:12 AM   #1
pratikvimal
LQ Newbie
 
Registered: Jun 2009
Posts: 18

Rep: Reputation: 0
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
 
Old 06-12-2009, 10:19 AM   #2
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
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.
 
Old 06-12-2009, 10:23 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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.
 
Old 06-12-2009, 10:28 AM   #4
pratikvimal
LQ Newbie
 
Registered: Jun 2009
Posts: 18

Original Poster
Rep: Reputation: 0
@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
 
Old 06-12-2009, 10:34 AM   #5
NightHorse
Member
 
Registered: Jun 2009
Location: Egypt
Distribution: Ubuntu 10.04
Posts: 117

Rep: Reputation: 16
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.
 
Old 06-12-2009, 10:35 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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?
 
Old 06-15-2009, 01:01 AM   #7
pratikvimal
LQ Newbie
 
Registered: Jun 2009
Posts: 18

Original Poster
Rep: Reputation: 0
@pixellany & NightHorse
I have installed Tinyos which includes these files and folders.
 
Old 06-15-2009, 03:51 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by pratikvimal View Post
@pixellany & NightHorse
I have installed Tinyos which includes these files and folders.
OK--fine--but you did not answer any of the other questions. What do you still need help with?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script to create text in a file or replace value of text if already exists knightto Linux - Newbie 5 09-10-2008 11:13 PM
wine: exists lstat socket : No such file or directory hisnumber666 Linux - Software 1 05-02-2006 02:35 AM
/usr/bin/emacs: No such file or directory...yet it exists andeity Linux - General 6 04-16-2006 08:54 PM
no such file or directory exists when trying to execute a exe ryedawg Linux - Software 5 12-05-2005 05:42 AM
SIOCADDRT: File exists SIOCCADDRT: File Exists Failed to bring up eth0. opsraja Linux - Networking 0 01-10-2005 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration