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 09-10-2015, 07:04 PM   #1
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241

Rep: Reputation: 45
Slackware from Scratch build


Don't know what happened but I submitted this yesterday, but there is no sign of it today.

I have successfuly built Slackware from Scratch, part 1.

There were a few problems along the way:
1) Kmod originally failed to build.
Resolution: The SlackBuild was modified to NOT build the docs.
After internet connection was established, the
SlackBuild was restored and kmod rebuilt.

2) Usbutils originally failed to build.
Resolution: Downloaded the usb.ids file from
http://www.kernel.org/pub/linux/utils/usb/usbutils.
Modified the SlackBuild stop download try. Again, after
internet access was established, the SlackBuild was restored
and usbutils rebuilt.

3) Fuse-2.8.5 refused to compile.
Resolution: Upgraded to Fuse-2.9.3.

4) Svgalib would not build.
Resolution: Untarred the sbgalib*.tar.bz2 Commented out the
round() function in gtf/gtfcalc.c and remade the tar.bz2 file.
This function is now contained in the include files.

5) Net-tools wouldn't compile.
Resolution: Remove reference to the SLS patch from the SlackBuild
and modified config.h by hand.

6) Iptools build failed with error: No sqmlspl.
Resolution: rebuilt linudoc-utils.

7) Not problems, but a number of items were taken from LFS or
from Slackware-current. Among them were gcc, linux kernel,
binutils, and glibc. They seemed to work out ok.

Once again, Nobidino, thanks for showing me the way. I had a lot of fun
with this. Maybe, if I live long enough, I'll get the X11 part of SFS done.

Worsel
 
Old 09-10-2015, 07:20 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Congradulations!
 
Old 09-13-2015, 04:32 AM   #3
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
Well done.
You're the first one trying what I posted for slfs.
Concerning the building of the binutils/gcc/glibc chain, the man difficulty is gcc. I can provide my modified gcc.SlackBuild so that you can build the entire system.
I tried to "automatize" a little by dividing it in 4 steps. I used SlackMATE scripts and modified them (slacklfs1 to slacklfs4 with build_order1 to build_order4 lists of packages). There are not perfect scripts, I'm not a programmer, some may say they're awful, but they work for my purpose.
Here are the first two steps.

Take care the uploaded files should be renamed as: build_order1.txt to build_order and slacklfs1.txt to slacklfs1.sh (chmod +x *.sh) and so on.
Attached Files
File Type: txt Slackware from scratch -v06072015-first.txt (15.4 KB, 139 views)
File Type: txt build_order1.txt (362 Bytes, 87 views)
File Type: txt build_order2.txt (328 Bytes, 64 views)
File Type: txt slacklfs1.txt (957 Bytes, 78 views)
File Type: txt slacklfs2.txt (987 Bytes, 60 views)
 
3 members found this post helpful.
Old 09-15-2015, 11:25 PM   #4
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241

Original Poster
Rep: Reputation: 45
The scripts are interesting. I haven't been able to go through them in detail,
but I can see they should do the job. More on this later.

By the way, I'm rather pragmatic about software. If it works it's good.

Worsel
 
Old 09-16-2015, 08:19 AM   #5
nolretou
Member
 
Registered: Apr 2014
Distribution: Slackware
Posts: 98

Rep: Reputation: Disabled
Thanks for sharing your steps !
 
Old 09-20-2015, 04:40 AM   #6
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
the last two steps (step3 and step4).
Attached Files
File Type: txt build_order3.txt (389 Bytes, 61 views)
File Type: txt build_order4.txt (151 Bytes, 56 views)
File Type: txt slacklfs3.txt (964 Bytes, 50 views)
File Type: txt slacklfs4.txt (793 Bytes, 52 views)
 
1 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
How I can Build Slackware From Scratch (by source CDs)? alMubarmij Slackware 32 04-05-2016 09:14 AM
how to build a debian from scratch adriankevin Debian 23 09-30-2011 04:50 PM
mod_jk build from scratch dunamin Linux From Scratch 3 08-27-2005 12:05 AM
Build from scratch JROCK1980 Linux - Distributions 2 09-09-2003 07:28 PM

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

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