LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-20-2010, 02:58 AM   #1
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Nixos
Posts: 179

Rep: Reputation: 122Reputation: 122
Problem compiling large slackbuilds


Hi,

I am currently running slackware 12.2 on a 25 GB partition. I like to use slackbuilds, but when I try to compile larger tarballs (like abiword, or a patched version of Ghostscript as I did today) I receive an error-message: 'Not enough space left on device'. I think the size of the partition must be big enough (I never got this message when compiling with Linux From Scratch). I think it has something to do with the size of my /tmp directory, but I don't know how to fix this. Is there a way to solve the problem, so that I could be able to use slackbuild-scripts?

Thanks in advance!
 
Old 08-20-2010, 03:44 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
if the slackbuild is from slackbuilds.org, you can set the temporary folder to the location you prefeer exporting the TMP variable to the script, like
Code:
TMP=/my/path ./my.SlackBuild
it could work also with no-slackbuilds.org slackbuilds, just look at the top of it if the TMP variable is used, you should find something like
Code:
TMP=${TMP:-/tmp/SBo}
this means, "if not already set, give TMP the value of /tmp/SBo".

usually, the slackbuild scripts uncompress and build sources in $TMP/$PRGNAM-$VERSION and package them in $TMP/package-$PRGNAM.

Last edited by ponce; 08-20-2010 at 03:48 AM.
 
1 members found this post helpful.
Old 08-20-2010, 04:17 AM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
You might want to clear out old sources from /tmp/SBo too.
 
Old 08-20-2010, 04:37 AM   #4
basheer
Member
 
Registered: Mar 2009
Location: Bangalore, India
Distribution: CentOS6.5, CentOS7, Ubuntu14.04
Posts: 182

Rep: Reputation: 29
Smile

First check whether u have space available.
#df
 
Old 08-20-2010, 04:59 AM   #5
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Nixos
Posts: 179

Original Poster
Rep: Reputation: 122Reputation: 122
Thank you,Ponce en Dive,

Ponces solution worked for me!
 
  


Reply



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
[SOLVED] Problem building from slackbuilds ~sHyLoCk~ Slackware 14 05-18-2010 01:48 PM
Packages/Slackbuilds versus Compiling From Source AlphaSigmaOne Slackware 14 10-25-2008 02:54 PM
error compiling lablgtk on Slack 11 using SlackBuild from slackbuilds.org BCarey Slackware 1 02-22-2008 10:57 AM
LXer: This week at LWN: Large pages, large blocks, and large problems LXer Syndicated Linux News 0 09-27-2007 11:40 AM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 08:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration