Menu

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

Help
Zheng Zhou
2013-11-02
2014-08-22
  • Zheng Zhou

    Zheng Zhou - 2013-11-02

    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 ?

     
  • stredger

    stredger - 2014-08-22

    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

Log in to post a comment.