Unix Technical Forum

Building Slack From source

This is a discussion on Building Slack From source within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Is there any docs anywhere on building a complete slackware system from scratch? Sure I could use gentoo or ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 10:18 AM
Martin J. Green
 
Posts: n/a
Default Building Slack From source

Is there any docs anywhere on building a complete slackware system from
scratch? Sure I could use gentoo or follow the LFS docs, but I like
slackware, I just want to completely optimise my system for my hardware. I
googled a bit and found a couple links, but nothing particularly useful.

Martin


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 10:18 AM
Julien
 
Posts: n/a
Default Re: Building Slack From source

Martin J. Green a écrit :
> Is there any docs anywhere on building a complete slackware system from
> scratch? Sure I could use gentoo or follow the LFS docs, but I like
> slackware, I just want to completely optimise my system for my hardware. I
> googled a bit and found a couple links, but nothing particularly useful.
>
> Martin
>
>


Hello there is this doc in french

http://www.lea-linux.org/install/LFSlack.html


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 10:18 AM
Martin J. Green
 
Posts: n/a
Default Re: Building Slack From source


"Julien" <julien.poulalion-linux@laposte.net> wrote in message
news:42fdab82$0$27265$8fcfb975@news.wanadoo.fr...

> Hello there is this doc in french
>
> http://www.lea-linux.org/install/LFSlack.html


any chance of a translation? :P


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 10:18 AM
Martin J. Green
 
Posts: n/a
Default Re: Building Slack From source


"Julien" <julien.poulalion-linux@laposte.net> wrote in message
news:42fdab82$0$27265$8fcfb975@news.wanadoo.fr...

> Hello there is this doc in french
>
> http://www.lea-linux.org/install/LFSlack.html


Just took a look at that link. Whilst I understand very little of the
french - I can just about make sense of it in places from good old high
school french - but the commands I do understand, and from what I can see
that document describes installing a slackware system from scratch using the
standard slackware packages, which of course wasn't what I was asking about.
I was asking about building it yourself from source.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 10:18 AM
Joost Kremers
 
Posts: n/a
Default Re: Building Slack From source

Martin J. Green wrote:
> Is there any docs anywhere on building a complete slackware system from
> scratch? Sure I could use gentoo or follow the LFS docs, but I like
> slackware, I just want to completely optimise my system for my hardware. I
> googled a bit and found a couple links, but nothing particularly useful.


you're not the first one to ask this in this NG. go to google's advanced
group search, and search specifically in aols, that should turn up a few
threads.

--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 10:19 AM
William Hamblen
 
Posts: n/a
Default Re: Building Slack From source

On 2005-08-13, Martin J. Green
<martin.green@NOSPAM.firstinternetservices.com> wrote:
> Is there any docs anywhere on building a complete slackware system from
> scratch? Sure I could use gentoo or follow the LFS docs, but I like
> slackware, I just want to completely optimise my system for my hardware. I
> googled a bit and found a couple links, but nothing particularly useful.


You get the sources and build scripts with the CD-ROMs. You can do your
own optimizations and build your own packages.

--
The night is just the shadow of the Earth.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 10:19 AM
jim dorey
 
Posts: n/a
Default Re: Building Slack From source

On Sat, 13 Aug 2005 07:44:35 -0300, Martin J. Green
<martin.green@NOSPAM.firstinternetservices.com> wrote:

> Just took a look at that link. Whilst I understand very little of the
> french - I can just about make sense of it in places from good old high
> school french - but the commands I do understand, and from what I can see
> that document describes installing a slackware system from scratch using
> the
> standard slackware packages, which of course wasn't what I was asking
> about.
> I was asking about building it yourself from source.


slide some options into the slackbuild scripts.

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 10:19 AM
Martin J. Green
 
Posts: n/a
Default Re: Building Slack From source


"jim dorey" <skaar@ns.sympatico.ca> wrote in message
newsp.svglbplyfr5e9h@trebuchet...

> slide some options into the slackbuild scripts.


"William Hamblen" <wrhamblen@comcast.net> wrote in message
news:deKdnXONz-ifuWPfRVn-1g@comcast.com...

> You get the sources and build scripts with the CD-ROMs. You can do your
> own optimizations and build your own packages.


