-bash: No such file or directory

cluther

Registered
Hi, trying to configure curl following instructions provided at http://library.acquia.com/content/curl-ssl-support-damp

In terminal I go to the curl directory at
/opt/local/var/macports/software/curl

Entering the following command
machine:curl me$ .config --libdir=/Applications/acquia-drupal/common/lib/

I get:

-bash: .config: command not found

What to do?
 
That webpage talked about ./configure instead of .config, so there are two options:

1. Type ./configure instead of .config

2. There is some file named .config. If there is, try ./.config

If the second option was right, the reason is, your bash's search path does not contain "." (i.e., the current directory). This is in no way a bug or similar but the right way. It only means that you have to use "./filename" to execute program "filename" from the current directory.
 
Back
Top