Commit c7fad3b4 authored by rmsrepliedtomeonce's avatar rmsrepliedtomeonce

Remove biased shell signs

Not everybody uses bash, you know. Especially the people on *BSD, which you still listed as '$'
parent 90d357fe
...@@ -12,12 +12,12 @@ Documentation for MTproto protocol is available here: http://core.telegram.org/m ...@@ -12,12 +12,12 @@ Documentation for MTproto protocol is available here: http://core.telegram.org/m
Clone GitHub Repository Clone GitHub Repository
$ git clone https://github.com/vysheng/tg.git && cd tg git clone https://github.com/vysheng/tg.git && cd tg
or download and extract zip or download and extract zip
$ wget https://github.com/vysheng/tg/archive/master.zip -O tg-master.zip wget https://github.com/vysheng/tg/archive/master.zip -O tg-master.zip
$ unzip tg-master.zip && cd tg-master unzip tg-master.zip && cd tg-master
#### Linux and BSDs #### Linux and BSDs
...@@ -26,39 +26,39 @@ If you do not want to use them pass options --disable-libconfig and --disable-li ...@@ -26,39 +26,39 @@ If you do not want to use them pass options --disable-libconfig and --disable-li
On ubuntu use: On ubuntu use:
$ sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev
On gentoo: On gentoo:
$ sudo emerge -av sys-libs/readline dev-libs/libconfig dev-libs/openssl dev-lang/lua sudo emerge -av sys-libs/readline dev-libs/libconfig dev-libs/openssl dev-lang/lua
On Fedora: On Fedora:
$ sudo yum install lua-devel openssl-devel libconfig-devel readline-devel sudo yum install lua-devel openssl-devel libconfig-devel readline-devel
On FreeBSD: On FreeBSD:
$ pkg install libconfig libexecinfo lua52 pkg install libconfig libexecinfo lua52
On OpenBSD: On OpenBSD:
$ pkg_add libconfig libexecinfo lua pkg_add libconfig libexecinfo lua
Then, Then,
$ ./configure ./configure
$ make make
#### Mac OS X #### Mac OS X
The client depends on [readline library](http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html) and [libconfig](http://www.hyperrealm.com/libconfig/), which are not included in OS X by default. You have to install these libraries manually, e.g. using [Homebrew](http://brew.sh/). The client depends on [readline library](http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html) and [libconfig](http://www.hyperrealm.com/libconfig/), which are not included in OS X by default. You have to install these libraries manually, e.g. using [Homebrew](http://brew.sh/).
$ brew install libconfig brew install libconfig
$ brew install readline brew install readline
$ brew install lua brew install lua
$ export CFLAGS="-I/usr/local/include -I/usr/local/Cellar/readline/6.2.4/include" export CFLAGS="-I/usr/local/include -I/usr/local/Cellar/readline/6.2.4/include"
$ export LDFLAGS="-L/usr/local/lib -L/usr/local/Cellar/readline/6.2.4/lib" export LDFLAGS="-L/usr/local/lib -L/usr/local/Cellar/readline/6.2.4/lib"
$ ./configure && make ./configure && make
Thanks to [@jfontan](https://github.com/vysheng/tg/issues/3#issuecomment-28293731) for this solution. Thanks to [@jfontan](https://github.com/vysheng/tg/issues/3#issuecomment-28293731) for this solution.
...@@ -71,8 +71,8 @@ Install these ports: ...@@ -71,8 +71,8 @@ Install these ports:
Then build: Then build:
$ env CC=clang CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib LUA=/usr/local/bin/lua52 LUA_INCLUDE=-I/usr/local/include/lua52 LUA_LIB=-llua-5.2 ./configure env CC=clang CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib LUA=/usr/local/bin/lua52 LUA_INCLUDE=-I/usr/local/include/lua52 LUA_LIB=-llua-5.2 ./configure
$ make make
#### Other UNIX #### Other UNIX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment