ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
Sankalp has quit [Ping timeout: 248 seconds]
Sankalp has joined #crystal-lang
wowi42 has quit [Read error: Software caused connection abort]
wowi42 has joined #crystal-lang
ur5us has quit [Ping timeout: 255 seconds]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 255 seconds]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 255 seconds]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 246 seconds]
ur5us has joined #crystal-lang
jmdaemon has quit [Ping timeout: 276 seconds]
ur5us has quit [Ping timeout: 246 seconds]
ua_ has quit [Ping timeout: 240 seconds]
ua_ has joined #crystal-lang
taupiqueur has joined #crystal-lang
Stephie- has joined #crystal-lang
Stephie has quit [Quit: Fuck this shit, I'm out!]
olbat has quit [*.net *.split]
olbat has joined #crystal-lang
taupiqueur has quit [Remote host closed the connection]
taupiqueur has joined #crystal-lang
yxhuvud has quit [Remote host closed the connection]
yxhuvud has joined #crystal-lang
taupiqueur has quit [Remote host closed the connection]
Sankalp has quit [Ping timeout: 268 seconds]
Sankalp has joined #crystal-lang
<mikko> am i doing something wrong? i wanted to compile crystal with the interpreter https://bpa.st/D65A
<mikko> it is possible i'm missing some dependencies because there were no instructions for my distro (opensuse tumbleweed), but wouldn't that cause the build to fail?
<FromGitter> <Blacksmoke16> does the normal crystal binary work? e.g. if you did like `./bin/crystal eval 'pp "foo"'`?
<mikko> nope, that also complains about require "c/dlfcn"
<FromGitter> <Blacksmoke16> whats the output of `./bin/crystal env`
<mikko> could my 1.6.0 crystal (that i've installed from the package manager) be conflicting somehow?
<FromGitter> <Blacksmoke16> shouldnt no
<FromGitter> <Blacksmoke16> does that one work? like if you did `crystal eval 'pp"foo"'`?
<mikko> yup
<FromGitter> <Blacksmoke16> okay, how does `crystal env` compare to `./bin/crysatl env`?
<FromGitter> <Blacksmoke16> oh wait
<FromGitter> <Blacksmoke16> nvm
<mikko> the "Using compiled compiler at .build/crystal" part seems a bit suspicious because the make command didn't make any ./build directory at all
<FromGitter> <Blacksmoke16> `bin/crystal` is a wrapper script that should be setting up the ENV vars then invoking the compiler at `.build/crystal`
<FromGitter> <Blacksmoke16> notice its `.build` not `build`
<FromGitter> <Blacksmoke16> i.e. its hidden
<mikko> ohh
<FromGitter> <Blacksmoke16> also whats it say your default target is when you do `crystal --version`
<mikko> hmm you might be onto something https://bpa.st/F5PQ
<FromGitter> <Blacksmoke16> https://github.com/crystal-lang/crystal/tree/master/src/lib_c makes sense then, there is no `lib_c` bindings for `x86_64-suse-linux`
<FromGitter> <Blacksmoke16> imagine the one via package manager is just using `x86_64-linux-gnu/c`
<FromGitter> <Blacksmoke16> I think https://github.com/crystal-lang/crystal/pull/12594 would solve your problem
<FromGitter> <Blacksmoke16> so as a workaround, could apply the changes from that PR into your local compiler, rebuild, and try again
<mikko> oh so those changes are only relevant for the crystal that is used to do the build and not the one i'm trying to build?
<FromGitter> <Blacksmoke16> yea, you essentially have two versions of crystal, one from your package manager and the one at `./bin/crystal`
<FromGitter> <Blacksmoke16> the one from the package manager is being used to compile the local version
_ht has joined #crystal-lang
taupiqueur has joined #crystal-lang
ur5us has joined #crystal-lang
taupiqueur has quit [Remote host closed the connection]
taupiqueur has joined #crystal-lang
_ht has quit [Remote host closed the connection]
jmdaemon has joined #crystal-lang
taupiqueur has quit [Remote host closed the connection]