Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync #56

Closed
wants to merge 15 commits into from
Prev Previous commit
Next Next commit
DAV
  • Loading branch information
Kevin Lambert committed Jun 18, 2019
commit d1bea0f5ad4eaecb8a68cd23e85aefdef3a3b1ea
21 changes: 5 additions & 16 deletions kjsl_build_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,12 @@ fi
mkdir -p /usr/nginx
mkdir -p /usr/nginx/nginx
./auto/configure --prefix=/etc/nginx \
--with-cc-opt="-I/usr/include -I/usr/opt/openssl/include" \
--with-ld-opt="-L/usr/lib -L/usr/opt/openssl/lib" \
--with-http_stub_status_module \
--with-cc-opt="-I/usr/include" \
--with-ld-opt="-L/usr/lib" \
--with-compat \
--prefix=/etc/nginx \
--sbin-path=/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
--with-http_dav_module \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/run/nginx.lock \
--modules-path=/etc/nginx/modules \
--add-module=./ngx_devel_kit \
--add-module=./nginx-rtmp-module \
--add-module=../smootha/nginx-switch-module \
--add-module=../nginx_mod_smooth_streaming-1.9.5
--add-module=../nginx_mod_smooth_streaming-1.9.6 \
--with-openssl=/usr/include/openssl \
--with-http_stub_status_module

make -j9
sudo make install
Expand Down
60 changes: 60 additions & 0 deletions kjsl_build_linux_debug.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#!/bin/bash
git clone https://github.com/kevleyski/nginx-rtmp-module nginx-rtmp-module
git clone https://github.com/kevleyski/ngx_devel_kit ngx_devel_kit

if [ ! -d openssl-1.0.2o ]; then
wget http://www.openssl.org/source/openssl-1.0.2o.tar.gz
tar -zxf openssl-1.0.2o.tar.gz
cd openssl-1.0.2o
./Configure --prefix=/usr
make
sudo make install
cd ..
fi

if [ ! -d zlib-1.2.11 ]; then
wget http://zlib.net/zlib-1.2.11.tar.gz
tar -zxf zlib-1.2.11.tar.gz
cd zlib-1.2.11
./configure
make
sudo make install
cd ..
fi

if [ ! -d pcre-8.42 ]; then
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.42.tar.gz
tar -zxf pcre-8.42.tar.gz
cd pcre-8.42
./configure
make
sudo make install
cd ..
fi

mkdir -p /usr/nginx
mkdir -p /usr/nginx/nginx
./auto/configure --prefix=/etc/nginx \
--with-cc-opt="-I/usr/include -I/usr/opt/openssl/include" \
--with-ld-opt="-L/usr/lib -L/usr/opt/openssl/lib" \
--with-http_stub_status_module \
--with-compat \
--with-debug \
--prefix=/etc/nginx \
--sbin-path=/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
--with-http_dav_module \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/run/nginx.lock \
--modules-path=/etc/nginx/modules \
--add-module=./ngx_devel_kit \
--add-module=./nginx-rtmp-module \
--add-module=../smootha/nginx-switch-module \
--add-module=../nginx_mod_smooth_streaming-1.9.5

make -j9
sudo make install

nginx -V