wiki:CompileAPR-1.4.8

APR-1.4.8

  • Can be Compiled or Not? Yes
  • Package Download Link: http://apache.osuosl.org//apr/apr-1.4.8.tar.gz
  • Compile Script:
    #!/bin/bash
    
    export PACKAGE_NAME=apr
    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 apr"
    ChangeDir "../apr-1.4.8"
    Remove "build-nacl"
    MakeDir "build-nacl"
    cd "build-nacl"
    ../configure --prefix=${NACLPORTS_PREFIX} --host="i686-linux" --enable-debug ac_cv_file__dev_zero=yes \
      ac_cv_func_setpgrp_void=yes apr_cv_epoll=yes apr_cv_tcp_nodelay_with_cork=yes \
      ac_cv_o_nonblock_inherited=no ac_cv_sizeof_struct_iovec=8
    make V=1
    make install
    make clean
    cd ".."
    
Last modified 4 years ago Last modified on Oct 29, 2013 11:27:47 AM