Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
tg
Commits
9d9f89a1
Commit
9d9f89a1
authored
May 23, 2015
by
Vincent Castellano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding python to README.md
parent
16a12a73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
README.md
README.md
+13
-7
No files found.
README.md
View file @
9d9f89a1
...
...
@@ -24,30 +24,34 @@ Clone GitHub Repository
git clone --recursive https://github.com/vysheng/tg.git && cd tg
### Python Suppoer
Python support is currently limited to Python 2.7 or Python 3.1+. Other versions may work but are not tested.
#### Linux and BSDs
Install libs: readline, openssl and (if you want to use config) libconfig, liblua and libjansson.
If you do not want to use them pass options --disable-libconfig, --disable-liblua and --disable-json respectively.
Install libs: readline, openssl and (if you want to use config) libconfig, liblua
, python
and libjansson.
If you do not want to use them pass options --disable-libconfig, --disable-liblua
, --disable-python
and --disable-json respectively.
On Ubuntu/Debian use:
sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev
make
sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev
libpython-dev make
On gentoo:
sudo emerge -av sys-libs/readline dev-libs/libconfig dev-libs/openssl dev-lang/lua dev-libs/libevent dev-libs/jansson
sudo emerge -av sys-libs/readline dev-libs/libconfig dev-libs/openssl dev-lang/lua dev-libs/libevent dev-libs/jansson
dev-lang/python
On Fedora:
sudo yum install lua-devel openssl-devel libconfig-devel readline-devel libevent-devel
sudo yum install lua-devel openssl-devel libconfig-devel readline-devel libevent-devel
python-devel
On FreeBSD:
pkg install libconfig libexecinfo lua52
pkg install libconfig libexecinfo lua52
python
On OpenBSD:
pkg_add libconfig libexecinfo lua
pkg_add libconfig libexecinfo lua
python
Then,
...
...
@@ -69,6 +73,7 @@ If using [Homebrew](http://brew.sh/):
brew install libconfig
brew install readline
brew install lua
brew install python
brew install libevent
export CFLAGS="-I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include"
export LDFLAGS="-L/usr/local/lib -L/usr/local/Cellar/readline/6.3.8/lib"
...
...
@@ -81,6 +86,7 @@ If using [MacPorts](https://www.macports.org):
sudo port install libconfig-hr
sudo port install readline
sudo port install lua51
sudo port install python34
sudo port install libevent
export CFLAGS="-I/usr/local/include -I/opt/local/include -I/opt/local/include/lua-5.1"
export LDFLAGS="-L/usr/local/lib -L/opt/local/lib -L/opt/local/lib/lua-5.1"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment