Bingo! Yeah, the space in dir name... Following as sugested, after tested with OOo 3.3.0, installed OOo 4.0.0. Working. thanks all folks for the help.
[ ] 2013/8/26 <slackbuilds-users-requ...@slackbuilds.org> > Send SlackBuilds-users mailing list submissions to > slackbuilds-users@slackbuilds.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users > or, via email, send a message with subject or body 'help' to > slackbuilds-users-requ...@slackbuilds.org > > You can reach the person managing the list at > slackbuilds-users-ow...@slackbuilds.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of SlackBuilds-users digest..." > > > Today's Topics: > > 1. Re: installing openoffice 3.3.0 - building error (Larry Hajali) > 2. Re: installing openoffice 3.3.0 - building error (Valdir Franco) > 3. Re: installing openoffice 3.3.0 - building error (mancha) > 4. Re: installing openoffice 3.3.0 - building error (Valdir Franco) > 5. Re: installing openoffice 3.3.0 - building error (Noel Butler) > 6. Re: installing openoffice 3.3.0 - building error (Kees Theunissen) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 24 Aug 2013 10:50:15 -0700 > From: Larry Hajali <larryh...@gmail.com> > To: "SlackBuilds.org Users List" <slackbuilds-users@slackbuilds.org> > Subject: Re: [Slackbuilds-users] installing openoffice 3.3.0 - > building error > Message-ID: > <CAAZPBMhvG75RUacZaSb37JiwMxhUjr2kffeEtw-y= > w-yyhx...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > On Sat, Aug 24, 2013 at 8:14 AM, Valdir Franco <chuck...@gmail.com> wrote: > > > Hi. > > > > Trying install openoffice using slackbuild got a error, stopping script. > > > > SOURCEDIR: unbound variable > > > > Any hint on fixing it? > > > > > Yeah, download the openoffice.org tarball for your particular architecture > and put it in the same folder as the openoffice.org.SlackBuild. The error > is stating that $SOURCEDIR is not defined because it can't find the > tarball. > > --Larry > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20130824/91e468cf/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Sun, 25 Aug 2013 18:03:34 -0300 > From: Valdir Franco <chuck...@gmail.com> > To: slackbuilds-users@slackbuilds.org > Subject: Re: [Slackbuilds-users] installing openoffice 3.3.0 - > building error > Message-ID: > < > canysyzrqtnumg5fnwquf3pa-xeg9w0em4k0-obnxxnw+v1l...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > >On Sat, Aug 24, 2013 at 8:14 AM, Valdir Franco <chuck.mx at gmail.com < > http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users>> wrote: > > >*> Hi.*>>**>*>Trying install openoffice using slackbuild got an error, > stopping script.*>>**>*>SOURCEDIR: unbound variable*>>**>*>Any hint on > fixing it?*>>**>>**>Yeah, download the openoffice.org tarball for your > particular architecture > >and put it in the same folder as the openoffice.org.SlackBuild. The error > >is stating that $SOURCEDIR is not defined because it can't find the > tarball. > > > >--Larry > > Hi, again. > I did download again, at least three times. > For me the file name is correct. Below is my screen, with dir contents e > the script error. > > ------------------------------ > root@mrx:/home/marxz/Softwares/Apache OpenOffice/openoffice.org# ls > OOo_3.3.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz > README > doinst.sh > openoffice.org.SlackBuild* > openoffice.org.info > slack-desc > root@mrx:/home/marxz/Softwares/Apache > OpenOffice/openoffice.org#./openoffice.org.SlackBuild > OOo_3.3.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz > ./openoffice.org.SlackBuild: line 103: SOURCEDIR: unbound variable > root@mrx:/home/marxz/Softwares/Apache OpenOffice/openoffice.org# > ------------------------------ > > I'm not a batch/script writing expert, but looks like is missing something > in the script excerpt: > > ------------------------------ > # Check if we have the tarball > if [ ! -r $TARBALL ]; then > echo "$TARBALL not found" > exit 1 > fi > > # Ignore this - it's just to get the toplevel directory name of the > # extracted tarball archive > SOURCEDIR=$(tar tzf $CWD/$TARNAME 2>/dev/null | head -n 1 | tr -d \/) > # 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 > <<<<<<<<------shouldn't be an "if" statement here? > [ -z $SOURCEDIR ] && unset SOURCEDIR <<<<<------ I understand this line as > a condition, but no loop command.....am I wrong? > > set -eu > > rm -rf $PKG > mkdir -p $TMP $PKG $OUTPUT > rm -rf $TMP/$SOURCEDIR > > # Extract tarball > tar xvf $CWD/$TARNAME -C $TMP > ------------------------------ > > Thanks again... > > -- > T+ > []?s > marx :-p > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20130825/ac5a6568/attachment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Mon, 26 Aug 2013 01:19:25 +0000 > From: "mancha" <manc...@hush.com> > To: slackbuilds-users@slackbuilds.org, chuck...@gmail.com > Subject: Re: [Slackbuilds-users] installing openoffice 3.3.0 - > building error > Message-ID: <20130826011925.e2c8c20...@smtp.hushmail.com> > Content-Type: text/plain; charset="UTF-8" > > On Sun, 25 Aug 2013 21:03:42 +0000 "Valdir Franco" wrote: > >I'm not a batch/script writing expert, but looks like is missing > >something > > Script looks fine to me. My guess is you have issues with your > tarball. > > What output do you get with: > > $ file OOo_3.3.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz > > and > > $ tar tzf OOo_3.3.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz|head > > > > > ------------------------------ > > Message: 4 > Date: Mon, 26 Aug 2013 00:32:50 -0300 > From: Valdir Franco <chuck...@gmail.com> > To: manc...@hush.com > Cc: slackbuilds-users@slackbuilds.org > Subject: Re: [Slackbuilds-users] installing openoffice 3.3.0 - > building error > Message-ID: > < > canysyztpzgcwipibit2heywjez+sdtu0joccwqhbt_0xlxt...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Here is the output: > ------------- > root@mrx:/home/marxz/Softwares/Apache OpenOffice/openoffice.org# file > OOo_3.3.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz > OOo_3.3.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz: gzip compressed data, > from Unix, last modified: Mon Jan 17 17:58:24 2011 > > root@mrx:/home/marxz/Softwares/Apache OpenOffice/openoffice.org# tar tzf > OOo_3.3.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz | head > OOO330_m20_native_packed-1_en-US.9567/ > OOO330_m20_native_packed-1_en-US.9567/update > OOO330_m20_native_packed-1_en-US.9567/JavaSetup.jar > OOO330_m20_native_packed-1_en-US.9567/readmes/ > OOO330_m20_native_packed-1_en-US.9567/readmes/README_en-US > OOO330_m20_native_packed-1_en-US.9567/readmes/README_en-US.html > OOO330_m20_native_packed-1_en-US.9567/setup > OOO330_m20_native_packed-1_en-US.9567/installdata/ > OOO330_m20_native_packed-1_en-US.9567/installdata/xpd/ > > OOO330_m20_native_packed-1_en-US.9567/installdata/xpd/gid_Module_Optional_Testtool.xpd > root@mrx:/home/marxz/Softwares/Apache OpenOffice/openoffice.org# > > ------------- > > TIA > > > 2013/8/25 mancha <manc...@hush.com> > > > On Sun, 25 Aug 2013 21:03:42 +0000 "Valdir Franco" wrote: > > >I'm not a batch/script writing expert, but looks like is missing > > >something > > > > Script looks fine to me. My guess is you have issues with your > > tarball. > > > > What output do you get with: > > > > $ file OOo_3.3.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz > > > > and > > > > $ tar tzf OOo_3.3.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz|head > > > > > > > > > -- > T+ > []?s > marx :-p > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20130826/e52d8202/attachment-0001.html > > > > ------------------------------ > > Message: 5 > Date: Mon, 26 Aug 2013 13:52:16 +1000 > From: Noel Butler <noel.but...@ausics.net> > To: slackbuilds-users@slackbuilds.org > Subject: Re: [Slackbuilds-users] installing openoffice 3.3.0 - > building error > Message-ID: <1377489136.7320.2.camel@tardis> > Content-Type: text/plain; charset="utf-8" > > 3.3.0 is incredibly old, several years old. > > Please try current stable version: 4.0 > > On Mon, 2013-08-26 at 00:32 -0300, Valdir Franco wrote: > > Here is the output: > > ------------- > > root@mrx:/home/marxz/Softwares/Apache OpenOffice/openoffice.org# file > > OOo_3.3.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz > > OOo_3.3.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz: gzip compressed > > data, from Unix, last modified: Mon Jan 17 17:58:24 2011 > > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20130826/0bb0ca95/attachment-0001.html > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 490 bytes > Desc: This is a digitally signed message part > URL: < > http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20130826/0bb0ca95/attachment-0001.asc > > > > ------------------------------ > > Message: 6 > Date: Mon, 26 Aug 2013 05:53:44 +0200 (CEST) > From: Kees Theunissen <c.j.theunis...@differ.nl> > To: "SlackBuilds.org Users List" <slackbuilds-users@slackbuilds.org> > Subject: Re: [Slackbuilds-users] installing openoffice 3.3.0 - > building error > Message-ID: <alpine.lnx.2.02.1308260543380.1...@pcict9.rijnh.nl> > Content-Type: TEXT/PLAIN; charset=iso-8859-1 > > On Sun, 25 Aug 2013, Valdir Franco wrote: > > >>On Sat, Aug 24, 2013 at 8:14 AM, Valdir Franco <chuck.mx at gmail.com< > http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users>> wrote: > > > >>> Hi. > >>> > >>>Trying install openoffice using slackbuild got an error, stopping > script. > >>> > >>>SOURCEDIR: unbound variable > >>> > >>>Any hint on fixing it? > >>> > >>> > >>Yeah, download the openoffice.org<http://openoffice.org> tarball for > your particular architecture > >>and put it in the same folder as the openoffice.org.SlackBuild. The > error > >>is stating that $SOURCEDIR is not defined because it can't find the > tarball. > >> > >>--Larry > > > > > >Hi, again. > >I did download again, at least three times. > >For me the file name is correct. Below is my screen, with dir contents e > the script error. > > > >------------------------------ > >root@mrx:/home/marxz/Softwares/Apache OpenOffice/openoffice.org#< > http://openoffice.org#> ls > >OOo_3.3.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz > >README > >doinst.sh > >openoffice.org.SlackBuild* > >openoffice.org.info<http://openoffice.org.info> > >slack-desc > >root@mrx:/home/marxz/Softwares/Apache OpenOffice/openoffice.org#< > http://openoffice.org#> ./openoffice.org.SlackBuild > >OOo_3.3.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz > >./openoffice.org.SlackBuild: line 103: SOURCEDIR: unbound variable > >root@mrx:/home/marxz/Softwares/Apache OpenOffice/openoffice.org#< > http://openoffice.org#> > >------------------------------ > > I guess that the space in your directory name "Apache OpenOffice" is > the cause of all trouble. Rename that directory to something without > spaces and try again. > > > > >I'm not a batch/script writing expert, but looks like is missing > something in the script excerpt: > > > >------------------------------ > ># Check if we have the tarball > >if [ ! -r $TARBALL ]; then > > echo "$TARBALL not found" > > exit 1 > >fi > > This check doesn't do anything besause $TARBALL is not defined. $TARNAME > is used everywhere else in the script. But that is not the cause of your > problem. > > > > ># Ignore this - it's just to get the toplevel directory name of the > ># extracted tarball archive > >SOURCEDIR=$(tar tzf $CWD/$TARNAME 2>/dev/null | head -n 1 | tr -d \/) > ># 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 > <<<<<<<<------shouldn't be an "if" statement here? > >[ -z $SOURCEDIR ] && unset SOURCEDIR <<<<<------ I understand this line > as a condition, but no loop command.....am I wrong? > > > >set -eu > > > >rm -rf $PKG > >mkdir -p $TMP $PKG $OUTPUT > >rm -rf $TMP/$SOURCEDIR > > > ># Extract tarball > >tar xvf $CWD/$TARNAME -C $TMP > >------------------------------ > > > >Thanks again... > > > >-- > >T+ > >[]?s > >marx :-p > > > > > Groeten, > > Kees. > > -- > Kees Theunissen, Systeem- en netwerkbeheerder, Tel: 030-6096724 > Dutch Institute For Fundamental Energy Research (DIFFER) > e-mailadres: c.j.theunis...@differ.nl > postadres: Postbus 1207, 3430 BE Nieuwegein > bezoekersadres: Edisonbaan 14, 3439 MN Nieuwegein > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > SlackBuilds-users mailing list > SlackBuilds-users@slackbuilds.org > http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users > > > ------------------------------ > > End of SlackBuilds-users Digest, Vol 87, Issue 6 > ************************************************ > -- T+ []´s marx :-p
_______________________________________________ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - http://slackbuilds.org/faq/