Forum: Cfengine Help Subject: Re: how to compile on hp-ux 11.31 Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,22235,22237#msg-22237
You should use gmake on HP-UX. This is what I use to build cfengine: cat cfengine.src.install #!/usr/bin/sh # # Cfengine # BUILD_ROOT=/home/root DEST_ROOT=/u06 CFE_VERSION=3.1.5 CFE_SRC=cfengine-${CFE_VERSION}.tar.gz CFE_DIR=${BUILD_ROOT}/cfengine-${CFE_VERSION} cd ${CFE_DIR} ./autogen.sh --prefix="${DEST_ROOT}/cfengine-${CFE_VERSION}" \ --disable-shared \ CFLAGS="-O -I/usr/local/include -I/usr/include" \ LDFLAGS="-L/usr/local/lib/hpux32 -L/usr/lib/hpux32" [ $? -eq 0 ] || exit 1 for file in $(find . -name acinclude.m4) do sed -e "s|-mthreads||" $file > /tmp/acinclude.m4.$$ [ $? -eq 0 ] || exit 1 mv /tmp/acinclude.m4.$$ $file [ $? -eq 0 ] || exit 1 done gmake [ $? -eq 0 ] || exit 1 gmake install [ $? -eq 0 ] || exit 1 _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine