Oh, right, and that one is probably because Pkg doesn't work properly with 
a posix-style git in msys or cygwin, it only works with a mingw-style git 
like the one we bundle. So it's lose-lose until Cxx.jl converts to cmake, 
or Julia switches to libgit2 (which is coming along well but probably won'y 
be quite ready in time for 0.4), or we fix this git bug. The git bug might 
not be too hard to fix, what do you get when you run that git 
'--work-tree=C:\j\.julia\v0.4\Cxx' '--git-dir=C:\j\.julia\v0.4\Cxx\.git' 
update-index -q --really-refresh command manually in MSYS2 bash?


On Friday, May 29, 2015 at 9:09:57 AM UTC-7, J Luis wrote:
>
> Sorry, I'm being to impulsive with my reports. After posting I realized 
> that I tried to run the build from within the Windows cmd that knows 
> nothing about 'make'
>
> When run from the MSYS2 bash (the same one that build julia itself) the 
> error is:
>
> julia> Pkg.build("Cxx")
> ERROR: failed process: Process(`git '--work-tree=C:\j\.julia\v0.4\Cxx' 
> '--git-dir=C:\j\.julia\v0.4\Cxx\.git' update-index -q --really-refresh`, 
> ProcessExited(128)) [128]
>  in run at <invalid>
>  in success at .\pkg\git.jl:32
>
>
>
> sexta-feira, 29 de Maio de 2015 às 16:53:20 UTC+1, Tony Kelman escreveu:
>>
>> I'm guessing you'll either need to translate 
>> https://github.com/Keno/Cxx.jl/blob/master/deps/BuildBootstrap.Makefile 
>> into cmake, or run julia from within a posix environment that has gmake 
>> available.
>>
>>
>> On Friday, May 29, 2015 at 8:44:59 AM UTC-7, J Luis wrote:
>>>
>>>
>>> I don't think anybody has ever tried. It shouldn't be too hard to make 
>>>> work, but will definitely require some modifications to Cxx.jl.
>>>>
>>>
>>> Well, I guess it does. It stops immediately with
>>>
>>> julia> Pkg.build("Cxx")
>>> INFO: Building Cxx
>>> Tuning for julia installation at: V:\julia\usr\bin
>>> =====================================================[ ERROR: Cxx 
>>> ]=====================================================
>>>
>>>
>>> LoadError: could not spawn `make -f BuildBootstrap.Makefile 
>>> 'JULIA_HOME=V:\julia\usr\bin'`: no such file or directory (E
>>> NOENT)
>>> while loading C:\j\.julia\v0.4\Cxx\deps\build.jl, in expression 
>>> starting on line 16
>>>
>>>
>>>  
>>>
>>>>
>>>> On Mon, May 25, 2015 at 3:00 PM, J Luis <[email protected]> wrote:
>>>>
>>>>> Does it worth trying or it's known that it won't work? (I could try to 
>>>>> build LLVM SVN with VS, if that helps)
>>>>>
>>>>
>>>>

Reply via email to