You've been building the release-0.4 branch, correct? That is likely to be 
more stable in terms of working with packages and the like. Though if you 
build the master branch of Julia then Pkg can work without needing to use 
command-line Git.

If you download the Julia 0.4.1 Windows installer (you can't run Linux 
binaries on Windows without running inside a virtual machine), the version 
of Git that it bundles comes with a copy of MSYS2, which is a fork of 
Cygwin. So you could start the Git/git-bash.exe launcher and run `cygdrive 
-m $PWD`/../bin/julia to get Julia running within the nicer terminal like 
Cygwin has.

To fix the release-0.4 branch in a way that Pkg can work with Cygwin's 
version of Git would require some work and a good way of telling apart 
Cygwin's version of Git from the portablegit version of Git. I'm not sure 
what the best way to do that would be. All of the Pkg code can be found in 
base/pkg.jl and base/pkg/*.jl.


On Saturday, November 14, 2015 at 3:11:16 AM UTC-8, digxx wrote:
>
> So yes thats basically what I want to achieve. Getting Julia Pkg running 
> on cygwin which apparently needs Git. Do you have another possibility of 
> getting Julia running via cygwin?
> I tried the generic Linux binaries but this doesnt work somehow? I 
> actually just copied it and tried to run it via ./Julia in the folder where 
> it is, or do I need to do some other stuff first?
> At least with the source of Julia and then making it i so far got Julia 
> running on cygwin... Just the Pkg shell out doesnt seem to work and gives 
> me the upper error...
> For what file in specific should I look for in order to be sure that Git 
> should be there?
>
> Am Samstag, 14. November 2015 09:29:58 UTC+1 schrieb Tony Kelman:
>
>> It's been reported in a different thread that Julia with newer bundled 
>> git doesn't start in cygwin without some modifications, so the options here 
>> are either try to fix the Pkg git issue so it can work with cygwin's git 
>> for 0.4, or wait for 0.5 which no longer uses command line git for Pkg.
>>
>

Reply via email to