Building Liquidsoap from Source
  • Greetings!

    Attempting to build Liquidsoap from source with these instructions

    https://wiki.sourcefabric.org/display/CC/Building+Liquidsoap+from+Source

    but can't get past this error...


    xx@airtime241:~/liquidsoap-full# make init
    git fetch
    git branch --set-upstream-to=origin/master master
    error: unknown option `set-upstream-to=origin/master'
    usage: git branch [options] [-r | -a] [--merged | --no-merged]
       or: git branch [options] [-l] [-f] <branchname> [<start-point>]
       or: git branch [options] [-r] (-d | -D) <branchname>...
       or: git branch [options] (-m | -M) [<oldbranch>] <newbranch>

    Generic options
        -v, --verbose         show hash and subject, give twice for upstream branch
        -t, --track           set up tracking mode (see git-pull(1))
        --set-upstream        change upstream info
        --color[=<when>]      use colored output
        -r, --remotes         act on remote-tracking branches
        --contains <commit>   print only branches that contain the commit
        --abbrev[=<n>]        use <n> digits to display SHA-1s

    Specific git-branch actions:
        -a, --all             list both remote-tracking and local branches
        -d, --delete          delete fully merged branch
        -D                    delete branch (even if not merged)
        -m, --move            move/rename a branch and its reflog
        -M                    move/rename a branch, even if target exists
        --list                list branch names
        -l, --create-reflog   create the branch's reflog
        --edit-description    edit the description for the branch
        -f, --force           force creation (when already exists)
        --no-merged <commit>  print only not merged branches
        --merged <commit>     print only merged branches

    make: *** [init] Error 129


    ... anyone know what's up? Savonet GIT borked again?



  • 3 Comments sorted by
  • I think you need to upgrade your version of Git. The build scripts are working fine, but that error indicates the version of Git on your local machine is out of date: you want v1.8.0 at least. ("--set-upstream-to" is a new flag, which your version doesn't seem to understand).

    To check, run `git --version` from a terminal.


  • Hi Steven,

    I have the same problem using debian wheezy and I can't seem to upgrade git from v1.7.x to v1.80.

    Any suggestions?

    Thanks
    --Mc
  • ///sudo nano /etc/apt/sources.list
    deb http://apt.sourcefabric.org/ wheezy main
    deb http://ftp.us.debian.org/debian wheezy-backports main

    sudo apt-get -t wheezy-backports install git

    :)