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.
I have succeeded in building X11 under Slackware from Scratch.
It was built in one step and seems to run fine. Blackbox came
up smoothly and there were no problems in the half hour I played
with it.
Still not sure that everything got built, but apparently nothing
vital was left out.
There were a few problems along the way:
1) Some programs, although not all, (didn't make a list ),
needed LD_LIBRARY_PATH="/lib64:/usr/lib64" to find the
libraries.
2) Mesa needs libelf, which doesn't seem to be in -Current.
I used the source package from SW-14.1.
3) I had to recompile m4 and libtool. They thought they
should be in the tools directory which had been deleted.
4) Can't read my own handwriting. Anyway, two files (invocation.cpp
and radeon-elf-util.c) needed "include <gelf.h>" and
"include <libelf.h>" changed to "include <libelf/gelf.h>"
and "include <libelf/libelf.h>" respectively. I'll try to
run them down tomorrow. (It's midnight here in Washington state.)
5) xserver needed libepoxy installed.
6) Also had to recompile glib2 before gtk-pixbuf2 would compile.
The list and scripts I used are attached. If anyone wants to use
them, be careful. They're quite picky about changes and I'm not to
sure that the build order is optimal.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,489
Rep:
comments:
- nice job!
- 2/ and 4/ did you install elfutils? libelf was for Sl-14.1 and elfutils for Sl-14.2 (current)
- 2/ if you built mesa only once, I think mesa-demo doesn't build. You may build it once, install it and build a second time to have mesa-demo built, and then upgradepkg mesa (maybe a second "x mesa" after "x freeglut" in your build5list?)
- I'm surprised you manage to build "dbus" directly, without the need to modify the SlackBuild and execute "dbus-uuidgen --ensure" to build dbus-glib/dbus-python?
- did you manage to build xcm-0.5.2?
- at the end, everything should compile without a hitch, on x32 version, at least.
Last edited by nobodino; 12-05-2015 at 07:06 AM.
Reason: orthograph
- 2/ and 4/ did you install elfutils? libelf was for Sl-14.1 and elfutils for Sl-14.2 (current)
No. Somewhere I missed this one. Looked for it too, when I couldn't fined libelf on the
64 bit system. Probably because I didn't know what to look for. Wonder what else I missed?
Cancel 4) above. With elfutils installed, it should build without modifying the files.
Don't know if a 32 bit build needs the files changed or not.
Quote:
- 2/ if you built mesa only once, I think mesa-demo doesn't build.
You are correct. Mesa-demo did not build.
Quote:
- I'm surprised you manage to build "dbus" directly, without the need to modify the SlackBuild and execute "dbus-uuidgen --ensure" to build dbus-glib/dbus-python?
- did you manage to build xcm-0.5.2?
Okay, I missed commenting on this. I did modify dbus per your instructions. "dbus-uuidgen --ensure" was in my scripts somewhere. Must have deleted it
and not noticed. Still dbus-glib & dbus-python seemed to build normally.
Yes, xcm-0.5.2 compiled. At least it made a package that appears to be okay visually. I'll test it later today.
I will correct my system and rebuild X11. Probably won't happen until sometime next week with my schedule.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,489
Rep:
Is net-tools working correctly, as it should?
Don't you have that kind of message:
root@darkstar_noob:/tmp# ifconfig
No usable address families found.
socket: Success
Id doesn't compile correctly in slackware as well.
Solution: grab sources from debian net-tools_1.60+git20150829.73cef8a.orig.tar.gz and net-tools_1.60+git20150829.73cef8a-2.debian.tar.xz, apply the patches and it builds and works normally.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,489
Rep:
I've updated the build of "Slackware from scratch" memo. I did it manually this time, didn't use my scripts to see what's new.
It's been built from LFS-7.8 for the first part and slackware-current up to 03/12/2015 for the build of Slackware.
There are fewer patches, but new ones.
Works pretty well.
Last edited by nobodino; 12-13-2015 at 05:42 AM.
Reason: forgot the memo!
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,489
Rep:
I've updated the second part, the building of X11 up to xfce functional.
No problem with building X11, no *.failed package if you respect the correct order described here under.
Couldn't get llvm-3.7.0 to build, get back to 3.6 version.
Very few SlackBuilds modified.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,489
Rep:
I've improved the memos to build slackware from scratch. They are rather clean now, I believe.
No more x11 failure, just a few patches included.
The system has complete gcc subsystem, and the xfce environment.
Feel free to test.
I modified my scripts to follow your latest. Didn't take much for the first part.
Last night I built the basic system with no problems. In the next couple of days
I'm going to do the X11 section.
Up to installing BlackBox, it seems pretty much the same. Some work to do after that
though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.