LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-23-2008, 11:55 PM   #1
qdog988
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
How to compile slackware for yourself on you own computer


Few days ago,I have build LFS and BLFS successful,the speed is so exciting,but I like slackware very much,so I want to build slackware on my own computer,can anybody give me some advice,or how to do it,or this method is wrong. thanks a lot.
 
Old 09-24-2008, 12:11 AM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
Slack isn't a source based distro. maybe you should try gentoo (shameless plug for my own favorite distro.) can't you install a very minimal slack system and then recompile the kernel and install all your applications from source code? this would result in an almost entirely source based system that should be just as fast as gentoo or lfs. what is it that you like about slack so much? to be honest I used slack for a while and found gentoo much easier to maintain and install new software on, so I switched and never looked back. slack is a very basic distro that should lend itself quite well to this type of project.
 
Old 09-24-2008, 02:17 AM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,749

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
If you have already been through an LFS build, you should know what you need to do to create a distro from scratch... Actually, simply following the cut-n-paste scripts for LFS or building gentoo won't necessarily impress on you the essential order and content for creating a distro from scratch.
You might find it better to have a look at DIY linux as it seeems to be a little easier to follow.
Basically, you start with building a new kernel and creating a kernel-headers package. Then you compile your new glibc using those headers. Then you compile a new binutils using those headers and linking against your new glibc. then you build a new compiler using the new headers, the new binutils and linking with the new glibc. then you recompile them all again to make sure the circle is round. Then, you compile the other basic tools needed for a running system, including bash, util-linux, coreutils, perl, gawk and sed. One you have the basic system bootable, you can proceed to compile all the rest.

Pay attention to the build order and program list for the first two phases of the compile. That's where the 'secret' lies. If you simply want to recompile Slackware for the same architecture, it can be done a bit more simply and without any chrooting.
 
Old 09-24-2008, 12:16 PM   #4
empcrono
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 110

Rep: Reputation: 15
Quote:
Originally Posted by qdog988 View Post
Few days ago,I have build LFS and BLFS successful,the speed is so exciting,but I like slackware very much,so I want to build slackware on my own computer,can anybody give me some advice,or how to do it,or this method is wrong. thanks a lot.
Wow I am interested in this same very thing. I think its a wonderful Idea. I have had several threads opened and I have even opened some of my own. I have gone through CUSS etc.

Quote:

Slack isn't a source based distro. maybe you should try gentoo (shameless plug for my own favorite distro.) can't you install a very minimal slack system and then recompile the kernel and install all your applications from source code? this would result in an almost entirely source based system that should be just as fast as gentoo or lfs. what is it that you like about slack so much? to be honest I used slack for a while and found gentoo much easier to maintain and install new software on, so I switched and never looked back. slack is a very basic distro that should lend itself quite well to this type of project.
Yesterday 11:55 PM
The advantage to using Slackware over the other two distro's LFS and Gentoo is this. Once you have compiled the software from source using SlackBuilds you have a compiled program that you do not have to compile again for that particular type of machine. You would lose that advantage if you just installed a minim system and then progressed to the install those packages from source. letting Slackware keep track of the packages in the central database is also useful. To top it all off Pat has done a lot of optimizations himself insuring the over all fitness of the Slackware system. Also think of the ability to package a install disk customized for a particular system, you would be able to just throw in the disk type setup etc etc have a fully up and running customized system within 20 mins or something. With Gentoo LFS you have to start over each time. The amount work required for the three choices seems about the same moreover Slackware just seems more module and practical.
 
Old 09-24-2008, 12:30 PM   #5
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
No, you can build binary packages with gentoo and then reinstall them without compiling. I don't but you could. I've got a dual core Athlon64 so everything compiles quite fast. I don't mind the wait. I like having everything compiled for my system with my options. If you don't like compiling things gentoo isn't for you.
 
Old 09-24-2008, 12:58 PM   #6
empcrono
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 110

Rep: Reputation: 15
Quote:
Originally Posted by johnson_steve View Post
No, you can build binary packages with gentoo and then reinstall them without compiling. I don't but you could. I've got a dual core Athlon64 so everything compiles quite fast. I don't mind the wait. I like having everything compiled for my system with my options. If you don't like compiling things gentoo isn't for you.

I see, thanks for clearing that up. BTW maybe, (most likely the case), I do not at all no what I am talking about. Whats the difference between a Slackware package compiled using SlackBuilds. I mean A SlackBuild takes source and turns into a package right? And When you install a Package unto a system is there a difference? To be sure, is there a difference between a Program Compiled from source, (using SlackBuild), and optimized for your system, then there is (compared to) a program just installed from source period? Of course assuming everything is being installed on that same system i.e. I compiled a program using a SlackBuild for a i486 (I/m using i686) and installed it on that type of system. A lets say you just installed from source whats the difference?
 
Old 09-25-2008, 02:36 PM   #7
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current, OpenBSD
Posts: 449

Rep: Reputation: 41
op: You may also want to take a look at jong357's jaguarlinux.com
 
Old 09-26-2008, 03:21 PM   #8
empcrono
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 110

Rep: Reputation: 15
Okay I went and checked out Gentoo because I loved the idea of compiling from source etc etc. Well everything else I loved is thrown out the door. I can not make head or tails with Gentoo its like being in the dark.



However the idea of having a base Slackware distro compiled from source remains something to be desired. I will keep fiddling but its looks like it will be some time before that happens. However on a positive note it looks like things are moving in a good direction non the less.

Still any piece of info helps

edit:

Quote:
If you simply want to recompile Slackware for the same architecture
For the moment all I want to do is recompile Slackware for my architecture any suggestions?

Last edited by empcrono; 09-26-2008 at 03:39 PM.
 
Old 09-26-2008, 06:37 PM   #9
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
what are you having trouble with on gentoo?
 
Old 09-26-2008, 06:49 PM   #10
empcrono
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 110

Rep: Reputation: 15
Quote:
Originally Posted by johnson_steve View Post
what are you having trouble with on gentoo?
Okay the installer seems strait forward not much there. I was booting from a live CD and it worked great net worked etc strait out. Also I read through the help guides etc and some times I wounder if I'm using what their talking about. Yet in short when I reboot after install I get this long long wait then when it finally starts to boot the screen is all fuzzy then that clears its self up. When I try to boot into Gnome it doesn't work. On the good side, I think the log in screen is pretty and stuff. I can boot into Xfce and it seems to work okay. Still however, my internet does not work and at boot up it says no such device.
 
Old 09-26-2008, 08:31 PM   #11
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
There was a very long and involved thread a while back with someone who did exactly this - it may be of use to you. You can find it here
 
Old 09-29-2008, 08:17 PM   #12
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 784

Rep: Reputation: 99
A huge short cut would be to install a 64bit based on slackware distro
(but this is linux build your own system if you like)
at this point I know of 3 slamd64,bluewhite64 and sflack
I have BW64 and am well pleased with the speed boost from the 64bit distro
the bench marks I have run put this computer on a par with CPUs that cost more than this laptop
 
  


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
Compile on seperate computer Fourthbean Linux - Software 2 06-13-2007 04:18 PM
Computer Slow After Kernel Compile brokenflea Slackware 9 10-03-2004 10:26 PM
compile kernel on one computer for use on another Frank_Drebin Slackware 3 05-22-2004 03:42 AM
3+ days to compile KDE? Even on an old computer? ColinAnderson Linux - Software 5 11-21-2003 05:28 AM
How can I compile stuff on one computer, and move it to another? kleptophobiac Slackware 6 09-07-2003 10:08 AM


All times are GMT -5. The time now is 06:42 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