LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Slackware (http://www.linuxquestions.org/questions/forumdisplay.php?f=14)
-   -   libreoffice.SlackBuild line 100: SOURCEDIR: unbound variable ? (http://www.linuxquestions.org/questions/showthread.php?t=923061)

mongoosecage 01-10-2012 08:51 AM

libreoffice.SlackBuild line 100: SOURCEDIR: unbound variable ?
 
Yeap.

Code:

bash-4.1# chmod +x libreoffice.SlackBuild
bash-4.1# ./libreoffice.SlackBuild
./libreoffice.SlackBuild: line 100: SOURCEDIR: unbound variable
bash-4.1# ls
LibO_3.4.4_Linux_x86-64_install-rpm_en-US.tar.gz  libreoffice.info
README                                                  open-libre-together.sh
doinst.sh                                          slack-desc
libreoffice.SlackBuild
bash-4.1#

Tried doing it in /root/Downloads, /root/, /home/ , /home/Downloads .

Any ideas? I have done .SlackBuilds before but no ideas.

running a 64 bit

onebuck 01-10-2012 10:03 AM

Member response
 
Hi,

I use Alien_Bob's packages and never had issues.

You need to get these 13.37/ packages for English installs;
libreoffice-3.4.4-i4..>
libreoffice-l10n-en_..>
Edit: Get the md5 and check the downloads

Look at the base archive for Libre Slackware packages for x86_32 or x86_64 version 13.1 or 13.37.

Look at Aliens blog post: http://alien.slackbook.org/blog/libr...ate-for-3-3-0/ if you want to build from scratch. Good notes!

chrisretusn 01-16-2012 07:35 AM

My first guess would be a corrupt LibO_3.4.4_Linux_x86-64_install-rpm_en-US.tar.gz. That variable SOURCEDIR is not getting created, because the tarball is not getting extracted. The script was designed to exit if that happens.

3.4.5 just came out anyway. I ran that script against 3.4.5 and it worked just fine, package was created.

Having said all of that, I have to agree with onebuck, use AlienBob's packages.

larryhaja 01-16-2012 12:56 PM

Quote:

Originally Posted by chrisretusn (Post 4575816)
My first guess would be a corrupt LibO_3.4.4_Linux_x86-64_install-rpm_en-US.tar.gz. That variable SOURCEDIR is not getting created, because the tarball is not getting extracted.

Yeah, that is the most likely scenario. Check the md5sum of the downloaded tarball and see if it matches the one in the libreoffice.info file. I would say just re-download the tarball but it is no longer available for download. Download the 3.4.5 version instead. It built fine for me with the appropriate version bump.


All times are GMT -5. The time now is 05:38 AM.