What version of git do you have installed?
On Feb 2, 2014 10:29 AM, "Alex" <[email protected]> wrote:

> Hi,
>
> I just tried to install Homebrew via Pkg in a fresh build of julia (also
> wiped .julia), but got the following error:
>
>                _
>    _       _ _(_)_     |  A fresh approach to technical computing
>   (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
>    _ _   _| |_  __ _   |  Type "help()" to list help topics
>   | | | | | | |/ _` |  |
>   | | |_| | | | (_| |  |  Version 0.3.0-prerelease+1361 (2014-02-02 04:25
> UTC)
>  _/ |\__'_|_|_|\__'_|  |  Commit e12e6c0* (0 days old master)
> |__/                   |  x86_64-apple-darwin12.5.0
>
>
> julia> Pkg.add("Homebrew")
> INFO: Initializing package repository /Users/alex/.julia/v0.3
> INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl
> INFO: Cloning cache of BinDeps from git://
> github.com/JuliaLang/BinDeps.jl.git
> INFO: Cloning cache of Homebrew from git://
> github.com/JuliaLang/Homebrew.jl.git
> INFO: Cloning cache of URIParser from git://
> github.com/loladiro/URIParser.jl.git
> INFO: Installing BinDeps v0.2.12
> INFO: Installing Homebrew v0.0.4
> INFO: Installing URIParser v0.0.1
> INFO: Building Homebrew
> INFO: Cloning brew from https://github.com/staticfloat/homebrew.git
> error: unknown option `single-branch'
> usage: git clone [options] [--] <repo> [<dir>]
>
> < snip git help >
>
> ==============================================================[ ERROR:
> Homebrew ]==============================================================
>
>
> brew_prefix! not defined
> while loading /Users/alex/.julia/v0.3/Homebrew/src/Homebrew.jl, in
> expression starting on line 196
> while loading /Users/alex/.julia/v0.3/Homebrew/deps/build.jl, in
> expression starting on line 1
>
>
>
> ===============================================================================================================================================
>
>
> ===============================================================[ BUILD
> ERRORS ]================================================================
>
>
> WARNING: Homebrew had build errors.
>
>
>  - packages with build errors remain installed in /Users/alex/.julia/v0.3
>  - build a package and all its dependencies with `Pkg.build(pkg)`
>  - build a single package by running its `deps/build.jl` script
>
>
>
> ===============================================================================================================================================
> INFO: Package database updated
>
>
> Does anyone else see this as well?
>
> Best,
> Alex.
>

Reply via email to