Update zncconfigure

* add comment on zncmodules to the beginning
* add `git pull` in case of laziness
* use `$HOME` instead of full path with pyenv
* remove the commented `make` in case zncmodules is ran after this or something...
This commit is contained in:
Aminda Suomalainen 2015-01-16 11:10:43 +02:00
parent 431f9561ff
commit f00e15fe4a

View File

@ -1,20 +1,22 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -x set -x
# If you are using my zncmodules script, you might want to run it before running this...
## Debian 7 has too old clang so use this with it ## Debian 7 has too old clang so use this with it
#unset CC #unset CC
#unset CXX #unset CXX
cd znc cd znc
git pull
git submodule update --init --recursive git submodule update --init --recursive
./autogen.sh ./autogen.sh
mkdir -p build mkdir -p build
cd build cd build
## for use with pyenv ## for use with pyenv
#export LD_LIBRARY_PATH=/home/users/mkaysi/.pyenv/versions/3.4.2/lib #export LD_LIBRARY_PATH=$HOME/.pyenv/versions/3.4.2/lib
#export PKG_CONFIG_PATH=/usr/bin/pkg-config:/home/users/mkaysi/.pyenv/versions/3.4.2/lib/pkgconfig/ #export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/bin/pkg-config:$HOME/.local/bin/pkg-config:$HOME/.pyenv/versions/3.4.2/lib/pkgconfig/
../configure --enable-debug --enable-perl --enable-python --enable-swig --enable-tcl --enable-cyrus ../configure --enable-debug --enable-perl --enable-python --enable-swig --enable-tcl --enable-cyrus
#--prefix=$HOME/.local #--prefix=$HOME/.local
#make -j$(nproc)