Skip to content

Instantly share code, notes, and snippets.

@rened
Created September 20, 2013 21:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rened/6643864 to your computer and use it in GitHub Desktop.
Save rened/6643864 to your computer and use it in GitHub Desktop.
GnuTLS install working on OSX when DYLD path is set
ene@lemonlab:julia $ rm -rf ~/.julia
rene@lemonlab:julia $ DYLD_LIBRARY_PATH="/Users/rene/local/julia/usr/lib/" julia
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "help()" to list help topics
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.2.0-prerelease+3798
_/ |\__'_|_|_|\__'_| | Commit b581ea1* 2013-09-20 18:16:46 UTC
|__/ | x86_64-apple-darwin12.5.0
julia> Pkg.add("Homebrew")
INFO: Initializing package repository /Users/rene/.julia.
INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl
INFO: Cloning cache of Homebrew from git://github.com/staticfloat/Homebrew.jl.git
INFO: Cloning cache of BinDeps from git://github.com/loladiro/BinDeps.jl.git
INFO: Cloning cache of URIParser from git://github.com/loladiro/URIParser.jl.git
INFO: Installing Homebrew v0.0.0
INFO: Installing BinDeps v0.2.6
INFO: Installing URIParser v0.0.0
INFO: Running build script for package Homebrew
INFO: Cloning brew from https://github.com/staticfloat/homebrew.git
Cloning into '/Users/rene/.julia/Homebrew/deps/usr'...
remote: Finding bitmap roots...
remote: Counting objects: 125951, done.
remote: Compressing objects: 100% (38290/38290), done.
remote: Total 125951 (delta 86645), reused 125951 (delta 86645)
Receiving objects: 100% (125951/125951), 30.42 MiB | 763 KiB/s, done.
Resolving deltas: 100% (86645/86645), done.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 259k 100 259k 0 0 45446 0 0:00:05 0:00:05 --:--:-- 63184
Cloning into '/Users/rene/.julia/Homebrew/deps/usr/Library/Taps/staticfloat-juliadeps'...
remote: Counting objects: 109, done.
remote: Compressing objects: 100% (56/56), done.
remote: Total 109 (delta 58), reused 104 (delta 53)
Receiving objects: 100% (109/109), 27.39 KiB, done.
Resolving deltas: 100% (58/58), done.
Tapped 21 formula
From https://github.com/staticfloat/homebrew
* branch kegpkg -> FETCH_HEAD
Already up-to-date.
Already up-to-date.
INFO: REQUIRE updated.
julia> Pkg.add("HttpServer")
INFO: Cloning cache of Calendar from git://github.com/nolta/Calendar.jl.git
INFO: Cloning cache of FactCheck from git://github.com/zachallaun/FactCheck.jl.git
INFO: Cloning cache of HttpServer from git://github.com/hackerschool/HttpServer.jl.git
INFO: Cloning cache of GnuTLS from git://github.com/loladiro/GnuTLS.jl.git
INFO: Cloning cache of HttpParser from git://github.com/hackerschool/HttpParser.jl.git
INFO: Cloning cache of HttpCommon from git://github.com/hackerschool/HttpCommon.jl.git
INFO: Cloning cache of ICU from git://github.com/nolta/ICU.jl.git
INFO: Cloning cache of UTF16 from git://github.com/nolta/UTF16.jl.git
INFO: Installing Calendar v0.4.0
INFO: Installing FactCheck v0.1.1
INFO: Installing HttpServer v0.0.4
INFO: Installing GnuTLS v0.0.0
INFO: Installing HttpParser v0.0.5
INFO: Installing HttpCommon v0.0.3
INFO: Installing ICU v0.0.0
INFO: Installing UTF16 v0.2.0
INFO: Running build script for package GnuTLS
==> Installing gnutls dependency: libtasn1
==> Downloading http://archive.org/download/julialang/bottles/libtasn1-3.3.mountain_lion.bottle.1.tar.gz
curl: (22) The requested URL returned error: 404
Warning: Bottle installation failed: building from source.
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
==> Downloading http://ftpmirror.gnu.org/libtasn1/libtasn1-3.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/libtasn1-3.3.tar.gz
==> ./configure --prefix=/Users/rene/.julia/Homebrew/deps/usr/Cellar/libtasn1/3.3
==> make install
🍺 /Users/rene/.julia/Homebrew/deps/usr/Cellar/libtasn1/3.3: 51 files, 632K
==> Installing gnutls dependency: nettle
==> Downloading http://archive.org/download/julialang/bottles/nettle-2.6.mountain_lion.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/nettle-2.6.mountain_lion.bottle.tar.gz
==> Pouring nettle-2.6.mountain_lion.bottle.tar.gz
🍺 /Users/rene/.julia/Homebrew/deps/usr/Cellar/nettle/2.6: 61 files, 1.2M
==> Installing gnutls
==> Downloading http://archive.org/download/julialang/bottles/gnutls-3.1.10.mountain_lion.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/gnutls-3.1.10.mountain_lion.bottle.tar.gz
==> Pouring gnutls-3.1.10.mountain_lion.bottle.tar.gz
🍺 /Users/rene/.julia/Homebrew/deps/usr/Cellar/gnutls/3.1.10: 872 files, 6.7M
INFO: Running build script for package HttpParser
INFO: Changing Directory to /Users/rene/.julia/HttpParser
Submodule 'deps/src/http-parser' (https://github.com/joyent/http-parser.git) registered for path 'deps/src/http-parser'
Cloning into 'deps/src/http-parser'...
remote: Counting objects: 1157, done.
remote: Compressing objects: 100% (634/634), done.
remote: Total 1157 (delta 705), reused 945 (delta 517)
Receiving objects: 100% (1157/1157), 377.89 KiB | 199 KiB/s, done.
Resolving deltas: 100% (705/705), done.
Submodule path 'deps/src/http-parser': checked out '80819384450b5511a3d1c424dd92a5843c891364'
INFO: Changing Directory to /Users/rene/.julia/HttpParser
INFO: Changing Directory to /Users/rene/.julia/HttpParser/deps/src
INFO: Attempting to Create directory /Users/rene/.julia/HttpParser/deps/usr/lib
INFO: Changing Directory to /Users/rene/.julia/HttpParser/deps/src
cc -I. -DHTTP_PARSER_STRICT=0 -Wall -Wextra -Werror -O3 -fPIC -c http_parser.c -o libhttp_parser.o
cc -shared -o libhttp_parser.so libhttp_parser.o
INFO: Changing Directory to /Users/rene/.julia/HttpParser/deps/src
INFO: REQUIRE updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment