I am absolutely new to Julia and wanted to give it a first try.
On a computer with windows 7 I installed Julia-0.3.0 (flawlessly).
The -very first- instruction that I typed on Julia's console was
Pkg.add("Cairo")
I was willing to follow a hands on tutorial which included some plot
examples which required the Cairo package.
The process failed.
What could have gone wrong if I installed the latest Julia version in a
computer that has never seen Julia before?
What should be done in order to install The Cairo package correctly?
How to 'uninstall' and 're-install' a package in Julia?.
I would appreciate any help on these matters.
What follows is a copy of Julia's console:
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "help()" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.3.0 (2014-08-20 20:43 UTC)
_/ |\__'_|_|_|\__'_| | Official http://julialang.org/ build
|__/ | x86_64-w64-mingw32
julia> Pkg.add("Cairo")
INFO: Initializing package repository C:\Users\julio_valdes\.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 FixedPointNumbers from
git://github.com/JeffBezanson/FixedPointNumbers.jl.git
INFO: Cloning cache of HTTPClient from
git://github.com/amitmurthy/HTTPClient.jl.git
INFO: Cloning cache of LibCURL from
git://github.com/amitmurthy/LibCURL.jl.git
INFO: Cloning cache of LibExpat from
git://github.com/amitmurthy/LibExpat.jl.git
INFO: Cloning cache of SHA from git://github.com/staticfloat/SHA.jl.git
INFO: Cloning cache of URIParser from git://github.com/Keno/URIParser.jl.git
INFO: Cloning cache of URLParse from
git://github.com/tanmaykm/URLParse.jl.git
INFO: Cloning cache of WinRPM from git://github.com/JuliaLang/WinRPM.jl.git
INFO: Cloning cache of Zlib from git://github.com/dcjones/Zlib.jl.git
INFO: Installing BinDeps v0.3.5
INFO: Installing Cairo v0.2.16
INFO: Installing Color v0.3.7
INFO: Installing FixedPointNumbers v0.0.2
INFO: Installing HTTPClient v0.1.4
INFO: Installing LibCURL v0.1.4
INFO: Installing LibExpat v0.0.4
INFO: Installing SHA v0.0.3
INFO: Installing URIParser v0.0.2
INFO: Installing URLParse v0.0.0
INFO: Installing WinRPM v0.1.2
INFO: Installing Zlib v0.1.7
INFO: Building LibCURL
WARNING: This package has been deprecated in favour of JuliaWeb/URIParser.jl
https://github.com/JuliaWeb/URIParser.jl
As of Julia 0.4 this package will no longer be installable
through `Pkg.add`. Please convert your code according.
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update()
to download
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update()
to download
INFO: Updating WinRPM package list
INFO: Downloading
http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1//repodata/repomd.xml
INFO: Downloading
http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1//repodata/fa143b5bc3308b4a360b098a0e5bf6425b
a92506d3e957295c8f9318bbcba8c7-primary.xml.gz
INFO: Downloading
http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1//repodata/repomd.xml
INFO: Downloading
http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1//repodata/a15dc699574afb67fc282682470e7ff10b
341034c1202e97d7c0c708672dd81b-primary.xml.gz
INFO: Packages to install: libgcc_s_seh1, libgpg-error6-0, libintl8,
libgcrypt20, libsqlite3-0, libidn11, zlib1, libssh2-1, mozilla-nss, moz
illa-nspr, libcurl4
INFO: Downloading: libgcc_s_seh1
INFO: Extracting: libgcc_s_seh1
INFO: Downloading: libgpg-error6-0
INFO: Extracting: libgpg-error6-0
INFO: Downloading: libintl8
INFO: Extracting: libintl8
INFO: Downloading: libgcrypt20
INFO: Extracting: libgcrypt20
INFO: Downloading: libsqlite3-0
INFO: Extracting: libsqlite3-0
INFO: Downloading: libidn11
INFO: Extracting: libidn11
INFO: Downloading: zlib1
INFO: Extracting: zlib1
INFO: Downloading: libssh2-1
INFO: Extracting: libssh2-1
INFO: Downloading: mozilla-nss
INFO: Extracting: mozilla-nss
INFO: Downloading: mozilla-nspr
INFO: Extracting: mozilla-nspr
INFO: Downloading: libcurl4
INFO: Extracting: libcurl4
INFO: Complete
INFO: Building WinRPM
INFO: Downloading
http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1//repodata/repomd.xml
INFO: Downloading
http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1//repodata/repomd.xml
INFO: Building Cairo
==============================================================[ ERROR:
Cairo ]==============================================================
None of the selected providers could satisfy library group cairo
Use BinDeps.debug(package_name) to see available providers
while loading C:\Users\julio_valdes\.julia\v0.3\Cairo\deps\build.jl, in
expression starting on line 136
============================================================================================================================================
==============================================================[ BUILD
ERRORS ]==============================================================
WARNING: Cairo had build errors.
- packages with build errors remain installed in
C:\Users\julio_valdes\.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>