Difficulty building Nettle

111 views
Skip to first unread message

Joshua Job

unread,
Sep 4, 2014, 1:23:51 AM9/4/14
to julia...@googlegroups.com
Hello all,

I'm attempting to set up the ability to use an IJulia environment with the kernel operating on my university's cluster. I believe this should be possible, except that thus far I have been unable to build Nettle properly. The gist linked below is the message I get. It appears the version of gcc isn't the same as the one I have in my regular shell environment but is instead the default --- I've added a line like "source gccsetup.sh" to my .bashrc which switches from the default (gcc 4.4.7) to gcc 4.8.1. Is there any way to change the gcc used by Pkg during the build process?


Thanks for your help!
-Josh.


Joshua Job

unread,
Sep 4, 2014, 3:50:25 PM9/4/14
to julia...@googlegroups.com
For anyone who may have issues in the future, you can simply add

@checked_lib nettle "/path/to/libnettle.so"

in .julia/v0.3/Nettle/deps/deps.jl regardless of where you built nettle.

Zahirul ALAM

unread,
Sep 4, 2014, 6:10:04 PM9/4/14
to julia...@googlegroups.com
I found no such file. in the specified folder I have build.jl

Joshua Job

unread,
Sep 4, 2014, 8:08:28 PM9/4/14
to julia...@googlegroups.com
You have to create it. Though, my IJulia notebook seems to be failing for a new reason (which doesn't give a reason why, but I don't *think* it's Nettle causing the problem).
Reply all
Reply to author
Forward
0 new messages