Closed ericjang closed 9 years ago
a) That's bad since it seems like a bug in julia. b) Are you on GnuTLS master?
Yes, at first I tried the vanilla Pkg2.add("GnuTLS") install and it didn't work.
I then cd'ed into GnuTLS and checked out the master branch before attempting to run the build script, but the same issue persists
On Sat, Jul 27, 2013 at 8:40 PM, Keno Fischer notifications@github.comwrote:
a) That's bad since it seems like a bug in julia. b) Are you on GnuTLS master?
— Reply to this email directly or view it on GitHubhttps://github.com/loladiro/GnuTLS.jl/issues/2#issuecomment-21676641 .
Ok, I think I know what the bug it. Hold on.
Can you try again with https://github.com/JuliaLang/julia/commit/63cc141d6f681f0e603bc2961e5145cf78c6b140
MESSAGE: Attempting to Create directory /Users/ericjang/.julia/deps/src/gnutls-3.2.1 ERROR: no method *(ASCIIString,Process) in success at process.jl:420 in wait_success at process.jl:557 in wait_success at process.jl:562 in run at process.jl:413 in run at /Users/ericjang/.julia/BinDeps/src/BinDeps.jl:416 in run at /Users/ericjang/.julia/BinDeps/src/BinDeps.jl:433 in satisfy! at /Users/ericjang/.julia/BinDeps/src/dependencies.jl:356 in anonymous at /Users/ericjang/.julia/BinDeps/src/dependencies.jl:370 in include_from_node1 at loading.jl:92 in process_options at client.jl:274 in _start at client.jl:350 at /Users/ericjang/.julia/GnuTLS/deps/build.jl:41
On Sat, Jul 27, 2013 at 9:01 PM, Keno Fischer notifications@github.comwrote:
Can you try again with JuliaLang/julia@63cc141https://github.com/JuliaLang/julia/commit/63cc141d6f681f0e603bc2961e5145cf78c6b140
— Reply to this email directly or view it on GitHubhttps://github.com/loladiro/GnuTLS.jl/issues/2#issuecomment-21676839 .
Alright, I had a typo in the error path which I now fixed. It probably still won't work but at least it'll tell you why not.
MESSAGE: Attempting to Create directory
/Users/ericjang/.julia/deps/downloads
MESSAGE: Directory /Users/ericjang/.julia/deps/downloads already created
MESSAGE: Downloading file
ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/gnutls-3.2.1.tar.xz
MESSAGE: Done downloading file
ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/gnutls-3.2.1.tar.xz
MESSAGE: Attempting to Create directory /Users/ericjang/.julia/deps/src
MESSAGE: Directory /Users/ericjang/.julia/deps/src already created
MESSAGE: Attempting to Create directory /Users/ericjang/.julia/deps
MESSAGE: Directory /Users/ericjang/.julia/deps already created
MESSAGE: Attempting to Create directory
/Users/ericjang/.julia/deps/src/gnutls-3.2.1
ERROR: could not start process unxz -c /Users/ericjang/.julia/deps/downloads/gnutls-3.2.1.tar.xz
: no such file or
directory (ENOENT)
in success at process.jl:420
in wait_success at process.jl:557
in wait_success at process.jl:562
in run at process.jl:413
in run at /Users/ericjang/.julia/BinDeps/src/BinDeps.jl:416
in run at /Users/ericjang/.julia/BinDeps/src/BinDeps.jl:433
in satisfy! at /Users/ericjang/.julia/BinDeps/src/dependencies.jl:356
in anonymous at /Users/ericjang/.julia/BinDeps/src/dependencies.jl:370
in include_from_node1 at loading.jl:92
in process_options at client.jl:274
in _start at client.jl:350
at /Users/ericjang/.julia/GnuTLS/deps/build.jl:41
On Sun, Jul 28, 2013 at 9:46 PM, Keno Fischer notifications@github.comwrote:
Alright, I had a typo in the error path which I now fixed. It probably still won't work but at least it'll tell you why not.
— Reply to this email directly or view it on GitHubhttps://github.com/loladiro/GnuTLS.jl/issues/2#issuecomment-21699295 .
Ok, yeah, you're missing the unxz
program. Do you have Homebrew or MacPorts to install it?
Hi Keno,
I installed unxz from source (http://tukaani.org/xz/) then i installed libnettle http://www.linuxfromscratch.org/blfs/view/svn/postlfs/nettle.html
Here is my new error:
checking for inline... inline checking for ANSI C header files... (cached) yes checking cpuid.h usability... no checking cpuid.h presence... no checking for cpuid.h... no checking for pkg-config... no checking for NETTLE... configure: error:
*\ Libnettle 2.7 was not found.
ERROR: failed process:
Process(/Users/ericjang/.julia/deps/src/gnutls-3.2.1/configure --prefix=/Users/ericjang/.julia/deps/usr
, ProcessExited(1)) [1]
in error at error.jl:22
in pipeline_error at process.jl:430
in run at process.jl:413
in run at /Users/ericjang/.julia/BinDeps/src/BinDeps.jl:433
in run at /Users/ericjang/.julia/BinDeps/src/BinDeps.jl:407
in run at /Users/ericjang/.julia/BinDeps/src/BinDeps.jl:433 (repeats 2
times)
in satisfy! at /Users/ericjang/.julia/BinDeps/src/dependencies.jl:356
in anonymous at /Users/ericjang/.julia/BinDeps/src/dependencies.jl:370
in include_from_node1 at loading.jl:92
in process_options at client.jl:274
in _start at client.jl:350
at /Users/ericjang/.julia/GnuTLS/deps/build.jl:41
https://gist.github.com/morgant/1753095 Might this link help? Unfortunately I don't have the insight to see the fix within the gist.
Thanks
On Sun, Jul 28, 2013 at 11:33 PM, Keno Fischer notifications@github.comwrote:
Ok, yeah, you're missing the unxz program. Do you have Homebrew or MacPorts to install it?
— Reply to this email directly or view it on GitHubhttps://github.com/loladiro/GnuTLS.jl/issues/2#issuecomment-21701752 .
How recent is your BinDeps install?
I had the same problem (with updated BinDeps) on my Mac. I worked around it by installing gnutls through macports. In case it is helpful, here is what was printed:
WARNING: An exception occured while building binary dependencies.
You may have to take manual steps to complete the installation, see the error message below.
To reattempt the installation, run Pkg.fixup("GnuTLS").
in runbuildscript at pkg2.jl:207
ERROR: Provider BuildProcess failed to satisfy dependency gnutls
in satisfy! at /Users/verzani/.julia/BinDeps/src/dependencies.jl:398
in anonymous at /Users/verzani/.julia/BinDeps/src/dependencies.jl:411
in include_from_node1 at loading.jl:92
in anonymous at no file:210
in cd at file.jl:25
in cd at pkg2/dir.jl:28
in runbuildscript at pkg2.jl:207
in _fixup at pkg2.jl:263
in fixup at pkg2.jl:311
in fixup#g158 at no file
in fixup#g157 at no file
in fixup#g156 at no file
in fixup#g155 at no file
at /Users/verzani/.julia/GnuTLS/deps/build.jl:41
During compilation there are several messages of this nature
/usr/bin/ranlib: file: .libs/libcmd-danetool.a(argp-fs-xinl.o) has no symbols
/usr/bin/ranlib: file: .libs/libcmd-danetool.a(argp-xinl.o) has no symbols
Is this still an issue?
Hi Keno,
Sorry I have been away from the computer for awhile. I will try again tonight and let you know.
On Mon, Aug 19, 2013 at 3:00 PM, Keno Fischer notifications@github.comwrote:
Is this still an issue?
— Reply to this email directly or view it on GitHubhttps://github.com/loladiro/GnuTLS.jl/issues/2#issuecomment-22907955 .
more or less same errors as before. I had to install gnutls using homebrew but I get the "nettle-2.6 already installed, it's just not linked" error.
these homebrew issues may be of help:
https://github.com/mxcl/homebrew/pull/21500 https://github.com/mxcl/homebrew/pull/21624
On Mon, Aug 19, 2013 at 4:34 PM, Eric Jang ericjang2004@gmail.com wrote:
Hi Keno,
Sorry I have been away from the computer for awhile. I will try again tonight and let you know.
On Mon, Aug 19, 2013 at 3:00 PM, Keno Fischer notifications@github.comwrote:
Is this still an issue?
— Reply to this email directly or view it on GitHubhttps://github.com/loladiro/GnuTLS.jl/issues/2#issuecomment-22907955 .
I re-built julia from source today and re-installed BinDeps.
I tried doing
cd ~/.julia/GnuTLS && julia deps/build.jl
today and here is the new error I'm getting:
ericjang@system-process ~/.julia/GnuTLS (master)$ julia deps/build.jl ERROR: getprovider not defined in satisfy! at /Users/ericjang/.julia/BinDeps/src/dependencies.jl:425 in satisfy! at no file in anonymous at /Users/ericjang/.julia/BinDeps/src/dependencies.jl:444 in include_from_node1 at loading.jl:96 in process_options at client.jl:274 in _start at client.jl:349 at /Users/ericjang/.julia/GnuTLS/deps/build.jl:41
Any idea what the error might be now?
On Tue, Aug 20, 2013 at 3:01 AM, Eric Jang ericjang2004@gmail.com wrote:
more or less same errors as before. I had to install gnutls using homebrew but I get the "nettle-2.6 already installed, it's just not linked" error.
these homebrew issues may be of help:
https://github.com/mxcl/homebrew/pull/21500 https://github.com/mxcl/homebrew/pull/21624
On Mon, Aug 19, 2013 at 4:34 PM, Eric Jang ericjang2004@gmail.com wrote:
Hi Keno,
Sorry I have been away from the computer for awhile. I will try again tonight and let you know.
On Mon, Aug 19, 2013 at 3:00 PM, Keno Fischer notifications@github.comwrote:
Is this still an issue?
— Reply to this email directly or view it on GitHubhttps://github.com/loladiro/GnuTLS.jl/issues/2#issuecomment-22907955 .
Hi there,
I finally managed to resolve the issue.
First I had to build GMP, Libnettle, GnuTLS using these custom instructions:
https://gist.github.com/morgant/1753095
Instead of using the curl links he provided, I used an updated versions provided in the comments:
ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1/gnutls-3.1.6.tar.xz http://www.lysator.liu.se/~nisse/archive/nettle-2.5.tar.gz
Following that, there were some bugs in http_server that were not patched until a couple days ago (I think the issue was that Base module no longer exports uv_error and there was some monkey business going on with args to uv_error anyway).
morsel and websockets work now!
On Sat, Aug 24, 2013 at 10:09 PM, Eric Jang ericjang2004@gmail.com wrote:
I re-built julia from source today and re-installed BinDeps.
I tried doing
cd ~/.julia/GnuTLS && julia deps/build.jl
today and here is the new error I'm getting:
ericjang@system-process ~/.julia/GnuTLS (master)$ julia deps/build.jl ERROR: getprovider not defined in satisfy! at /Users/ericjang/.julia/BinDeps/src/dependencies.jl:425 in satisfy! at no file in anonymous at /Users/ericjang/.julia/BinDeps/src/dependencies.jl:444 in include_from_node1 at loading.jl:96 in process_options at client.jl:274 in _start at client.jl:349 at /Users/ericjang/.julia/GnuTLS/deps/build.jl:41
Any idea what the error might be now?
On Tue, Aug 20, 2013 at 3:01 AM, Eric Jang ericjang2004@gmail.com wrote:
more or less same errors as before. I had to install gnutls using homebrew but I get the "nettle-2.6 already installed, it's just not linked" error.
these homebrew issues may be of help:
https://github.com/mxcl/homebrew/pull/21500 https://github.com/mxcl/homebrew/pull/21624
On Mon, Aug 19, 2013 at 4:34 PM, Eric Jang ericjang2004@gmail.comwrote:
Hi Keno,
Sorry I have been away from the computer for awhile. I will try again tonight and let you know.
On Mon, Aug 19, 2013 at 3:00 PM, Keno Fischer notifications@github.comwrote:
Is this still an issue?
— Reply to this email directly or view it on GitHubhttps://github.com/loladiro/GnuTLS.jl/issues/2#issuecomment-22907955 .
I'm doing some cleanup and am closing this out since it appears to have been resolved. Please let me know if it's NOT resolved and I'll be happy to reopen. Thanks.
attempted to run: cd ~/.julia/GnuTLS && julia deps/build.jl
got following error:
I am running Mac OSX 10.7 w/ julia version 0.2.0-prerelease, clean BinDeps install