In terminal, when I type in make check, its shown that check complete, which is quite successful.
Then I type in make install, its shown that:
cd /Users/zhengzhou/Desktop/Genome Info/MUMmer3.22/src/kurtz; /Applications/Xcode.app/Contents/Developer/usr/bin/make mummer
/bin/sh: line 0: cd: /Users/zhengzhou/Desktop/Genome: No such file or directory
make[1]: No rule to make target `mummer'. Stop.
make: [kurtz] Error 2
Can anybody tell me whats wrong with it ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
cd /Users/zhengzhou/Desktop/Genome Info/MUMmer3.22/src/kurtz; /Applications/Xcode.app/Contents/Developer/usr/bin/make mummer
But the shell parses it like:
cd /Users/zhengzhou/Desktop/Genome
Info/MUMmer3.22/src/kurtz;
/Applications/Xcode.app/Contents/Developer/usr/bin/make mummer
You can see in the error its trying to cd to /Users/zhengzhou/Desktop/Genome and failing as the directory doesn't exist! (No such file or directory)
Im not aware of any escaping mechanism in make that would allow you to get the path interpreted correctly so the simple fix is to rename the directory and remove the space!
As a side note, spaces in paths on a unix system generally cause problems so I tend to avoid them :)
Last edit: stredger 2014-08-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In terminal, when I type in make check, its shown that check complete, which is quite successful.
Then I type in make install, its shown that:
cd /Users/zhengzhou/Desktop/Genome Info/MUMmer3.22/src/kurtz; /Applications/Xcode.app/Contents/Developer/usr/bin/make mummer
/bin/sh: line 0: cd: /Users/zhengzhou/Desktop/Genome: No such file or directory
make[1]: No rule to make target `mummer'. Stop.
make: [kurtz] Error 2
Can anybody tell me whats wrong with it ?
Yea, so shells don't like spaces in paths!
The makefile is trying to perform the 2 commands:
cd /Users/zhengzhou/Desktop/Genome Info/MUMmer3.22/src/kurtz; /Applications/Xcode.app/Contents/Developer/usr/bin/make mummer
But the shell parses it like:
cd /Users/zhengzhou/Desktop/Genome
Info/MUMmer3.22/src/kurtz;
/Applications/Xcode.app/Contents/Developer/usr/bin/make mummer
You can see in the error its trying to cd to /Users/zhengzhou/Desktop/Genome and failing as the directory doesn't exist! (No such file or directory)
Im not aware of any escaping mechanism in make that would allow you to get the path interpreted correctly so the simple fix is to rename the directory and remove the space!
As a side note, spaces in paths on a unix system generally cause problems so I tend to avoid them :)
Last edit: stredger 2014-08-22