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
>>>>>>>>
>>>>>>>

Reply via email to