Installation on Mac, check completed, but make install does not happen.

Zheng Zhou
  • Zheng Zhou
    Zheng Zhou

    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/ mummer
    /bin/sh: line 0: cd: /Users/zhengzhou/Desktop/Genome: No such file or directory
    make[1]: No rule to make target `mummer'. Stop.
    [kurtz] Error 2

    Can anybody tell me whats wrong with it ?

  • stredger

    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/ mummer

    But the shell parses it like:

    cd /Users/zhengzhou/Desktop/Genome
    /Applications/ 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