-
Notifications
You must be signed in to change notification settings - Fork 0
building pas
This being Linux, building from source seems unavoidable. Sigh.
- Get git.
apt-get install git
- Close the repository.
git clone https://github.com/pkivolowitz/pas.git
- Get the mysql c++ connector.
apt-get install libmysqlcppconn-dev
- Get Google Protocol Buffers (proto3) located here:
https://github.com/google/protobuf/releases/tag/v3.0.0
Ubuntu comes with protoc2. You need protoc3.
One way to resolve this is by removing protoc2.
You'll need to download a cpp and an ARCH archive for proto3. When you get the missing this and that, recursively copy the src includes over to where you put the includes for proto.
This entirely sucks and is so typical of Linux.
- Get go.
apt-get install golang-go
- Set $GOPATH, typically ~/go.
cd
mkdir go
export GOPATH=~\go
- Get go helpers
go get -u github.com/golang/protobuf/protoc-gen-go
- Get libpulse-dev
apt-get install libpulse-dev
- Get libavcodev
apt-get install libavcodec-dev
- Get libavformat
apt-get install libavformat-dev
-
Seriously reconsider why anyone would develop on Linux.
-
Just try to find the right version of libprotodev. I dare you.
-
Give up on installing proto3 manually - just compile it from source.
Follow directions here:
https://github.com/google/protobuf/blob/master/src/README.md
- Have dinner. It takes forever to build proto3 from source.
Wait. You can't leave your terminal. Have dinner at your terminal.
- Go out for drinks. It takes forever to build proto3 from source.
Wait. You can't leave your terminal. Have drinks at your terminal.
- Reconsider why anyone develops on Linux.
pas is Copyright © 2017 by Perry Kivolowitz - see license