LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-10-2012, 09:51 AM   #1
mongoosecage
Member
 
Registered: Jun 2008
Distribution: Slackware 13.0, Ubuntu 9.10, Windows XP Pro SP3
Posts: 100

Rep: Reputation: 15
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
 
Old 01-10-2012, 11:03 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,381
Blog Entries: 3

Rep: Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478Reputation: 1478
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!
 
Old 01-16-2012, 08:35 AM   #3
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware
Posts: 489

Rep: Reputation: Disabled
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.
 
Old 01-16-2012, 01:56 PM   #4
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 293

Rep: Reputation: 76
Quote:
Originally Posted by chrisretusn View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenOffice/LibreOffice writer uses 100% CPU time, 100% memory, workaround someone? jlinkels Linux - Software 11 08-30-2012 02:50 PM
[SOLVED] Insert line using sed or awk at line using line number as variable sunilsagar Programming 11 02-03-2012 11:48 AM
LibreOffice Slackbuild script fails - missing library The GNUinator Slackware 6 04-18-2011 07:37 PM
Sed search for variable and delete entire line, but variable contains forward /'s Passions Programming 2 11-10-2008 04:44 PM
why "unbound variable" sunhui Linux - Software 3 11-29-2006 10:56 PM


All times are GMT -5. The time now is 09:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration