The file exists, but the prompt does not exist. The complete path has also been tried. Depressed...
The file exists, but the prompt does not exist. The complete path has also been tried. Depressed...
Reply content:
The file exists, but the prompt does not exist. The complete path has also been tried. Depressed...
The installation script of phalcon is bash, and the first line is#! /Bin/bash [LF]
, Which indicates that the query is performed directly (or sudo execution )./Bin/bash
This interpreter.
If the line break of the file is accidentally changed due to reasons such as git cloning[CR] [LF]
Windows style ......
When the script is executed, sudo still removes the Unix line break.[LF]
And then try to find/Bin/bash [CR]
This file is used as an interpreter, and of course it cannot exist.
Run this command to check whether the first line of the fileCR (0x0D) LF (0x0A)
End:
Cat install | head-n 1 | od-t x1
(If this cause is incorrect, find another fault point)
You can see the first line of the install file.
#! /Path/to/somewhere
This file does not exist, right?
Cat-A install