Thanks for the message.

While `brew install xz` had trouble, I found my /usr/local/include and
/usr/local/lib are owned by 'root:wheel', which means I have no write
permission.  I am not sure why it is this way and what 'wheel' is.  It
might have happened when I installed OSXFuse as there are OSXFuse related
files in there.  But I chown'ed them to 'myself:admin' anyhow (other
directories under /usr/local have this ownership and I hope this is OK to
do).  After this `brew install xz` succeeded.

Well, so far I get the sense that it is going to be quite messy for me to
use Julia on the Mac.  I am prepared to take it gradually.  I would hold on
reporting the unxz issue to Homebrew.jl, as I am a lot less confidant on
the Mac right now to say that it is actually an issue rather than my own
problem.

Aren't there many people using Julia on OSX?

On Sunday, June 14, 2015, Kevin Squire <kevin.squ...@gmail.com
<javascript:_e(%7B%7D,'cvml','kevin.squ...@gmail.com');>> wrote:

> It looks like it's having trouble finding `unxz`.  Can you file an issue
> against Homebrew.jl, with this error?  It should probably be installed by
> Homebrew (in Julia's Homebrew cellar)... although I'm not sure how that
> works for dependencies that need to be in the search path.
>
> In the mean time, to get it to work, you can install xz (e.g., `brew
> install xz`, if you use homebrew outside of Julia).
>
> Cheers,
>    Kevin
>
> On Sat, Jun 13, 2015 at 5:19 PM, K leo <cnbiz...@gmail.com> wrote:
>
>> In another message I mentioned about the troubles I have with moving
>> packages from Ubuntu to the Mac.  To further understand about the problems,
>> I now experiment to add packages individually in a new ~/.julia directory.
>> The first package to add is Winston.  It has trouble building Cairo with
>> the errors below.  I checked in the finder that file
>> /Users/xxx/.julia/v0.3/Cairo/deps/downloads/glib-2.34.3.tar.xz does exist.
>> I wonder what the error message is about.
>>
>> ================================[ ERROR: Cairo
>> ]================================
>>
>> could not spawn `unxz -c
>> /Users/xxx/.julia/v0.3/Cairo/deps/downloads/glib-2.34.3.tar.xz`: no such
>> file or directory (ENOENT)
>> while loading /Users/xxx/.julia/v0.3/Cairo/deps/build.jl, in expression
>> starting on line 144
>>
>>
>> ================================================================================
>> INFO: Building Tk
>>
>> ================================[ BUILD ERRORS
>> ]================================
>>
>> WARNING: Cairo and Homebrew had build errors.
>>
>>  - packages with build errors remain installed in /Users/xxx/.julia/v0.3
>>  - build the package(s) and all dependencies with `Pkg.build("Cairo",
>> "Homebrew")`
>>  - build a single package by running its `deps/build.jl` script
>>
>>
>> ================================================================================
>> INFO: Package database updated
>>
>>
>>    _       _ _(_)_     |  A fresh approach to technical computing
>>   (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
>>    _ _   _| |_  __ _   |  Type "help()" for help.
>>   | | | | | | |/ _` |  |
>>   | | |_| | | | (_| |  |  Version 0.3.9 (2015-05-30 11:24 UTC)
>>  _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
>> |__/                   |  x86_64-apple-darwin13.4.0
>>
>>
>>
>>
>>
>

Reply via email to