I have source already - I build the biggies like apache, mysql, openssl,
openssh and various other from source with my own config options in places,
however the problem with the above responses is that such a solution is only
good for building one or two packages. Building an entire system requires a
specific build order. It also requires a certain amount of work to ensure
that the vanilla slack toolchain etc doesn't end up in the newly built
packages (probably resulting on a broken toolchain). Most likely I'd also
change from i486-slackware-linux to i686-slackware-linux,
athlon-slackware-linux (not sure this one is valid, some links on google
seem to suggest it is, but others such as the gentoo docs suggest it should
be i686) or x86_64-slackware linux (no, I know this one probably isn't quite
correct but u get the idea), which makes the build order and method
especially important.

"Joost Kremers" <joostkremers@yahoo.com> wrote in message
news:slrndfrlqt.rdg.joostkremers@j.kremers4.news.a rnhem.chello.nl...

> you're not the first one to ask this in this NG. go to google's advanced
> group search, and search specifically in aols, that should turn up a few
> threads.


Thanks Joost. I'll take a look



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 10:20 AM
Jon Firestar
 
Posts: n/a
Default Re: Building Slack From source

"Martin J. Green" <martin.green@NOSPAM.firstinternetservices.com> writes:

> "jim dorey" <skaar@ns.sympatico.ca> wrote in message
> newsp.svglbplyfr5e9h@trebuchet...
>
>> slide some options into the slackbuild scripts.

>
> "William Hamblen" <wrhamblen@comcast.net> wrote in message
> news:deKdnXONz-ifuWPfRVn-1g@comcast.com...
>
>> You get the sources and build scripts with the CD-ROMs. You can do your
>> own optimizations and build your own packages.

>
> I have source already - I build the biggies like apache, mysql, openssl,
> openssh and various other from source with my own config options in places,
> however the problem with the above responses is that such a solution is only
> good for building one or two packages. Building an entire system requires a
> specific build order. It also requires a certain amount of work to ensure
> that the vanilla slack toolchain etc doesn't end up in the newly built
> packages (probably resulting on a broken toolchain). Most likely I'd also
> change from i486-slackware-linux to i686-slackware-linux,
> athlon-slackware-linux (not sure this one is valid, some links on google
> seem to suggest it is, but others such as the gentoo docs suggest it should
> be i686) or x86_64-slackware linux (no, I know this one probably isn't quite
> correct but u get the idea), which makes the build order and method
> especially important.



Actually, if I have this correct, it doesn't really matter about build
order in this case. Assuming you are using an existing slack
distribution to rebuild itself you are just replacing the packages
with themselves and therefore, getting from a vanilla slack, to an
optimised vanilla slack will cause very few problems. It is a problem
in LFS because you are essentially using one system to install another
(different) system, and so you don't want anything from the older
system to be left on the new system. When rebuilding an existing system
you don't have those problems.

Besides, if you read the documentation you shouldn't optimise much, if
any, of the tool chain anyhow. Your best bet will be to leave at least
the tool chain in tact and use the source and build scripts to rebuild
everything else. From what I remember from my dabbling, not even
Gentoo optimises the tool chain and LFS certainly doesn't.

Only if you are thinking of upgrading or replacing various parts of
the system do you need to worry about build order. It shouldn't be
hard to work this out anyway. Check out a recent copy of LFS (and BLFS
for later) on and use it as a template -- that book tells you the build
order. Then all you need to do is use the Slackware source, and the
existing build scripts -- with editions made -- to build slack from source
in a blank environment. It's quite possible that you'll need to build
the base system first through (or just perform a /very/ minimal
install of Slack and go from there) in order to run pkgtools so that
you can register the created packages.

Still I think your best bet would be to start with Slack and use it to
rebuild itself. Leaving the basic tool chain completely in tact as to
avoid any problems.

Hope this is of some help,
Jon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 10:20 AM
Sylvain Robitaille
 
Posts: n/a
Default Re: Building Slack From source

In article <42fd59f2$1@news1.homechoice.co.uk>, Martin J. Green wrote:

> Is there any docs anywhere on building a complete slackware system from
> scratch? Sure I could use gentoo or follow the LFS docs, but I like
> slackware, I just want to completely optimise my system for my hardware.


Follow LFS as a guide to what order to get started in, but use the
Slackware source packages and SlackBuild scripts to actually build the
packages. That's what I've done to get a project going to properly port
Slackware to one of my non-Intel systems, and though I'm not finished
that project, I have a good head-start on it.

--
----------------------------------------------------------------------
Sylvain Robitaille syl@alcor.concordia.ca

Systems analyst Concordia University
Instructional & Information Technology Montreal, Quebec, Canada
----------------------------------------------------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:56 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com