If you are behind a firewall and you need to use the https protocol instead of the git protocol:
git config --global url."https://".insteadOf git://
Hi,Last night I downloaded the Julia installer for OS X Lion and Mountain Lion from https://code.google.com/p/julialang/downloads/detail?name=Julia-0.1.dmg&can=2&q=. There were no hiccups in the installation, but I get the following error message when I try to add Gadfly:__ _ _(_)_ | A fresh approach to technical computing(_) | (_) (_) | Documentation: http://docs.julialang.org_ _ _| |_ __ _ | Type "help()" to list help topics| | | | | | |/ _` | || | |_| | | | (_| | | Version 0.1.1+111038832.r2e9c.dirty_/ |\__'_|_|_|\__'_| | Commit 2e9c9bf5fe (2013-02-28 13:16:18)*|__/ |julia> Pkg.add("Gadfly")MESSAGE: Auto-initializing default package repository /Users/tsmall/.julia.warning: templates not found /Users/viral/julia/usr/share/git-core/templatesInitialized empty Git repository in /Users/tsmall/.julia/.git/[master (root-commit) 291e14c] Initial empty commitgit: 'submodule' is not a git command. See 'git --help'.ERROR: failed process: Process(`git submodule add git://github.com/JuliaLang/METADATA.jl.git METADATA`, ProcessExited(1)) [1]in pipeline_error at process.jl:388in run at process.jl:378in anonymous at no file:86in cd at file.jl:26in init at pkg.jl:68in cd_pkgdir at pkg.jl:31in add at pkg.jl:112in add at pkg.jl:138I have git 1.7.12.4 on my machine and use it all the time for work without grief. My machine is running OS X 10.7.5. Does anyone have any thoughts about what could be going wrong?Thanks,Todd
julia> Pkg.add("Gadfly")ERROR: could not open file REQUIREin open at io.jl:281in open at io.jl:301in parse_requires at pkg/metadata.jl:130in anonymous at no file:117
in cd at file.jl:26
in cd_pkgdir at pkg.jl:34
in add at pkg.jl:112in add at pkg.jl:138
git: 'pull' is not a git command. See 'git --help'.Did you mean this?shellERROR: failed process: Process(`git pull`, ProcessExited(1)) [1]
in pipeline_error at process.jl:388in run at process.jl:378
in anonymous at no file:465
in cd at file.jl:26
in anonymous at no file:464
in cd at file.jl:26
in cd_pkgdir at pkg.jl:34in update at pkg.jl:463
Yeah, you should be building .julia manually
julia> run(`git --version`)git version 1.8.1.4julia> run(`which git`)/Applications/Julia.app/Contents/Resources/julia/bin/git
[~/.julia]$ which git/Applications/Julia.app/Contents/Resources/julia/bin/git[~/.julia]$ git submodule add git://github.com/JuliaLang/METADATA.jl.git METADATA
git: 'submodule' is not a git command. See 'git --help'.
Hi,Last night I downloaded the Julia installer for OS X Lion and Mountain Lion from https://code.google.com/p/julialang/downloads/detail?name=Julia-0.1.dmg&can=2&q=. There were no hiccups in the installation, but I get the following error message when I try to add Gadfly:
__ _ _(_)_ | A fresh approach to technical computing(_) | (_) (_) | Documentation: http://docs.julialang.org_ _ _| |_ __ _ | Type "help()" to list help topics| | | | | | |/ _` | || | |_| | | | (_| | | Version 0.1.1+111038832.r2e9c.dirty_/ |\__'_|_|_|\__'_| | Commit 2e9c9bf5fe (2013-02-28 13:16:18)*|__/ |julia> Pkg.add("Gadfly")MESSAGE: Auto-initializing default package repository /Users/tsmall/.julia.warning: templates not found /Users/viral/julia/usr/share/git-core/templatesInitialized empty Git repository in /Users/tsmall/.julia/.git/[master (root-commit) 291e14c] Initial empty commit
git: 'submodule' is not a git command. See 'git --help'.
ERROR: failed process: Process(`git submodule add git://github.com/JuliaLang/METADATA.jl.git METADATA`, ProcessExited(1)) [1]in pipeline_error at process.jl:388in run at process.jl:378in anonymous at no file:86in cd at file.jl:26in init at pkg.jl:68in cd_pkgdir at pkg.jl:31in add at pkg.jl:112in add at pkg.jl:138
Hi,I've just installed the last julia (Julia-0.1.2.dmg) on 28/3/2013. And I cannot install packages. Here is the message that I gotjulia->Pkg.add("Distributions")fatal: Not a git repository (or any of the parent directories): .gitERROR: failed process: Process(`git add REQUIRE`, ProcessExited(128)) [128]
in pipeline_error at process.jl:388in run at process.jl:378
in anonymous at no file:136
in cd at file.jl:26
in cd_pkgdir at pkg.jl:34
in add at pkg.jl:135in add at pkg.jl:167If I run Pkg.update(), then I gotjulia> Pkg.update()ERROR: chdir: No such file or directoryin system_error at error.jl:21in cd at file.jl:25in anonymous at no file:500
in cd at file.jl:26
in cd_pkgdir at pkg.jl:34
in update at pkg.jl:499Any thoughts about what could be going wrong?Thanks,yuta
2013年3月5日火曜日 7時43分48秒 UTC-6 Viral Shah:
Hi,I've just installed the last julia (Julia-0.1.2.dmg) on 28/3/2013. And I cannot install packages. Here is the message that I got
julia->Pkg.add("Distributions")fatal: Not a git repository (or any of the parent directories): .gitERROR: failed process: Process(`git add REQUIRE`, ProcessExited(128)) [128]
in pipeline_error at process.jl:388in run at process.jl:378
in anonymous at no file:136
in cd at file.jl:26
in cd_pkgdir at pkg.jl:34in add at pkg.jl:135in add at pkg.jl:167
If I run Pkg.update(), then I got
julia> Pkg.update()ERROR: chdir: No such file or directoryin system_error at error.jl:21in cd at file.jl:25
in anonymous at no file:500
in cd at file.jl:26
in cd_pkgdir at pkg.jl:34in update at pkg.jl:499
Any thoughts about what could be going wrong?Thanks,
yuta
2013年3月5日火曜日 7時43分48秒 UTC-6 Viral Shah:
I have now uploaded new mac binaries, which I believe should fix this problem. It would be great if someone who does not have git installed on their mac can try it out and report.
julia> using Gadfly
ERROR: syntax: extra token after end of expression
in include_from_node1 at loading.jl:76
in reload_path at loading.jl:96
in require at loading.jl:48
in include_from_node1 at loading.jl:76
in reload_path at loading.jl:96
in require at loading.jl:48
in include_from_node1 at loading.jl:76
in reload_path at loading.jl:96
in require at loading.jl:48
at /Users/connelly/.julia/Iterators/src/Iterators.jl:22
julia> Pkg.add("Winston")
ERROR: in module path: BinDeps not defined
in include_from_node1 at loading.jl:76
in anonymous at no file:241
in cd at file.jl:26
in runbuildscript at pkg.jl:238
in _resolve at pkg.jl:314
in anonymous at no file:155
in cd at file.jl:26
in cd_pkgdir at pkg.jl:34
in add at pkg.jl:135
in add at pkg.jl:167
at /Users/connelly/.julia/Tk/deps/build.jl:1
julia> Pkg.add("Gaston")
julia> using Gaston
julia> Gaston.set_terminal("aqua")
julia> x=-pi:.001:pi; y=x.*sin(10./x); plot(x,y) #(plot x*sin(10/x))
gnuplot> set term aqua 1
^
line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list
0
julia> Pkg.add("PyPlot")
julia> using PyPlot
ERROR: error compiling version: could not load module libzmq: dlopen(libzmq.dylib, 1): image not found
in include_from_node1 at loading.jl:76
in reload_path at loading.jl:96
in require at loading.jl:48
in include_from_node1 at loading.jl:76
in include_from_node1 at loading.jl:76
in reload_path at loading.jl:96
in require at loading.jl:48
at /Users/connelly/.julia/ZMQ/src/ZMQ.jl:51
julia> Pkg.add("ApproxFun")
ERROR: Path IniFile already exists! Please remove to allow installation.
in _resolve at pkg.jl:298
in anonymous at no file:155
in cd at file.jl:26
in cd_pkgdir at pkg.jl:34
in add at pkg.jl:135
in add at pkg.jl:167
This error means that the GIT_EXEC_PATH environment variable is not getting set correctly. Sophie, when you do the following from inside of julia, what is the output:
run(`which git`)
println(ENV)