LinuxQuestions.org
Visit Jeremy's Blog.
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 04-04-2014, 02:33 PM   #1
StreamThreader
Member
 
Registered: Mar 2012
Location: Ukraine/Odesa
Distribution: Slackware
Posts: 152

Rep: Reputation: 64
Slackware - Build machine


Hi folks!
Advise configuration for machine, that compile packages for another PCs.
Or point me to documentation for build system.
Or short, recommendation.
 
Old 04-04-2014, 05:20 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
I'd simply advise to use a powerful machine with a lot of RAM and preferably the same architecture as the target.

Or on a powerful enough machine you could do compilation in a VM.
 
2 members found this post helpful.
Old 04-05-2014, 05:25 AM   #3
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by StreamThreader View Post
Hi folks!
Advise configuration for machine, that compile packages for another PCs.
Or point me to documentation for build system.
Or short, recommendation.
I'm using a battered workstation with a Xeon Quad Core processor and lots of RAM, and I build all my stuff in virtual machines using VirtualBox. Before that, I had a spare Dell Optiplex 330 desktop dual-booting 32-bit and 64-bit Slackware, so I could build stuff for both architectures. Advice: don't install any proprietary video drivers on your buildbox.
 
2 members found this post helpful.
Old 04-05-2014, 07:51 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Create a virtual machine using VM software like QEMU or VirtualBox which suppports discardable snapshots.
Every time you compile a package in the virtual machine, you do this in a snapshot image which you throw away afterwards. That way you will start with the exact same Slackware environment every time.

Eric
 
5 members found this post helpful.
Old 04-05-2014, 09:27 AM   #5
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Just use your most powerful machine and preferably have you Slackware system as "clean" as possible. Best would be virtual machine installation, if your hardware supports virtualisation. I check my SlackBuilds on a Quad core AMD Phenom II machine with 8GB rAM, running Slackware -multilib and have two virtual machines: one of slackware 32bit and another for 64bit.
 
2 members found this post helpful.
Old 04-05-2014, 11:33 AM   #6
StreamThreader
Member
 
Registered: Mar 2012
Location: Ukraine/Odesa
Distribution: Slackware
Posts: 152

Original Poster
Rep: Reputation: 64
Thanks. about snapshot!
I use this idea
 
Old 04-05-2014, 01:00 PM   #7
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by Alien Bob View Post
Create a virtual machine using VM software like QEMU or VirtualBox which suppports discardable snapshots.
Every time you compile a package in the virtual machine, you do this in a snapshot image which you throw away afterwards. That way you will start with the exact same Slackware environment every time.
When I have to build something that could possibly wreck my system (SlackBuild written from scratch, ...) I often use VirtualBox' "Clone" function. I'm cloning my VM, experiment there, and once everything works OK, I 'git push' my SlackBuilds to the main Git repo and launch them again from the "real" VM (if one can say so).
 
4 members found this post helpful.
  


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
SBOPKG(8) not list/show/build dependencies of SlackBuild scripts to build Slackware p xavi_slacky Slackware 3 06-13-2013 07:53 PM
Exact steps to build kernel on a machine and copy it to another machine? ddel Linux - Newbie 1 03-29-2009 02:50 PM
How to build kernel for another machine? BerzinTehvs Slackware 4 02-14-2006 12:06 AM
Build on 1 machine, copy to another? dawizman Linux From Scratch 5 03-31-2004 05:16 PM
Machine build cxtech Slackware 3 03-02-2004 11:18 PM

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

All times are GMT -5. The time now is 04:58 PM.

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