SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Rebuilt Slackware from Scratch, using Slackware-current,
downloaded February 8, 2016. I know there have been
upgrades since, but I like to keep my sources stable
for the duration of a build.
Problems found were:
1. I missed that libarchive had been moved to build list 2
and had to add "--without-archive" to the slackbuild
and rebuild in list 3.
2. Had to build eudev early. Wget would not compile. Disabled
introspection for the first build.
3. Had to rebuild libpng-1.6.20 before cmake would work.
4. The tix patch you gave would not work for me, Nobodino. Don't
know what I was doing wrong. Anyway I went in and removed those
two pesky exclamation marks by hand.
5. Had a hard time finding p2c-1.22. Finally found it on the
Madiera sight. p2-1.22-26.mga6.src.rpm.
6. Doxygen was okay after I wrote my own SlackBuild.
Anything else has been previously covered by myself or Nobodino.
There were a number of other problems, mostly pebkac's. The
biggest one though, was finding time to do this. It was fun however.
Nobodino, my scripts are attached. Also patches for all the
SlackBuilds we change. Enjoy!
1. Dialog somehow became linked to libncursessw-6.0. Had to recompile.
I think this happened because I did not delete the tools directory
in time. It probably should be deleted as soon as we build gcc.
Can't see that it should be used after that.
2. Xdm would boot me into root, but not user.
The error message was "XDM authorization key matches an existing
client![fvwm][main]: <<ERROR>> can't open display :0"
A search on the internet led me to a BSD message recommending
slim instead of gdm or kdm. I grabbed it from Slackbuilds.org,
installed it, and lo ... it worked!
On the other hand I got fvwm, firefox, and thunderbird working.
In your bbp20062015.txt, you indicated that both gstreamer and gstreamer0 needed their
SlackBuilds modified. I found the patch for gstreamers0 and blindly (I believe that is
a euphemism for stupidly) applied the patch to both SlackBuilds. If this was not the
intent, please advise.
Rebuilt SFS using slackware64-current dated 2016-03-04.
The only new problem was net-tools. To compile it I had to
build libical and bluez just before net-tools.
I noticed that several X programs complain that doxygen does
not exist. Might it not be a good idea to build doxygen before
building X? I'll test this with my next build.
I already succesfully rebuild a fairly minimal slackware install before and the instructions here are very nice.
There is something I would like to try but cannot seem to find out how. I want to install a minimal slackware build and chroot into it and continue building. Meaning to installpkg from a non-slackware host and add all needed packages to rebuild themself.
You could get the same by doing a minimal install, boot a livecd and chroot from there.
Firstly, could someone provide me a list of packages needed for slackware such that the resulting system is able to rebuild itself? Containing enough to have a lfs-like system.
Next question, what would be the easiest way to get pkgtools installed on a non-slackware distro, without untarring slackware packages.
My guess would be to install tar-1.13 and copy the installpkg (and makepkg) script(s) on the host/livecd system.
Minimal list is kinda available in the notes provided by nobodino.
Last edited by hendrickxm; 03-11-2016 at 07:01 AM.
For your first question, I don't know that continuing in chroot after my sfsbuild4.sh script (see previous posts in this thread for scripts)j
is wise. (This is equivalent to finishing nobodino's "slackware from scratch -v03022016-first.txt" listing. (also available earlier in this thread).
At this point I reboot into the newly built system. It is fully capable of rebuilding itself at this point.
To continue after this point without rebooting probably requires some sort of virtual machine software. I've no experience with such. For more
info see my post in the bedrock linux forum.
For your second question, I believe your guess is correct. Take care though, programs don't always install smoothly on alien systems!
Thanks for your reply.
My idea is to get pkgtools on a host distro (livecd), install a list of packages (original slackware-current packages), similar as the one nobodino to build the chrooted environment, chroot into the system and rebuild the system, then add up to whatever I need.
And to get pkgtools (actually installpkg is enough) I guess adding tar-1.13 and the installpkg script should do it. If not, I can try with a livecd from zenwalk, slax, salix, ... that has pkgtools.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,527
Rep:
A new update for "Slackware From Scratch", now the process is rather "automatic". I used Worsel's scripts and adpated them to an x86 system and simplified a little bit. There's no more tricks in the beginning of the process of building, it is clean.
Glibc is built from the beginning.
Tar-1.13 and which are included in "tools" to able to build cleanly the first seeds of slackware: makepkg, etc, aaa_base and glibc.
From now I've just done it for the first part.
You can try it, and if you're as lazy as I am, you just need a "resynced slackware repository", build LFS up to chapter 5 and execute about 10 scripts.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.