These are chat archives for fanout/pushpin

27th
Aug 2015
Joakim
@Sefriol
Aug 27 2015 12:42
Hey, what's the best way of installing pushpin on Linux / Mac OSX. On linux the package itself is not found with apt-get.
On OSX I had some problems with mongrel2 no installing, but that's another problem entirely.
Justin Karneges
@jkarneges
Aug 27 2015 18:31
Hi @Sefriol, what Linux distribution? If pushpin isn't available in yours, then most of the dependencies should be, so compiling from source isn't too hard
on OS X were you using brew?
Joakim
@Sefriol
Aug 27 2015 22:23
Yeah, I was using brew on OSX. 1. Mongrel2 has changed it's github url so automatic installation doesn't work anymore. 2. Installing Mongrel2 with from the source gave me an error (Something like "These bytes are not supported by x86_64 architecture").
But that doesn't matter much, I can develop with Ubuntu as well. Unfortunately apt-get doesn't find anything.
Joakim
@Sefriol
Aug 27 2015 22:29
Because of that I just wanted to ask for help since I don't want to waste my work hours on a battle against errors.
Justin Karneges
@jkarneges
Aug 27 2015 22:29
oh, i didn't realize the mongrel2 brew package built against github. thanks for letting us know. we'll get it fixed
what version of ubuntu?
Joakim
@Sefriol
Aug 27 2015 22:31
It should be the latest Ubuntu server. Not 100% sure.
Justin Karneges
@jkarneges
Aug 27 2015 22:31
lsb_release -a
Joakim
@Sefriol
Aug 27 2015 22:32
I'll check that out in a second.
I need to make a VPN connection to my work. At Home atm ;)
Joakim
@Sefriol
Aug 27 2015 22:38
And ofc our VPN-server doesn't respond.
Just my damn luck.
Justin Karneges
@jkarneges
Aug 27 2015 22:52
let me know whenever you're able to reach the server again
if you are using the latest ubuntu, then one possibility is you need to enable the universe apt repo. i thought that it would always be enabled by default but maybe it isn't
Joakim
@Sefriol
Aug 27 2015 23:00
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
Yeah, it might be the case
Joakim
@Sefriol
Aug 27 2015 23:07
Hmm, but still nothing.
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu$(lsb_release -sc) universe" --> sudo apt-get install pushpin
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pushpin
"sudo apt-get update" used as well.
Justin Karneges
@jkarneges
Aug 27 2015 23:11
ah yeah 14.04 doesn't have it. but, it does have most of the dependencies
that apt-get line will need to be slightly tweaked
sudo apt-get install pkg-config libqt4-dev libqca2-dev libqca2-plugin-ossl libqjson-dev libzmq3-dev python-zmq python-setproctitle python-jinja2
also, apt-get install python-pip python-dev
with pip, you'll be able to get the tnetstring package: sudo pip install tnetstring
and sortedcontainers: sudo pip install sortedcontainers
let me know when you're this far :)
Joakim
@Sefriol
Aug 27 2015 23:16
Yeah, installing 220mb of stuff takes a sec.
I think my pip is preset to python 3.4, is that a problem=
Justin Karneges
@jkarneges
Aug 27 2015 23:19
ah yes. be sure to install the v2 versions. maybe you have a pip-2.7 executable or such?
Joakim
@Sefriol
Aug 27 2015 23:19
Most likely
Nvm, It was 2.7. Maybe it was my Mac.
Okey done.
Justin Karneges
@jkarneges
Aug 27 2015 23:22
apt-get install libsqlite-dev sqlite3
err libsqlite3-dev
download the latest mongrel2 here https://github.com/mongrel2/mongrel2/releases
v1.9.3
unpack, cd mongrel2-v1.9.3, make clean all, sudo make install
Joakim
@Sefriol
Aug 27 2015 23:30
Done.
Justin Karneges
@jkarneges
Aug 27 2015 23:30
apt-get install libcurl4-openssl-dev libqjson-dev
unpack, cd zurl-1.4.9, ./configure && make, sudo make install
that should be everything
both mongrel2 and zurl are in ubuntu 14.10, so going forward this process will be easier
Joakim
@Sefriol
Aug 27 2015 23:38
Nice to hear.
So now I can just build the github version? :)
Justin Karneges
@jkarneges
Aug 27 2015 23:41
yup!
Joakim
@Sefriol
Aug 27 2015 23:41
Very nice!
Maybe I should go to sleep then. I need to wake up in 6 hours, so I can get back to work.
Thank you, for your time.
Justin Karneges
@jkarneges
Aug 27 2015 23:42
sure thing. :) good night
Joakim
@Sefriol
Aug 27 2015 23:42
:)