Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
12-05-2015, 01:10 AM
|
#1
|
Member
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241
Rep:
|
Slackware from Scratch and X11
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.
Worsel
|
|
|
12-05-2015, 01:13 AM
|
#2
|
Member
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241
Original Poster
Rep:
|
Oops another file
This one didn't want to go! 
|
|
|
12-05-2015, 06:59 AM
|
#3
|
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,611
|
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
|
|
|
12-05-2015, 07:19 PM
|
#4
|
Member
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241
Original Poster
Rep:
|
Aah, peer review. It's a wonderful thing.
Quote:
- 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. 
|
|
|
12-07-2015, 12:51 AM
|
#5
|
LQ Guru
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792
|
Quote:
Originally Posted by worsel
Still not sure that everything got built, but apparently nothing
vital was left out.
|
You should be able to check /tmp/x11-build for any *.failed files to see if anything failed to build.
Code:
ls -la /tmp/x11-build/*.failed
|
|
1 members found this post helpful.
|
12-09-2015, 10:20 PM
|
#6
|
Member
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241
Original Poster
Rep:
|
Quote:
You should be able to check /tmp/x11-build for any *.failed files to see if anything failed to build.
|
Why didn't I think of this before removing /tmp/x11-build? 
|
|
|
12-13-2015, 01:18 AM
|
#7
|
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,611
|
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.
SlackBuild modified with:
# debian patches
zcat $CWD/Bug#805377-man-pt_BR-ifconfig.8.patch.gz | patch -p1 --verbose || exit 1
zcat $CWD/Bug#541172-netstat.c-exit-codes.patch.gz | patch -p1 --verbose || exit 1
zcat $CWD/translations.patch.gz | patch -p1 --verbose || exit 1
zcat $CWD/Add_missing_headers.patch.gz | patch -p1 --verbose || exit 1
zcat $CWD/Bug#443075-ifconfig.c-pointtopoint_spelling.patch.gz | patch -p1 --verbose || exit 1
zcat $CWD/Bug#500913-man-en_US-route.8-EXAMPLES-Add-single-route-del.patch.gz | patch -p1 --verbose || exit 1
Last edited by nobodino; 12-13-2015 at 02:42 AM.
Reason: found a solution : modify slackBuild
|
|
|
12-13-2015, 05:41 AM
|
#8
|
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,611
|
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!
|
|
2 members found this post helpful.
|
12-13-2015, 10:23 PM
|
#9
|
Member
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241
Original Poster
Rep:
|
Sorry I couldn't get right back to you, but I see you found a solution for net-tools.
Better than mine. I went in and modified "by hand".
Your new memo looks good. I'm going to rebuild mine from "scratch" (No pun intended)
after the 1st of the year. Just as soon as I find time.
|
|
|
12-21-2015, 01:20 AM
|
#10
|
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,611
|
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.
|
|
2 members found this post helpful.
|
02-07-2016, 05:59 AM
|
#11
|
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,611
|
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.
|
|
3 members found this post helpful.
|
02-11-2016, 04:02 PM
|
#12
|
Member
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241
Original Poster
Rep:
|
Looks good, Nobodino.
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.
|
|
|
02-12-2016, 09:28 AM
|
#13
|
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,611
|
Please, share your scripts when you've finished the two parts. I'm interested in.
|
|
|
02-15-2016, 12:59 AM
|
#14
|
Member
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241
Original Poster
Rep:
|
Nobodino,
In your second text you call for a patch to rcs, upstream-260704a916.diff.gz.
I can't seem to locate this patch. Would you be so kind as to provide a link?
TIA,
Worsel
|
|
|
02-15-2016, 01:16 AM
|
#15
|
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,611
|
see enclosed diff.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 10:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|