Unfortunately, it seems that the GSL package still cannot be added using
the Pkg.add(). Here is the error message:
julia> Pkg.add("GSL")
INFO: Cloning cache of GSL from git://github.com/jiahao/GSL.jl.git
INFO: Installing GSL v0.1.2
INFO: Building GSL
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:/win64/openSUSE_13.1//repodata/repomd.xml
INFO: Multiple package candidates found for mingw64-cross-pkg-config,
picking newest.
WARNING: Multiple package candidates have the same version, picking one at
random
WARNING: Package not found that provides libglib-2.0.so.0
WARNING: Package not found that provides libc.so.6(GLIBC_2.4)
WARNING: Package not found that provides pkg-config
WARNING: Package not found that provides rpm
WARNING: Package not found that provides /bin/sh
WARNING: Package not found that provides /bin/bash
INFO: Multiple package candidates found for mingw64-cross-breakpad-tools,
picking newest.
WARNING: Multiple package candidates have the same version, picking one at
random
WARNING: Package not found that provides libstdc++.so.6
WARNING: Package not found that provides libstdc++.so.6(GLIBCXX_3.4.9)
WARNING: Package not found that provides libstdc++.so.6(GLIBCXX_3.4)
WARNING: Package not found that provides libm.so.6(GLIBC_2.0)
WARNING: Package not found that provides libstdc++.so.6(GLIBCXX_3.4.15)
WARNING: Package not found that provides libm.so.6
WARNING: Package not found that provides libstdc++.so.6(GLIBCXX_3.4.11)
WARNING: Package not found that provides libstdc++.so.6(CXXABI_1.3)
WARNING: Package not found that provides libgcc_s.so.1(GCC_3.0)
WARNING: Package not found that provides libgcc_s.so.1
WARNING: Package not found that provides libstdc++.so.6(GLIBCXX_3.4.10)
INFO: Packages to install: mingw64-cross-breakpad-tools, filesystem,
libgsl0, mingw64-cross-pkg-config, gsl
INFO: Downloading: mingw64-cross-breakpad-tools
INFO: Extracting: mingw64-cross-breakpad-tools
INFO: Downloading: filesystem
INFO: Extracting: filesystem
INFO: Downloading: libgsl0
INFO: Extracting: libgsl0
INFO: Downloading: mingw64-cross-pkg-config
INFO: Extracting: mingw64-cross-pkg-config
INFO: Downloading: gsl
INFO: Extracting: gsl
INFO: Complete
========================================[ ERROR: GSL
]========================================
Provider PackageManager failed to satisfy dependency libgsl
while loading C:\cygwin64\home\Diaw\.julia\v0.3\GSL\deps\build.jl, in
expression starting on line 29
==============================================================================================
=======================================[ BUILD ERRORS
]=======================================
WARNING: GSL had build errors.
- packages with build errors remain installed in
C:\cygwin64\home\Diaw\.julia\v0.3
- build the package(s) and all dependencies with `Pkg.build("GSL")`
- build a single package by running its `deps/build.jl` script
==============================================================================================
INFO: Package database updated
Thanks,
Yifei
On Tuesday, June 9, 2015 at 7:40:53 PM UTC-4, Yifei Ni wrote:
>
> That works! Thank you so much.
>
> On Tuesday, June 9, 2015 at 7:29:57 PM UTC-4, Tony Kelman wrote:
>>
>> Right. Don't do Pkg.clone. Remove the package from .trash then try
>> Pkg.add again. If you're still getting a "unknown package Zlib" error you
>> might need to try deleting your entire .julia directory and re-doing
>> Pkg.init(); Pkg.update(); Pkg.add("Zlib")
>>
>>
>> On Tuesday, June 9, 2015 at 4:28:33 PM UTC-7, Yifei Ni wrote:
>>>
>>> Here is the error message for Pkg.clone() after I delete the Zlib
>>> package at joinpath(Pkg.dir(),".trash","Zlib").
>>>
>>> julia> Pkg.clone("https://github.com/dcjones/Zlib.jl.git")
>>> INFO: Cloning Zlib from https://github.com/dcjones/Zlib.jl.git
>>> INFO: Computing changes...
>>> WARNING: Zlib is fixed at 0.0.0- conflicting with requirement for
>>> WinRPM: [0.1.4,∞)
>>> INFO: No packages to install, update or remove
>>>
>>> On Tuesday, June 9, 2015 at 7:25:14 PM UTC-4, Yifei Ni wrote:
>>>>
>>>> Oh I see what you mean by delete the package at .trash.
>>>>
>>>> On Tuesday, June 9, 2015 at 7:22:33 PM UTC-4, Yifei Ni wrote:
>>>>>
>>>>> I have tried Pkg.update(). Besides, I have used Pkg.rm() before using
>>>>> Pkg.clone(). Is this correct?
>>>>>
>>>>> On Tuesday, June 9, 2015 at 7:18:40 PM UTC-4, Tony Kelman wrote:
>>>>>>
>>>>>> Have you done Pkg.init() and Pkg.update() ?
>>>>>>
>>>>>> If you tried using Pkg.clone at any point, you may need to remove the
>>>>>> copy of Zlib that is now at joinpath(Pkg.dir(),".trash","Zlib")
>>>>>>
>>>>>>
>>>>>> On Tuesday, June 9, 2015 at 4:12:33 PM UTC-7, Yifei Ni wrote:
>>>>>>>
>>>>>>> Hi Tony,
>>>>>>>
>>>>>>> Here is the full error message.
>>>>>>>
>>>>>>> julia> Pkg.add("Zlib")
>>>>>>> ERROR: unknown package Zlib
>>>>>>> in wait at task.jl:51
>>>>>>> in sync_end at task.jl:311
>>>>>>> in add at pkg/entry.jl:319
>>>>>>> in add at pkg/entry.jl:71
>>>>>>> in anonymous at pkg/dir.jl:28
>>>>>>> in cd at file.jl:30
>>>>>>> in cd at pkg/dir.jl:28
>>>>>>> in add at pkg.jl:20
>>>>>>>
>>>>>>>
>>>>>>> On Tuesday, June 9, 2015 at 5:34:05 PM UTC-4, Tony Kelman wrote:
>>>>>>>>
>>>>>>>> What is the full error message when you try Pkg.add("Zlib") ?
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tuesday, June 9, 2015 at 1:57:21 PM UTC-7, Yifei Ni wrote:
>>>>>>>>>
>>>>>>>>> Hi everyone,
>>>>>>>>>
>>>>>>>>> I am now confronting a problem of adding the package Zlib when I
>>>>>>>>> try to add the package GSL. The Pkg.add() cannot find Zlib and
>>>>>>>>> Pkg.clone("
>>>>>>>>> https://github.com/dcjones/Zlib.jl.git") fixed the version of
>>>>>>>>> Zlib at 0.0.0- which is in conflict with requirement of WinRPM, which
>>>>>>>>> is
>>>>>>>>> [0.1.4,inf). Does anyone know how to solve this problem?
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Yifei
>>>>>>>>>
>>>>>>>>