No MacPorts in sight. I have Homebrew installed system-wide, though (v0.95, 
prefix: /usr/local). AFAIK it should not conflict with the local Julia 
version.

I've had issues with brew in the past. I tried to install it with a custom 
prefix, it failed, I read outdated, incomplete uninstall instructions, then 
brew wouldn't either install (anywhere) or finish the cleanup using the 
correct method. Somehow, I managed to get it to install again in 
/usr/local, and it works properly.

On Saturday, January 4, 2014 12:44:51 AM UTC+1, Stefan Karpinski wrote:
>
> I actually have what appears to be the same issue, so it would be great to 
> figure out what the problem is. Among other details, I use MacPorts on OS X 
> 10.9. I know, I know MacPorts? Pierre-Yves, do you happen to also use it?
>
>
> On Fri, Jan 3, 2014 at 5:58 PM, Pierre-Yves Gérardy 
> <[email protected]<javascript:>
> > wrote:
>
>> Here's an abridged log of my REPL session, in purplicious technicolor.
>>
>>                                                                     
>> julia> versioninfo()                                                
>> Julia Version 0.2.0                                                 
>> Commit 05c6461 (2013-11-16 23:44 UTC)                               
>> Platform Info:                                                      
>>   System: Darwin (x86_64-apple-darwin12.5.0)                        
>>   WORD_SIZE: 64                                                     
>>   BLAS: libgfortblas                                                
>>   LAPACK: liblapack                                                 
>>   LIBM: libopenlibm                                                 
>>                                                                     
>> julia> run(`rm -rf /Users/pygy/.julia`)                             
>>                                                                     
>> julia> Pkg.add("Homebrew")                                          
>> [...]                                                               
>> INFO: Building Homebrew                                             
>> sh: line 0: cd: /Users/pygy/.julia/Homebrew/deps/usr: No such file or 
>> directory
>> ======================== [ ERROR: Homebrew ]========================
>> failed process: Process(`sh -c 'cd /Users/pygy/.julia/Homebrew/deps/usr 
>> && git rev-parse --git-dir'`, ProcessExited(1)) [1]
>> at /Users/pygy/.julia/Homebrew/deps/build.jl:2                      
>> [...]                                                               
>>                                                                     
>> julia> run(`julia /Users/pygy/.julia/Homebrew/deps/build.jl`)       
>> INFO: Cloning brew from https://github.com/staticfloat/homebrew.git 
>> Cloning into '/Users/pygy/.julia/Homebrew/deps/usr'...              
>> [...]                                                               
>> Cloning into 
>> '/Users/pygy/.julia/Homebrew/deps/usr/Library/Taps/staticfloat-juliadeps'...
>> [...]                                                               
>> Tapped 28 formula                                                   
>> HEAD is now at 7dbece7 Merge branch 'kegpkg' of 
>> github.com:staticfloat/homebrew into kegpkg
>> HEAD is now at e7a2203 Tab fix didn't work, revert to old behavior  
>>                                                                     
>> julia> Pkg.add("ImageView")                                         
>> INFO: Cloning cache of [Cairo, Cartesian, Color, Grid, ...]         
>> INFO: Installing [...]                                              
>> INFO: Building Homebrew                                             
>> HEAD is now at 7dbece7 Merge branch 'kegpkg' of 
>> github.com:staticfloat/homebrew into kegpkg
>> HEAD is now at e7a2203 Tab fix didn't work, revert to old behavior  
>> INFO: Building Cairo                                                
>> ========================= [ ERROR: Cairo ] =========================
>> @setup not defined                                                  
>> at /Users/pygy/.julia/Cairo/deps/build.jl:1                         
>> INFO: Building Images                                               
>> ==========================[ ERROR: Images ]=========================
>> @setup not defined                                                  
>> at /Users/pygy/.julia/Images/deps/build.jl:1                        
>> INFO: Building Tk                                                   
>> =========================== [ ERROR: Tk ] ==========================
>> @setup not defined                                                  
>> at /Users/pygy/.julia/Tk/deps/build.jl:1                            
>> [...]                                                               
>>                                                                     
>> julia> Pkg.build("Cairo")                                           
>> [...]                                                               
>> @setup not defined                                                  
>> at /Users/pygy/.julia/Cairo/deps/build.jl:1                         
>>                                                                     
>> julia> run(`julia /Users/pygy/.julia/Cairo/deps/build.jl`)          
>> [🍺 ==> brew does its thing]                                         
>>                                                                     
>> julia> using Cairo                                                  
>> [no errors, w00t111]                                                
>>                                                                     
>> julia> Pkg.build("Images")                                          
>> [...]                                                               
>> @setup not defined                                                  
>> at /Users/pygy/.julia/Images/deps/build.jl:1                        
>>                                                                     
>> julia> run(`julia /Users/pygy/.julia/Images/deps/build.jl`)         
>> ERROR: None of the selected providers can install dependency 
>> libMagickWand-6.Q16 
>>                                                                     
>>
>> And here am I stuck. Any ideas?
>>
>> —Pierre-Yves
>>
>
>

Reply via email to