Changeset 1682 in genapp for sbin/install.pl


Ignore:
Timestamp:
Mar 20, 2019, 8:03:18 AM (3 years ago)
Author:
ehb
Message:

Fixes for 18.04 & setconfig issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sbin/install.pl

    r1657 r1682  
    525525}
    526526
    527 # ------ centos 7.2,7.3,7.4,7.5 -------
     527# ------ centos 7.2,7.3,7.4,7.5,7.6-------
    528528if ( $os eq 'centos' && $os_release =~ /^7\.(2|3|4|5|6)/ ) {
    529529
     
    910910    runcmd( "sudo add-apt-repository -y ppa:ondrej/php && sudo apt-get -y update" );
    911911    runcmd( "sudo apt-get -y install mlocate build-essential apache2 php5.6-dev libapache2-mod-php5.6 php5.6-xml pkg-config re2c libzmq${zmqv}-dev uuid-dev abiword wget mongodb libmagickwand-6.q16-dev" );
     912
     913    # need zeromq from source :(
     914
     915    runcmd( "rm -fr /tmp/libzmq 2>/dev/null; cd /tmp && git clone git://github.com/zeromq/libzmq.git && cd libzmq && ./autogen.sh && ./configure && make -j$CPUS && make -j$CPUS check && sudo make -j$CPUS install && cat <<_EOF > /etc/ld.so.conf.d/zeromq.conf
     916/usr/local/lib
     917_EOF
     918sudo ldconfig
     919 " ) if !-e "/usr/local/lib/libzmq.so" || !-e "/etc/ld.so.conf.d/zeromq.conf";
    912920
    913921# php-pear php-imagick php-mail php-mail-mime php-mongodb mongodb" );
Note: See TracChangeset for help on using the changeset viewer.