SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Next step is the base:
I will build it like this:
R acl 2.2.51
R/U procps-3.2.8(-ng-3.3.9) with newest psmisc-20.22
R net-tools-1.60.20120726git altough this might be replaced by inetutils
R openssl-1.0.1f and openssl-solibs
R gamin again
R sysvinit-functions and salix 14.1 scripts. The scripts are built with SLKBUILD.
@tuxbg, could you provide me your slackbuilds for texinfo-5 and readline-6. Did you try make-4? Any difficulties you ran into with those?
What version of libtermcap are you using? It's a very old package and altering some Makefiles for the programs that depends on it by using ncurses version could make it no longer needed.
Last edited by hendrickxm; 04-10-2014 at 02:58 AM.
I created the symlink because when I was compiling bash, it spewed an error when libreadline.so.5 was not found.
I continued to patch.
I kept kbd-1.5.3 because later versions require libpam-devel.
Tomorrow I will continue and hope to finish rebuilding all base packages. After that it's up to Xorg-1.15.
I will finish my base packages today. I am up to iptables.
I forgot libnfnetlink, I will document my steps more detailed later on.
EDIT: finished base, other updates:
I use salix sysvinit-scripts.
Also, I use linux-libre 3.12.16, I used the buildscript from freeslack with 3.12 testing config. If anyone is interested in the package, it is build on a standard slackware install and can be used without updating the toolchain.
To rebuild grub I needed a few hard to find patches. Most stuff is quite trivial to edit and rebuild.
Last edited by hendrickxm; 04-13-2014 at 01:15 PM.
Xorg is updated to 1.15 as well. I forgot a few packages and my xserver failed because of icu4c. I had upgraded to the latest icu4c but there are some packages that I need to rebuild so I rebuild 51.2 instead. I am going to start on the long list, fix up some stuff and trim down the installation.
After upgrading xorg-1.15 but not every package on my system, some programs crashed more then I liked.
So I restarted the rebuild but this time more thorough.
So, this time... U means I upgraded the package and R means I have rebuild the slackware version or if rebuild after update, it's that version ofcourse.
ln -s libmpc.so.3 libmpc.so.2
ln -s libncurses.so.5 libtermcap.so.2
R procps with U psmisc-22.21
ln -s libreadline.so.6 libreadline.so.5
R openssl and openssl-solibs
U gettext and gettext-tools-0.18.3.2
R sysvinint functions and salix-scripts
Well, the LFS to slackware did not really work out. It kept freezing once I got to compiling binutils in chapter 6. I use the same slackbuilds as on my updated box.
I used binutils for linux and saw that there is an updated version 2.24.X. Next rebuild will use this one.
So I made some progress. After trying to upgrade binutils for linux (126.96.36.199.3) I got errors when trying to rebuild oprofile. Found out that the problem had to do with libiberty.a not being installed.
Found some patches and extra configure flags I did not try because I found a workaround.
Before installing the newly build binutils, I copied the /usr/lib64/libiberty.a file to some other location and after the upgrade, put it back. I am buidling gcc and probably I am not going to rebuild binutils, oprofile, gmp, mpfr, libmpc and gcc again just to see what extra flags and patches are needed.
So I did rebuild binutils-188.8.131.52.3 with the patch and --enable-install-libiberty flag before gcc. I will use the flags tuxbg suggests for gcc. On my core2 laptop the building is a lot faster then on my E-350 AMD testbox.
@tuxbg, can you provide more info on your rebuilding process. I read you use a hostsystem. Do you bootstrap, use a temporary toolchain?