JuliaCrypto / Nettle.jl

Julia wrapper around nettle cryptographic hashing/encryption library providing MD5, SHA1, SHA2 hashing and HMAC functionality, as well as AES encryption/decryption

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build error on Windows

fullerf opened this issue · comments

On Win7 64-bit, I received this error while trying to build Nettle (as a part of IJulia)

           _

_ _ ()_ | A fresh approach to technical computing
() | () () | Documentation: http://docs.julialang.org
_ _ | | __ _ | Type "help()" to list help topics
| | | | | | |/ ` | |
| | |
| | | | (
| | | Version 0.2.0 (2013-11-16 23:44 UTC)
/ |_'|||__'| | Official http://julialang.org release
|__/ | x86_64-w64-mingw32

julia> Pkg.add("Nettle")
INFO: Cloning cache of BinDeps from git://github.com/JuliaLang/BinDeps.jl.git
INFO: Cloning cache of Nettle from git://github.com/staticfloat/Nettle.jl.git
INFO: Installing BinDeps v0.2.12
INFO: Installing Nettle v0.1.3
INFO: Building Nettle
WARNING: skipping repodata/repomd.xml, not in cache
WARNING: skipping repodata/repomd.xml, not in cache
INFO: Updating WinRPM package list
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/f23410e50cd4b88aad057263ad609342cb05c51d880c5d999e2
4bb2ebe867751-primary.xml.gz
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6
4/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6
4/openSUSE_Factory//repodata/bdade38f5a9e7abbc7ecdfe3715c9a05655c57cefa575a46c8b
7aa2a44e12510-primary.xml.gz
===============================[ ERROR: Nettle ]================================

WARNING: backtraces on your platform are often misleading or partially incorrect

sexpr not defined
at C:\Users\fullerf.julia\Nettle\deps\build.jl:35

Ideas?

Can you post the contents of C:\Users\fullerf.julia\Nettle\deps\build.jl please?

Looks like this is related to JuliaLang/julia#5335. I'm closing this in favor of that issue, but it looks like it'll get fixed pretty soon, so after that issue gets resolved, a Pkg.update() will likely fix things up.