diff --git a/starss_install.sh b/starss_install.sh index 2369242..215ed0b 100755 --- a/starss_install.sh +++ b/starss_install.sh @@ -48,7 +48,8 @@ P=${PACKAGE}-${VERSION} # CONFIGURE_OPTS="" #NP=$(cat /proc/cpuinfo | grep processor | wc -l) #MAKEOPTS="-j$NP" -MAKEOPTS="-j2" +# starss has problems when build in parallel +MAKEOPTS="-j1" # Compiler specifications @@ -143,17 +144,15 @@ case "${A##*.}" in ;; esac -# TODO add autoreconf -# TODO check subdirectory build -mkdir ${BUILDDIR} -cd ${BUILDDIR} - cd ${SRCDIR} -# updating build tools and environment if [ "$SVN_BUILD" == "yes" ]; then + # updating build tools and environment autoreconf -fiv fi +mkdir ${BUILDDIR} -p +cd ${BUILDDIR} + echo "Running configure" ${SRCDIR}/configure --prefix=${PREFIX} ${CONFIGURE_OPTS} ${COMPILER_OPTS} 2>&1 | tee configure.log echo "Running make"