wiki:CompileGawk-4.1.0

Gawk-4.1.0

  • Can be Compiled or Not? No
  • Package Download Link: http://ftp.gnu.org/gnu/gawk/gawk-4.1.0.tar.gz
  • Compile Script:
    #!/bin/bash
    
    export PACKAGE_NAME=gawk-4.1.0
    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}
    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};
    
    export NETTLE_CFLAGS=${NACLPORTS_PREFIX}/include
    export GMP_CFLAGS=${NACLPORTS_PREFIX}/include
    
    conf_host=${NACL_CROSS_PREFIX}
    
    Banner "Configure gawk-4.1.0"
    ChangeDir "../gawk-4.1.0"
    ./configure\
         --prefix=${NACLPORTS_PREFIX} --enable-shared --host=x86_64-linux
    make clean
    make
    
    
  • Remaining Problem:
    /bin/bash: ../gawk.nexe: No such file or directory
    Building the extensions is not supported on this platform
    make[3]: *** [check-for-shared-lib-support] Error 1
    make[3]: Leaving directory `/home/larrycane/Code/LIND/LIND_BASE/gawk-4.1.0/extension'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/home/larrycane/Code/LIND/LIND_BASE/gawk-4.1.0/extension'
    Making all in test
    make[2]: Entering directory `/home/larrycane/Code/LIND/LIND_BASE/gawk-4.1.0/test'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/larrycane/Code/LIND/LIND_BASE/gawk-4.1.0/test'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/larrycane/Code/LIND/LIND_BASE/gawk-4.1.0'
    make: *** [all] Error 2
    
    
Last modified 4 years ago Last modified on Sep 24, 2013 10:04:10 PM