top | item 31247513

(no title)

danny0z | 3 years ago

no, it should be `v2.6.5/xmake-v2.6.5.tar.gz` instead of `tags/v2.6.5.tar.gz`

    https://github.com/xmake-io/xmake/releases/download/v2.6.5/xmake-v2.6.5.tar.gz

discuss

order

AlbertoGP|3 years ago

Ah, I see. That might be Github’s problem, but the link I used is the one at the bottom of the list labeled “Source code”: https://github.com/xmake-io/xmake/releases/tag/v2.6.5

I see that one you mention in the middle of the list, with the name “xmake-v2.6.5.tar.gz”.

Please note that this is not a criticism, I’m just telling what can happen when someone tries to compile it.

Edit: trying this now:

    wget https://github.com/xmake-io/xmake/releases/download/v2.6.5/xmake-v2.6.5.tar.gz
    tar xf xmake-v2.6.5.tar.gz 
    cd xmake
    make build
I get “make: ** No rule to make target 'build'. Stop.”, because there is no `makefile` or `Makefile` in there.

Edit 2: I see, the issue is that it does not create a directory `xmake-v2.6.5`, but instead extracts its contents in the current directory, as a “tar bomb”. This works:

    mkdir xmake-v2.6.5
    cd xmake-v2.6.5
    wget https://github.com/xmake-io/xmake/releases/download/v2.6.5/xmake-v2.6.5.tar.gz
    tar xf xmake-v2.6.5.tar.gz 
    make build