diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-12-10 19:21:47 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-06-02 12:32:36 +0200 |
commit | 7e5e25e44628c407916ca9774a32f0d349dbfe69 (patch) | |
tree | dc20ef187e4d7566dcb31d2abb628f314266eb39 /installer | |
parent | f827bf6c4e5f2aaaccc08361e0a63ac2e087f831 (diff) |
#970 autotools support for ogAdmServer
To build and to install ogAdmServer:
autoreconf -fi
./configure
make
make install
Default prefix is /opt/opengnsys/ as usual.
ogAdmServer uses autotools for compilation, so this patch adapts OpenGnsys
updater and installer to use autotools for compilation.
Diffstat (limited to 'installer')
-rwxr-xr-x | installer/opengnsys_installer.sh | 2 | ||||
-rwxr-xr-x | installer/opengnsys_update.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh index d9cf7a82..88f4b0d1 100755 --- a/installer/opengnsys_installer.sh +++ b/installer/opengnsys_installer.sh @@ -1328,7 +1328,7 @@ function servicesCompilation () # Compilar OpenGnsys Server echoAndLog "${FUNCNAME}(): Compiling OpenGnsys Admin Server" pushd $WORKDIR/opengnsys/admin/Sources/Services/ogAdmServer - make && mv ogAdmServer $INSTALL_TARGET/sbin + autoreconf -fi && ./configure && make && mv ogAdmServer $INSTALL_TARGET/sbin if [ $? -ne 0 ]; then echoAndLog "${FUNCNAME}(): error while compiling OpenGnsys Admin Server" hayErrores=1 diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh index 38f8069c..70d612c9 100755 --- a/installer/opengnsys_update.sh +++ b/installer/opengnsys_update.sh @@ -1046,7 +1046,7 @@ function compileServices() # Compilar OpenGnsys Server echoAndLog "${FUNCNAME}(): Recompiling OpenGnsys Admin Server" pushd $WORKDIR/opengnsys/admin/Sources/Services/ogAdmServer - make && moveNewService ogAdmServer $INSTALL_TARGET/sbin + autoreconf -fi && ./configure && make && moveNewService ogAdmServer $INSTALL_TARGET/sbin if [ $? -ne 0 ]; then echoAndLog "${FUNCNAME}(): error while compiling OpenGnsys Admin Server" hayErrores=1 |