asterite has joined #crystal-lang
travis-ci has joined #crystal-lang
travis-ci has left #crystal-lang [#crystal-lang]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/manastech/crystal/builds/31098191
<travis-ci> [travis-ci] manastech/crystal#1298 (master - 43a05de : Ary Borenszweig): The build passed.
e_dub has joined #crystal-lang
bcardiff has joined #crystal-lang
waj has joined #crystal-lang
travis-ci has joined #crystal-lang
travis-ci has left #crystal-lang [#crystal-lang]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/manastech/crystal/builds/31101762
<travis-ci> [travis-ci] manastech/crystal#1299 (master - d8b3853 : Ary Borenszweig): The build passed.
waj has joined #crystal-lang
bcardiff has joined #crystal-lang
waj has joined #crystal-lang
bcardiff has joined #crystal-lang
bcardiff has left #crystal-lang [#crystal-lang]
travis-ci has joined #crystal-lang
<travis-ci> [travis-ci] manastech/crystal#1300 (master - 8dca077 : Ary Borenszweig): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/manastech/crystal/builds/31103653
travis-ci has left #crystal-lang [#crystal-lang]
e_dub has joined #crystal-lang
travis-ci has joined #crystal-lang
travis-ci has left #crystal-lang [#crystal-lang]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/manastech/crystal/builds/31106001
<travis-ci> [travis-ci] manastech/crystal#1301 (master - 4995fb0 : Juan Wajnerman): The build passed.
travis-ci has joined #crystal-lang
travis-ci has left #crystal-lang [#crystal-lang]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/manastech/crystal/builds/31106146
<travis-ci> [travis-ci] manastech/crystal#1302 (master - 7ec5761 : Juan Wajnerman): The build passed.
e_dub has joined #crystal-lang
bcardiff has joined #crystal-lang
farleyknight has joined #crystal-lang
filer has joined #crystal-lang
filer has joined #crystal-lang
xeronic_ has joined #crystal-lang
<xeronic_> Hi! Is there any way to include C libraries in crystal? Like, if I would like to use Gtk.
<jhass> Yes, you can write bindings quite easily, here's a basic libxml2 binding for example: https://github.com/manastech/crystal/blob/master/src/xml/libxml2.cr
<xeronic_> Ok. I saw one example 'require "curses"' and then they used curses. It wont work with Gtk? require 'gtk' and then it works?
<xeronic_> Ok, to advanced for me at this stage. Just wait until someone comes along and write the Gtk bindings :)
bcardiff has joined #crystal-lang
waj has joined #crystal-lang
xeronic_ has joined #crystal-lang
CraigBuchek has joined #crystal-lang
waj has joined #crystal-lang
bcardiff has joined #crystal-lang
e_dub has joined #crystal-lang
e_dub has joined #crystal-lang
xeronic has joined #crystal-lang
e_dub has joined #crystal-lang
bcardiff has left #crystal-lang [#crystal-lang]
e_dub has joined #crystal-lang
waj has joined #crystal-lang
e_dub has joined #crystal-lang
waj has joined #crystal-lang
e_dub has joined #crystal-lang
waj has joined #crystal-lang
<farleyknight> waj, I'm trying to compile the compiler from source but I'm getting a bunch of errors related to LLVM. Am I missing some important library? https://gist.github.com/farleyknight/198ebdfad638a0c74dee
<waj> is that linux?
<farleyknight> Yea, I'm on Ubuntu 14.04
<farleyknight> Part of me thinks it might be a good idea to try and compile some other LLVM language and see if I get any issues..
<waj> mm… probably we're doing something wrong
<waj> I'm starting a trusty vm
<farleyknight> Maybe try an older version?
<waj> it should work fine in precise
<waj> the release script runs on precise and it's been working fine
<waj> are you even able to run the binary crystal that we distribute in trusty?
<waj> it's missing libunwind.so.7 but now libunwind8 is distributed
<farleyknight> I've been able to run the binaries I get from ./bin/crystal --setup
<CraigBuchek> @farleyknight did you remember to try bin/crystal —setup before make?
<farleyknight> Are those built on trusty?
<farleyknight> CraigBuchek, Yea, I did add that step
<CraigBuchek> Not remebering to do that gets me almost every time I update master.
<farleyknight> waj, I do believe I had to backport an install of libunwind.so.7 after I upgraded to 14.04
<farleyknight> So maybe that's part of it? Not sure...
<waj> yup, trusty-backports doesn't have it. How did you install it?
<waj> from source?
<farleyknight> I believe so
<farleyknight> Err.. wait, I may have dpkg -i some precise package
<farleyknight> Let me check
<waj> yup, that works
<waj> mm.. I am able to build the compiler just fine
<waj> did you get the latest sources and did a bin/crystal —update ?
<farleyknight> Didn't know about --update! Running it now
<farleyknight> Eh.. no such luck. I may try getting my laptop up and running 12.04 and work with that until I can fix this issue. But definitely thanks for the help!
<farleyknight> If I manage to figure out what it was, I'll try to report back with that.
<waj> ok, that's really strange
<waj> I did a clean checkout and run bin/crystal —setup
<waj> do you have libstdc++-4.8-dev ?
<farleyknight> I'll start from a clean checkout, but I do have that package.
<waj> do you have local changes? what version are you on? (git describe)
<waj> if I comment the lib StdCpp at the top of lib_llvm.cr I get the same error as you. Seems like it's not linking with stdc++
<farleyknight> Huh.. Okay, that definitely helps!
<farleyknight> I'll try a reinstall of that package.
<farleyknight> Nah, still not quite doing it. At least I know what the problem is now!
<waj> if you run with —verbose you'll see the executed commands
<farleyknight> It does have -lstdc++ in there
<waj> hm… for some reason yours is using gcc to link
<waj> mine is using clang
<waj> which seems like is more agnostic to the ordering of the linked libraries
<waj> we fixed that recently but it's not in the latest release yet
<waj> oh! I think I know… do you have any llvm package installed?
<farleyknight> I just installed everything here (stable branch): http://llvm.org/apt/ and I got this: https://gist.github.com/farleyknight/99c41ea770dd28875275/edit
<waj> yup, but I meant exactly the opposite. Try removing any llvm package
<farleyknight> Oh, okay
<farleyknight> So I got a ./crystal binary that says "Couldn't determine llvm-config binary"
<waj> yup… if you compile with "make" it will place the binary in .build/crystal
<waj> then bin/crystall will run that version if exists
<waj> and bin/crystal sets the path so llvm binaries are available from deps/llvm
<waj> all that should improve soon… I promise ;)
<farleyknight> Sure, no prob! I'm glad to be a part of such an awesome and growing community!
<farleyknight> Definitely have to thank you for your help
<waj> you're welcome!
<waj> I'm working on debian scripts so we should get deb packages soon
<waj> I'd like to have two ppa, one for releases and one for daily builds
e_dub has joined #crystal-lang
travis-ci has joined #crystal-lang
travis-ci has left #crystal-lang [#crystal-lang]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/manastech/crystal/builds/31186525
<travis-ci> [travis-ci] manastech/crystal#1303 (master - 58a3453 : Ary Borenszweig): The build passed.
travis-ci has joined #crystal-lang
travis-ci has left #crystal-lang [#crystal-lang]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/manastech/crystal/builds/31189907
<travis-ci> [travis-ci] manastech/crystal#1304 (master - 48cc0d5 : Juan Wajnerman): The build passed.
e_dub has joined #crystal-lang
bcardiff has joined #crystal-lang