JuliaWeb / GnuTLS.jl

Transport Level Security for Julia Streams provided by GnuTLS
Other
8 stars 13 forks source link

Fails to build on OS X 10.9 mavericks #11

Closed ViralBShah closed 9 years ago

ViralBShah commented 11 years ago

I get the following error building gnutls. I am building it for HttpServer. Cc: @staticfloat

julia> Pkg.build("gnutls")
INFO: Building gnutls
==> Installing gnutls dependency: nettle
Error: nettle dependency staticfloat/juliadeps/gmp was built with the following
C++ standard library: libstdc++ (from clang)

This is incompatible with the standard library being used
to build nettle: libc++ (from clang)

Please reinstall staticfloat/juliadeps/gmp using a compatible compiler.
hint: Check https://github.com/mxcl/homebrew/wiki/C++-Standard-Libraries
===============================[ ERROR: gnutls ]================================

failed process: Process(`/Users/viral/.julia/Homebrew/deps/usr/bin/brew install staticfloat/juliadeps/gnutls`, ProcessExited(1)) [1]
at /Users/viral/.julia/gnutls/deps/build.jl:49

================================================================================

================================[ BUILD ERRORS ]================================

WARNING: gnutls had build errors.

 - packages with build errors remain installed in /Users/viral/.julia
 - build a package and all its dependencies with `Pkg.build(pkg)`
 - build a single package by running its `deps/build.jl` script

================================================================================
staticfloat commented 11 years ago

What is the output of Homebrew.update()?

On Mon, Oct 28, 2013 at 8:41 PM, Viral B. Shah notifications@github.comwrote:

I get the following error building gnutls. I am building it for HttpServer. Cc: @staticfloat https://github.com/staticfloat

julia> Pkg.build("gnutls") INFO: Building gnutls ==> Installing gnutls dependency: nettle Error: nettle dependency staticfloat/juliadeps/gmp was built with the following C++ standard library: libstdc++ (from clang)

This is incompatible with the standard library being used to build nettle: libc++ (from clang)

Please reinstall staticfloat/juliadeps/gmp using a compatible compiler. hint: Check https://github.com/mxcl/homebrew/wiki/C++-Standard-Libraries ===============================[ ERROR: gnutls ]================================

failed process: Process(/Users/viral/.julia/Homebrew/deps/usr/bin/brew install staticfloat/juliadeps/gnutls, ProcessExited(1)) [1] at /Users/viral/.julia/gnutls/deps/build.jl:49

================================[ BUILD ERRORS ]================================

WARNING: gnutls had build errors.

  • packages with build errors remain installed in /Users/viral/.julia
  • build a package and all its dependencies with Pkg.build(pkg)
  • build a single package by running its deps/build.jl script

— Reply to this email directly or view it on GitHubhttps://github.com/loladiro/GnuTLS.jl/issues/11 .

ViralBShah commented 11 years ago

I am going to wait until our talk as SPLASH is done before perturbing my carefully set up environment. :-)

Although we should fix this, we really should have HttpServer just use Nettle.

Keno commented 11 years ago

HttpServer needs SSL.

ViralBShah commented 11 years ago

For now - I commented out all the gnutls stuff. That worked.

sbromberger commented 9 years ago

ok if I close this? (trying to tidy up JuliaWeb issues).

sbromberger commented 9 years ago

@ViralBShah I'll close this out for now - let me know if you'd like it reopened. Thanks.

ViralBShah commented 9 years ago

That's ok.