2017-10-08 7 views
0

En essayant d'installer IJulia (pour Julia v0.6), j'ai rencontré un problème avec l'installation/construction de ZeroMQ.Problème de construction de ZeroMQ en julia

J'ai donc essayé (comme suggéré par quelqu'un) de reconstruire ZeroMQ après avoir redémarré Julia. J'ai essayé plusieurs fois, à la fois à la maison et au travail (peut-être des problèmes proxy étaient en jeu), mais je encore obtenu l'erreur suivante:

julia> Pkg.build("ZMQ") INFO: Building WinRPM WARNING: Compat.KERNEL is deprecated. likely near
C:\Users\ksmet1977.julia\v0.6\WinRPM\src\WinRPM.jl:4 INFO:
Downloading
http:/download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Downloading
http:/download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Building ZMQ WARNING: Compat.KERNEL is deprecated. likely near
C:\Users\kevin.smet.julia\v0.6\WinRPM\src\WinRPM.jl:4 INFO: Updating WinRPM package list INFO: Downloading
http:/download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Downloading
http:/download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml

=====================================================[ ERROR: ZMQ ]====

LoadError: None of the selected providers can install dependency zmq.
Use BinDeps.debug(package_name) to see available providers while
loading C:\Users\kevin.smet.julia\v0.6\ZMQ\deps\build.jl, in expression starting on line 35

====================================================[ BUILD ERRORS ]====
=========================================== WARNING: ZMQ had build errors.
- packages with build errors remain installed in C:\Users\kevin.smet.julia\v0.6
- build the package(s) and all dependencies with Pkg.build("ZMQ")
- build a single package by running its deps/build.jl script

Notez que j'avais déjà résolu le problème WinRPM avec le téléchargement lors de l'installation de certains l'autre paquet en supprimant la pièce cache.julialang.org dans le fichier sources.list.

Quand je lance BinDeps.debug("ZMQ"), je reçois le message suivant:

INFO: Reading build script... WARNING: Compat.KERNEL is deprecated.
likely near C:\Users\kevin.smet.julia\v0.6\WinRPM\src\WinRPM.jl:4 The package declares 1 dependencies. INFO: Updating WinRPM package list INFO: Downloading
http:/download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Downloading
http:/download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml

  • Library "zmq"

    • Providers:
      • Autotools Build
      • BinDeps.AptGet package libzmq3 (can't provide)
      • BinDeps.Yum package czmq (can't provide)
      • WinRPM.RPM package zeromq (can't provide)

Je suis sur Windows 10.

Répondre

1

Solution trouvée. Lors de la mise à jour de la liste des sources dans WinRPM j'ai utilisé deux fois "win32". Après avoir changé l'une des sources pour win64 le problème a été résolu.