wiki:CompileHttpd-2.4.6

Httpd-2.4.6

  • Can be compiled? Yes
  • Patch needed? Yes Browse
  • Package Download Link: http://supergsego.com/apache//httpd/httpd-2.4.6.tar.gz
  • Compile Script:
    #!/bin/bash
    
    export PACKAGE_NAME=apache
    export NACL_ARCH=x86_64
    export NACL_GLIBC=1
    export NACLPORTS_PREFIX=${REPY_PATH}/usr
    
    source ../naclports/src/build_tools/common.sh
    
    export NACL_SEL_LDR
    export NACL_IRT
    export NACL_SDK_LIB
    export CC="${NACLCC} -D APR_IOVEC_DEFINED"
    export CXX=${NACLCXX}
    export AR=${NACLAR}
    export RANLIB=${NACLRANLIB}
    export PKG_CONFIG_PATH=${NACLPORTS_LIBDIR}/pkgconfig
    export PKG_CONFIG_LIBDIR=${NACLPORTS_LIBDIR}
    export FREETYPE_CONFIG=${NACLPORTS_PREFIX_BIN}/freetype-config
    export PATH=${NACL_BIN_PATH}:${PATH};
    conf_host=${NACL_CROSS_PREFIX}
    
    Banner "Build httpd"
    ChangeDir "../httpd-2.4.6"
    Remove "build-nacl"
    MakeDir "build-nacl"
    cd "build-nacl"
    ../configure --prefix=${NACLPORTS_PREFIX} --host="i686-linux" --with-apr=${NACLPORTS_PREFIX} --with-apr-util=${NACLPORTS_PREFIX} --with-pcre=${NACLPORTS_PREFIX} \
        --enable-debugger-mode ap_cv_void_ptr_lt_long=no
    make V=1
    make install
    make clean
    cd ".."
    
Last modified 4 years ago Last modified on Oct 29, 2013 11:22:04 AM