[RISOLTO]Openoffice e Slackbuilds
Inviato: lun 17 gen 2011, 1:16
Ciao a tutti,su di una slackware 13.1 32 bit ho voluto installare openoffice tramite slackbuilds:
http://slackbuilds.org/repository/13.1/ ... ffice.org/
Ho seguito il relativo howto, ma quando lancio lo slackbuild dalla directory dove ho il relativo sorgente scaricato ottengo:
./openoffice.org.SlackBuild: line 100: SOURCEDIR: unbound variable
Le righe che possono interessare quest'errore sono le seguenti:
[code]
# Ignore this - it's just to get the toplevel directory name of the
# extracted tarball archive
if [ $WJRE != no ]; then
SOURCEDIR=$(tar tzf $CWD/OOo_${VERSION}_Linux_${SRCARCH}_install-rpm-wJRE_${OOLANG}.tar.gz 2>/dev/null | head -n 1 | tr -d \/)
else
SOURCEDIR=$(tar tzf $CWD/OOo_${VERSION}_Linux_${SRCARCH}_install-rpm_${OOLANG}.tar.gz 2>/dev/null | head -n 1 | tr -d \/)
fi
# If the above operation failed for some reason, unset SOURCEDIR so that
# the "set -eu" below will cause us to bail out with an error
[ -z $SOURCEDIR ] && unset SOURCEDIR
set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$SOURCEDIR
[/code]
Il problema รจ che ovviamente in /tmp non mi trovo il pacchetto in tgz.
Consigli?
Grazie!
http://slackbuilds.org/repository/13.1/ ... ffice.org/
Ho seguito il relativo howto, ma quando lancio lo slackbuild dalla directory dove ho il relativo sorgente scaricato ottengo:
./openoffice.org.SlackBuild: line 100: SOURCEDIR: unbound variable
Le righe che possono interessare quest'errore sono le seguenti:
[code]
# Ignore this - it's just to get the toplevel directory name of the
# extracted tarball archive
if [ $WJRE != no ]; then
SOURCEDIR=$(tar tzf $CWD/OOo_${VERSION}_Linux_${SRCARCH}_install-rpm-wJRE_${OOLANG}.tar.gz 2>/dev/null | head -n 1 | tr -d \/)
else
SOURCEDIR=$(tar tzf $CWD/OOo_${VERSION}_Linux_${SRCARCH}_install-rpm_${OOLANG}.tar.gz 2>/dev/null | head -n 1 | tr -d \/)
fi
# If the above operation failed for some reason, unset SOURCEDIR so that
# the "set -eu" below will cause us to bail out with an error
[ -z $SOURCEDIR ] && unset SOURCEDIR
set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$SOURCEDIR
[/code]
Il problema รจ che ovviamente in /tmp non mi trovo il pacchetto in tgz.
Consigli?
Grazie!