wiki:CompileShadow-4.1.5.1

Shadow-4.1.5.1

  • Can be Compiled or Not? No
  • Package Download Link: http://pkg-shadow.alioth.debian.org/releases/shadow-4.1.5.1.tar.bz2
  • Compile Script:
    #!/bin/bash
    
    export PACKAGE_NAME=shadow
    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 shadow"
    ChangeDir "../shadow-4.1.5.1"
    ./configure\
         --prefix=${NACLPORTS_PREFIX} --enable-man --enable-shared --host=x86_64-linux
    make clean
    make
    
    
  • Remaining Problem:
    make[3]: Entering directory `/home/larrycane/Code/LIND/LIND_BASE/shadow-4.1.5.1/man/da'
    you need to run configure with --enable-man to generate man pages
    make[3]: *** [man1/chfn.1] Error 1
    make[3]: Leaving directory `/home/larrycane/Code/LIND/LIND_BASE/shadow-4.1.5.1/man/da'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/larrycane/Code/LIND/LIND_BASE/shadow-4.1.5.1/man'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/larrycane/Code/LIND/LIND_BASE/shadow-4.1.5.1'
    make: *** [all] Error 2
    
Last modified 4 years ago Last modified on Oct 1, 2013 11:47:34 AM