try pyplot or Gaston?

I had a number of issues with older versions of OSX (I used 10.6 until
recently).  None of them were Winton.jl per se, but the dependencies. I've
had no problems on 10.9 and all is working well v0.3 for at least the past
month.

Cameron


On Mon, Apr 21, 2014 at 4:40 PM, Andrew McKinlay
<[email protected]>wrote:

> Following the instructions on the Julia download 
> page<http://julialang.org/downloads/>
> :
>
>
>>    1. Pkg.add("Winston")
>>    2. using Winston
>>    3. plot( cumsum(randn(1000)) ) # (plot a random walk)
>>
>>
> I cannot get Winston working.
>
> The result of running `Pkg.add("Winston")`, `using Winston`, and
> `versioninfo()` in Julia v0.3.0-prerelease (I had the same issue with
> v0.2.1) on Mac OS X 10.7.5:
>
> julia> Pkg.add("Winston")
>> INFO: Initializing package repository /Users/andrew/.julia/v0.3
>> INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl
>> INFO: Cloning cache of BinDeps from git://
>> github.com/JuliaLang/BinDeps.jl.git
>> INFO: Cloning cache of Cairo from git://github.com/JuliaLang/Cairo.jl.git
>> INFO: Cloning cache of Color from git://github.com/JuliaLang/Color.jl.git
>> INFO: Cloning cache of Homebrew from git://
>> github.com/JuliaLang/Homebrew.jl.git
>> INFO: Cloning cache of IniFile from git://
>> github.com/JuliaLang/IniFile.jl.git
>> INFO: Cloning cache of Tk from git://github.com/JuliaLang/Tk.jl.git
>> INFO: Cloning cache of URIParser from git://
>> github.com/loladiro/URIParser.jl.git
>> INFO: Cloning cache of Winston from git://github.com/nolta/Winston.jl.git
>> INFO: Installing BinDeps v0.2.12
>> INFO: Installing Cairo v0.2.12
>> INFO: Installing Color v0.2.9
>> INFO: Installing Homebrew v0.0.6
>> INFO: Installing IniFile v0.2.2
>> INFO: Installing Tk v0.2.11
>> INFO: Installing URIParser v0.0.1
>> INFO: Installing Winston v0.10.2
>> INFO: Building Homebrew
>> INFO: Cloning brew from https://github.com/staticfloat/homebrew.git
>> Cloning into '/Users/andrew/.julia/v0.3/Homebrew/deps/usr'...
>> remote: Counting objects: 3019, done.
>> remote: Compressing objects: 100% (2894/2894), done.
>> remote: Total 3019 (delta 44), reused 909 (delta 10)
>> Receiving objects: 100% (3019/3019), 1.56 MiB | 2.36 MiB/s, done.
>> Resolving deltas: 100% (44/44), done.
>>   % Total    % Received % Xferd  Average Speed   Time    Time     Time
>>  Current
>>                                  Dload  Upload   Total   Spent    Left
>>  Speed
>> 100  258k  100  258k    0     0   394k      0 --:--:-- --:--:-- --:--:--
>> 1104k
>> Cloning into
>> '/Users/andrew/.julia/v0.3/Homebrew/deps/usr/Library/Taps/staticfloat-juliadeps'...
>> remote: Reusing existing pack: 437, done.
>> remote: Total 437 (delta 0), reused 0 (delta 0)
>> Receiving objects: 100% (437/437), 92.35 KiB, done.
>> Resolving deltas: 100% (255/255), done.
>> Tapped 30 formula
>> HEAD is now at c588ffb Remove git rebasing code that slipped through
>> HEAD is now at 53d9d57 Bump coinmp bottle
>> INFO: Building Cairo
>> ==> Downloading
>> http://archive.org/download/julialang/bottles/gettext-0.18.3.2.s
>> Already downloaded:
>> /Users/andrew/Library/Caches/Homebrew.jl/gettext-0.18.3.2.snow_leopard_or_later.bottle.tar.gz
>> ==> Pouring gettext-0.18.3.2.snow_leopard_or_later.bottle.tar.gz
>> 🍺  /Users/andrew/.julia/v0.3/Homebrew/deps/usr/Cellar/gettext/0.18.3.2:
>> 375 files, 12M
>> ==> Installing glib dependency: libffi
>> ==> Downloading
>> http://archive.org/download/julialang/bottles/libffi-3.0.13.snow
>> Already downloaded:
>> /Users/andrew/Library/Caches/Homebrew.jl/libffi-3.0.13.snow_leopard_or_later.bottle.1.tar.gz
>> ==> Pouring libffi-3.0.13.snow_leopard_or_later.bottle.1.tar.gz
>> 🍺  /Users/andrew/.julia/v0.3/Homebrew/deps/usr/Cellar/libffi/3.0.13: 13
>> files, 388K
>> ==> Installing glib
>> ==> Downloading
>> http://archive.org/download/julialang/bottles/glib-2.38.2.snow_l
>> Already downloaded:
>> /Users/andrew/Library/Caches/Homebrew.jl/glib-2.38.2.snow_leopard_or_later.bottle.tar.gz
>> ==> Pouring glib-2.38.2.snow_leopard_or_later.bottle.tar.gz
>> 🍺  /Users/andrew/.julia/v0.3/Homebrew/deps/usr/Cellar/glib/2.38.2: 413
>> files, 17M
>> ==> Installing dependencies for cairo: staticfloat/juliadeps/libpng, stat
>> ==> Installing cairo dependency: libpng
>> ==> Downloading
>> https://downloads.sf.net/project/machomebrew/Bottles/libpng-1.5.
>> Already downloaded:
>> /Users/andrew/Library/Caches/Homebrew.jl/libpng-1.5.17.lion.bottle.1.tar.gz
>> ==> Pouring libpng-1.5.17.lion.bottle.1.tar.gz
>> 🍺  /Users/andrew/.julia/v0.3/Homebrew/deps/usr/Cellar/libpng/1.5.17: 15
>> files, 1.0M
>> ==> Installing cairo dependency: freetype
>> ==> Downloading
>> https://downloads.sf.net/project/machomebrew/Bottles/freetype-2.
>> Already downloaded:
>> /Users/andrew/Library/Caches/Homebrew.jl/freetype-2.5.2.lion.bottle.tar.gz
>> ==> Pouring freetype-2.5.2.lion.bottle.tar.gz
>> 🍺  /Users/andrew/.julia/v0.3/Homebrew/deps/usr/Cellar/freetype/2.5.2: 59
>> files, 2.7M
>> ==> Installing cairo dependency: pixman
>> ==> Downloading
>> http://archive.org/download/julialang/bottles/pixman-0.32.4.snow
>> Already downloaded:
>> /Users/andrew/Library/Caches/Homebrew.jl/pixman-0.32.4.snow_leopard_or_later.bottle.tar.gz
>> ==> Pouring pixman-0.32.4.snow_leopard_or_later.bottle.tar.gz
>> 🍺  /Users/andrew/.julia/v0.3/Homebrew/deps/usr/Cellar/pixman/0.32.4: 11
>> files, 1.3M
>> ==> Installing cairo
>> ==> Downloading
>> http://archive.org/download/julialang/bottles/cairo-1.12.16.snow
>> Already downloaded:
>> /Users/andrew/Library/Caches/Homebrew.jl/cairo-1.12.16.snow_leopard_or_later.bottle.1.tar.gz
>> ==> Pouring cairo-1.12.16.snow_leopard_or_later.bottle.1.tar.gz
>> 🍺  /Users/andrew/.julia/v0.3/Homebrew/deps/usr/Cellar/cairo/1.12.16: 93
>> files, 7.0M
>> ==> Installing dependencies for pango: staticfloat/juliadeps/harfbuzz, st
>> ==> Installing pango dependency: harfbuzz
>> ==> Downloading
>> http://archive.org/download/julialang/bottles/harfbuzz-0.9.25.sn
>> Already downloaded:
>> /Users/andrew/Library/Caches/Homebrew.jl/harfbuzz-0.9.25.snow_leopard_or_later.bottle.tar.gz
>> ==> Pouring harfbuzz-0.9.25.snow_leopard_or_later.bottle.tar.gz
>> 🍺  /Users/andrew/.julia/v0.3/Homebrew/deps/usr/Cellar/harfbuzz/0.9.25:
>> 67 files, 2.8M
>> ==> Installing pango dependency: fontconfig
>> ==> Downloading
>> http://archive.org/download/julialang/bottles/fontconfig-2.11.0.
>> Already downloaded:
>> /Users/andrew/Library/Caches/Homebrew.jl/fontconfig-2.11.0.snow_leopard_or_later.bottle.tar.gz
>> ==> Pouring fontconfig-2.11.0.snow_leopard_or_later.bottle.tar.gz
>> ==>
>> /Users/andrew/.julia/v0.3/Homebrew/deps/usr/Cellar/fontconfig/2.11.0/bin/fc-
>> Warning: The post-install step did not complete successfully
>> You can try again using `brew postinstall fontconfig`
>> ==> Summary
>> 🍺  /Users/andrew/.julia/v0.3/Homebrew/deps/usr/Cellar/fontconfig/2.11.0:
>> 445 files, 4.0M
>> ==> Installing pango
>> ==> Downloading
>> http://archive.org/download/julialang/bottles/pango-1.36.1.snow_
>> Already downloaded:
>> /Users/andrew/Library/Caches/Homebrew.jl/pango-1.36.1.snow_leopard_or_later.bottle.tar.gz
>> ==> Pouring pango-1.36.1.snow_leopard_or_later.bottle.tar.gz
>> 🍺  /Users/andrew/.julia/v0.3/Homebrew/deps/usr/Cellar/pango/1.36.1: 117
>> files, 3.9M
>> ================================[ ERROR: Cairo
>> ]================================
>> Provider PackageManager failed to satisfy dependency pangocairo
>> while loading /Users/andrew/.julia/v0.3/Cairo/deps/build.jl, in
>> expression starting on line 129
>>
>> ================================================================================
>> INFO: Building Tk
>> ================================[ BUILD ERRORS
>> ]================================
>> WARNING: Cairo had build errors.
>>  - packages with build errors remain installed in
>> /Users/andrew/.julia/v0.3
>>  - build a package and all its dependencies with `Pkg.build(pkg)`
>>  - build a single package by running its `deps/build.jl` script
>>
>> ================================================================================
>> INFO: Package database updated
>
>
> julia> using Winston
>> ERROR: could not open file
>> /Users/andrew/.julia/v0.3/Cairo/src/../deps/deps.jl
>>  in include at boot.jl:244
>>  in include_from_node1 at loading.jl:128
>>  in include at boot.jl:244
>>  in include_from_node1 at loading.jl:128
>>  in reload_path at loading.jl:152
>>  in _require at loading.jl:67
>>  in require at loading.jl:54
>>  in include at boot.jl:244
>>  in include_from_node1 at loading.jl:128
>>  in reload_path at loading.jl:152
>>  in _require at loading.jl:67
>>  in require at loading.jl:51
>> while loading /Users/andrew/.julia/v0.3/Cairo/src/Cairo.jl, in expression
>> starting on line 3
>> while loading /Users/andrew/.julia/v0.3/Winston/src/Winston.jl, in
>> expression starting on line 3
>
>
> julia> versioninfo()
>> Julia Version 0.3.0-prerelease+2690
>> Commit e4c2f68* (2014-04-20 12:15 UTC)
>> Platform Info:
>>   System: Darwin (x86_64-apple-darwin12.5.0)
>>   CPU: Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz
>>   WORD_SIZE: 64
>>   BLAS: libgfortblas
>>   LAPACK: liblapack
>>   LIBM: libopenlibm
>
>
> I have opened an issue <https://github.com/nolta/Winston.jl/issues/144>on
> nolta/Winston.jl <https://github.com/nolta/Winston.jl>, but I would like
> getting help with a workaround.
>

Reply via email to