SeanTAllen changed the topic of #wallaroo to: Welcome! Please check out our Code of Conduct -> https://github.com/WallarooLabs/wallaroo/blob/master/CODE_OF_CONDUCT.md | Public IRC Logs are available at -> https://irclog.whitequark.org/wallaroo
aturley has quit [Quit: aturley]
vaninwagen has joined #wallaroo
dch has quit []
dch has joined #wallaroo
vaninwagen has quit [Ping timeout: 240 seconds]
strmpnk has quit []
strmpnk has joined #wallaroo
jtfmumm has quit []
jtfmumm has joined #wallaroo
t0m has joined #wallaroo
<t0m> morning yall, i'm trying to build machida but am running into an error `/bin/sh: 1: stable: not found
<t0m> ../machida/Makefile:74: recipe for target '/home/wallaroo/wallaroo-tutorial/wallaroo/machida/build/machida' failed
<t0m> make: *** [/home/wallaroo/wallaroo-tutorial/wallaroo/machida/build/machida] Error 127`
<SeanTAllen> hello t0m
<SeanTAllen> t0m: what directions are you following? did you install the "pony-stable" tool?
<SeanTAllen> Assuming you are on Linux and installing from source, you would want to do https://docs.wallaroolabs.com/book/getting-started/linux-setup.html#installing-pony-stable
<SeanTAllen> you appear to have skipped that "installing pony-stable" step
<SeanTAllen> what output do you get when you type `which stable`?
<t0m> /usr/bin/stable
<SeanTAllen> but it says that stable isn't found?
<t0m> i don't think i skipped the step, it's in my history
<t0m> re-making
<SeanTAllen> that screenshot is still uploading...
<t0m> it just finished
<t0m> sorry
<SeanTAllen> which what am i looking at?
<t0m> one of the files from machida/.deps/.../ it came up in the error output as a token error
<SeanTAllen> are you on master or did you checkout a specific tagged version of Wallaroo?
<SeanTAllen> did you previously build wallaroo or machida in this repository before?
<t0m> the intrsuctions have you checkout 0.4.1
<SeanTAllen> what is the output of `git log -n 1`?
<t0m> commit 252b92580c6cd0ea60eb7ff3f9f555c328db2c34 (HEAD, tag: 0.4.1)
<t0m> Author: JONBRWN <jonathanbrown.a@gmail.com>
<t0m> Date: Wed Mar 14 21:14:27 2018 -0400
<t0m> Version for 0.4.1 release
<SeanTAllen> did you previously build wallaroo or machida in this repository before?
<t0m> i did, but i rm -rf'd the directory and started over. should i do that again?
<SeanTAllen> the directory being ".deps" in machida?
<SeanTAllen> `make clean` in the `machida` directory should restore you to a default state
<SeanTAllen> and you can then do
<SeanTAllen> `make`
<t0m> no, in machida/
<SeanTAllen> sorry, i dont understand what "in machida/" means in that context
<t0m> the directory i ran make in, was machida no .deps. sorry
<SeanTAllen> sorry, i dont understand
<SeanTAllen> in machida
<SeanTAllen> do
<SeanTAllen> make clean
<SeanTAllen> then
<SeanTAllen> make
<SeanTAllen> you should be good then unless there's something you did that im not aware of
<t0m> besides running this on my local and a cloud linux machine, i don't think i did anything out of the documentation
<SeanTAllen> it would appear at some point you ran `make` for machida on `master` before checking out `0.4.1` and when you ran it on `0.4.1` the dependencies had a conflict but that is easy enough to fix
<SeanTAllen> `make clean`
<SeanTAllen> the
<SeanTAllen> `make`
<SeanTAllen> and you should be good
<t0m> sorry, one more. environment variable $CC undefined, using gcc as linker
<SeanTAllen> was it a warning or an error?
<SeanTAllen> ive never seen that as an error, only as a warning
<SeanTAllen> in the `machida` directory, can you do `ls build/` and put the output here
<SeanTAllen> if that was a warning (as i expect) then you should see a `machida` executable in `machida/build` ls output
<t0m> no such file or directory
<t0m> the real error is: unable to link: gcc -o /home/wallaroo/wallaroo-tutorial/wallaroo/machida/build/machida -O3 -march=x86-64 -mcx16 -latomic -fuse-ld=gold /home/wallaroo/wallaroo-tutorial/wallaroo/machida/build/machida.o -L"/home/wallaroo/wallaroo-tutorial/wallaroo/machida/build" -Wl,-rpath,"/home/wallaroo/wallaroo-tutorial/wallaroo/machida/build" -L"../lib/" -Wl,-rpath,"../lib/"
<t0m> -L"/home/wallaroo/wallaroo-tutorial/wallaroo/machida/.deps/WallarooLabs/pony-kafka" -Wl,-rpath,"/home/wallaroo/wallaroo-tutorial/wallaroo/machida/.deps/WallarooLabs/pony-kafka" -L"/usr/lib/pony/0.21.0-4301.acd811b/bin/" -Wl,-rpath,"/usr/lib/pony/0.21.0-4301.acd811b/bin/" -L"/usr/lib/pony/0.21.0-4301.acd811b/bin/../lib" -Wl,-rpath,"/usr/lib/pony/0.21.0-4301.acd811b/bin/../lib"
<t0m> -L"/usr/lib/pony/0.21.0-4301.acd811b/bin/../packages" -Wl,-rpath,"/usr/lib/pony/0.21.0-4301.acd811b/bin/../packages" -L"/usr/local/lib" -Wl,-rpath,"/usr/local/lib" -Wl,--start-group -l"rt" -l"ssl" -l"crypto" -l"python2.7" -l"python-wallaroo" -l"z" -l"snappy" -l"lz4" -Wl,--end-grou
<SeanTAllen> which version of linux are you using?
<SeanTAllen> also can you put the output of `gcc --version`?
<t0m> 17.1 artful
<t0m> gcc (Ubuntu 7.2.0-8ubuntu3.2) 7.2.0
<SeanTAllen> can you run the gcc -o command tht had an error and copy and paste that error in here?
<t0m> gcc: error: /home/wallaroo/wallaroo-tutorial/wallaroo/machida/build/machida.o: No such file or directory
<SeanTAllen> you can `make clean` then `make` in the machida directory, correct?
<t0m> yeah it outputs done cleaning
<SeanTAllen> sorry, i didnt understand that
<SeanTAllen> you ran `make clean`, then `make` then got that error?
<t0m> yes
<SeanTAllen> there were no errors before it?
<t0m> i was missing snappy
<SeanTAllen> ok so
<SeanTAllen> you'll need to install snappy
<SeanTAllen> and then do
<SeanTAllen> make clean
<SeanTAllen> then
<SeanTAllen> make
<SeanTAllen> installing snappy is part of the instructions
<SeanTAllen> did you skip that because you are on neither xenial nor trusty?
<SeanTAllen> `sudo apt-get install -y libsnappy-dev liblz4-dev`
SeanTAllen has quit []
SeanTAllen has joined #wallaroo
<t0m> yes, now i'm getting a few erorrs like: /usr/bin/ld.gold: error: /home/wallaroo/wallaroo-tutorial/wallaroo/machida/build/machida.o: requires
<t0m> dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
<SeanTAllen> @strmpnk when you built on artful did you get that error?
<strmpnk> Ah. Yes. ponyc doesn't default to pic unless you build it that way. you can add PONYFLAGS="--pic" to make. You may need to make clean.
<SeanTAllen> PIC will be the death of me, i wonder why artful gets that issue but not trusty or xenial
<strmpnk> Someday we'll have to teach pony to autodetect systems that require PIC.
<SeanTAllen> so t0m
<SeanTAllen> make clean
<SeanTAllen> make PONYFLAGS="--pic"
<SeanTAllen> sorry
<SeanTAllen> make clean
<SeanTAllen> make PONYFLAGS="--pic"
<SeanTAllen> oops had the right the first time
puzza007 has quit [*.net *.split]
tourdownunder has quit [*.net *.split]
<SeanTAllen> jonbrwn: will be updating the instructions accordingly to include artful
tourdownunder has joined #wallaroo
puzza007 has joined #wallaroo
<t0m> sorry i'm still running into the same error after running make clean and make PONYFLAGS="--pic"
<SeanTAllen> one moment
<SeanTAllen> can you try `make PONYCFLAGS="--pic"` ?
<strmpnk> Sorry. My bad. It's PONYCFLAGS (I forget the C in there).
<t0m> no worries, i'm kidnapping the morning from yall
<SeanTAllen> all good t0m
<SeanTAllen> ?
<t0m> sorry had to step away quick, it's writing ./machida, but cannot find -lpython-wallaroo, i was digging into it but got sandwich distracted
<SeanTAllen> what's in machida/bin/ ?
<SeanTAllen> you should have some errors prior to that error
<t0m> libpython-wallaroo.a and python-wallaroo.o
<SeanTAllen> so python-wallaroo exists
<jonbrwn> t0m: I'm going to spin up a vagrant box and test things out with artful so you don't keep hitting a wall
<jonbrwn> I'll let you know when I have something useful for you
<t0m> i'm doing everything on an azure machine, i can give you the credentials and you can see where i'm going wrong if you want
<t0m> the docker container ran, i can always switch gears into it
<jonbrwn> would probably be easier to start from scratch on my end
<jonbrwn> but if it ends up that you did the same things we can debug on yours
cmeiklejohn has quit []
cmeiklejohn has joined #wallaroo
<t0m> i followed the ubuntu setup and only missed installing snappy. it's your call
nisanharamati has joined #wallaroo
<jonbrwn> t0m: assuming you're running `make` from the machida directory, can you run this: `make PONYCFLAGS="--pic --output=./build --path=./build"`
<t0m> running
<t0m> that ran with no issues
<nisanharamati> re ^ I still get the `fPIC` issue consistently (also on Ubuntu Artful)... I've resorted to symlinking my ponyc bin
<t0m> would make build-giles-all build-utils-cluster_shutdown-all PONYCFLAGS="--pic --output=./build --path=./build" be the next commands to run?
<strmpnk> You can add the --pic call to rules.mk but it's nice to avoid that. Locally I use a compiled version of pony which defaults to pic so no flags are needed.
<strmpnk> (When compiling pony you do something like `make default_pic=true`)
<strmpnk> I keep LTO off for now but that's not hard to get working unless you have many versions of LLVM installed at once.
<t0m> i've got it running on my azure machine. now i'm just having an error decoding from twitter. Thank you all for the help!
<jonbrwn> t0m: you can run the remaining commmmands with only the —pic option
<jonbrwn> good to hear!
<t0m> what's a good way to start looking into the decoding data receieved from twitter error?
<jonbrwn> t0m: how are you passing that data to wallaroo?
<jonbrwn> also, what's the specific error you're getting? and is your code hosted online anywhere for us to have a look?
vaninwagen has joined #wallaroo
<t0m> the error i'm getting i think is coming from send_tweets_to_wallaroo
<SeanTAllen> thats using an older version of Wallaroo
<SeanTAllen> @jonbrwn we need to update that post/README to indicate the version of Wallaroo it works with
<SeanTAllen> t0m that is using the old Wallaroo API
<t0m> thank you
<SeanTAllen> you're welcome
<SeanTAllen> jonbrwn: can you create an update on the examples repo to change it from pointing at the blog for info about Wallaroo version to being in the README and update the blog post to note the version?
<jonbrwn> got it
vaninwagen has quit [Ping timeout: 240 seconds]
t0m has quit [Ping timeout: 260 seconds]
nisanharamati has quit []