The file is clearly present, but the hint does not exist. The complete path has also been tried. Depressed in ...
Reply content:
The file is clearly present, but the hint does not exist. The complete path has also been tried. Depressed in ...
The installation script for Phalcon is bash, the first line is #!/bin/bash[LF]
, which means to look for this interpreter when executing directly (or sudo) /bin/bash
.
If, for reasons like git cloning, the file line break unexpectedly changed [CR][LF]
to the Windows style ...
Then, when the script executes, Sudo will still only remove the Unix line break [LF]
, and then try to find /bin/bash[CR]
the file as an interpreter, which of course is impossible to exist.
Use this command to check whether the first line of the file CR(0x0D) LF(0x0A)
ends with:
cat install | head -n 1 | od -t x1
(If the reason is wrong, please find another point of failure)
In fact, you look at the first line of the install file and you know it.
#!/path/to/somewhere
This file doesn't exist, does it?
cat -A install