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.
|
|
|
04-21-2016, 09:51 PM
|
#46
|
Member
Registered: Jan 2016
Posts: 164
Rep:
|
Sorry for the intrusion - just curious what the purpose of this project/task is? Is there a performance benefit? Or are you doing it for some other reason?
|
|
|
04-22-2016, 12:12 AM
|
#47
|
Member
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241
Original Poster
Rep:
|
Quote:
Sorry for the intrusion - just curious what the purpose of this project/task is? Is there a performance benefit? Or are you doing it for some other reason?
|
Speaking only for myself, fun and learning.
Worsel
|
|
|
04-22-2016, 04:40 AM
|
#48
|
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
|
Worsel: tested your patch for "test_glibc", it worked just now.
Concerning the reason why I'm doing it: just learning.
|
|
|
04-22-2016, 05:07 AM
|
#49
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Fun and learning are the best motivators I think. If the fun stops or you think there is nothing more to be learnt, that is when innovation stops.
|
|
|
04-23-2016, 11:28 PM
|
#50
|
Member
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241
Original Poster
Rep:
|
Nobodino,
First the good news: I adapted your latest script to build slackware64-current, using sources downloaded 2014/04/18.
The build ran to completion showning no errors. Also it boots and runs.
Now the bad news:
1. Had to add "export LD_LIBRARY_PATH="/lib64:/usr/lib64" near the top of sfsbuild1.sh to get ghostscript to build.
2. Had to add the patch "jadetexbuild.patch" to sfsinit.sh to get jadetex to build. Did you really build
slackware without this patch? If so, the build works differently on 32 bit vs 64 bit.
3. Have to hit "^C" to complete the boot. It's geting late here so I'll look into this tomorrow.
4. Also cannot connect to the internet. "ifconfig eth0" returns an error message about 'not finding the device'.
Still a good job. Thanks
Worsel
|
|
|
04-24-2016, 11:55 AM
|
#51
|
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
|
Worsel:
1: maybe could you try these new files included: just put them in an empty $LFS directory and execute: ./sfsinit.sh (it should be compatible with x86_64, to be tested)
2: no patch needed
3: didn't hit "^C" to complete the boot
4: no more errors with ifconfig.
Nota:
The sfsinit contains also the patches.
No more ch6prep: included in sfsbuild1.sh
You may have soon two options: slackware and dlackware (not complete for the time being)
Last edited by nobodino; 04-24-2016 at 11:59 AM.
Reason: to quick to click!
|
|
|
04-26-2016, 02:42 PM
|
#52
|
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
|
new update.
Should be compatible with slackware and dlackware.
Should build on x86 and x86_64.
Last edited by nobodino; 04-27-2016 at 01:55 PM.
Reason: bug in sfsbuild1.sh
|
|
|
04-27-2016, 12:30 AM
|
#53
|
Member
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241
Original Poster
Rep:
|
Nobodino,
I just tried your new scripts. Sfsbuild1.sh quits when it tries to build jadetex.
The following error message appears:
Quote:
jadetex-3.13/ut1omlgc.fd
tex jadetex.ins
This is TeX, Version 3.141592 (Web2C 7.5.4)
Makefile:4: recipe for target 'basic' failed
make: *** [basic] Segmentation fault
tex jadetex.ins
This is TeX, Version 3.141592 (Web2C 7.5.4)
Makefile:4: recipe for target 'basic' failed
make: *** [basic] Segmentation fault
|
It's too late to try again tonight, but in the two previous versions, applying the
"jadetexbuild.patch" allowed it to continue. I still don't understand why you are
not having the same problem, but that's life. . . .
Worsel
|
|
|
04-27-2016, 12:49 AM
|
#54
|
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
|
could you provide the patch for jadetex, I could include it in case x86_64?
tetex is a two pass building,
insert : "source /etc/profile/tetex.sh" just before ". $CWD/jadetex.build" in the tetex.SlackBuild
Last edited by nobodino; 04-27-2016 at 01:20 AM.
Reason: maybe a solution: pb of path and pass
|
|
|
04-27-2016, 02:32 PM
|
#55
|
Member
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241
Original Poster
Rep:
|
Slackware from Scratch and X11
Quote:
could you provide the patch for jadetex, I could include it in case x86_64?
|
Thought I had already sent a copy, but can't find it. So much for my memory. . .
The patch is attached.
|
|
|
04-27-2016, 03:10 PM
|
#56
|
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
|
Redownload sfsbuild1.txt there was a bug in.
Haven't you tried modifying tetex.SlackBuild as I suggested (add 'source /etc/profile.d/tetex.sh' before the line '$CWD/jadetex.build ? tetex builds in two pass.
Last edited by nobodino; 04-27-2016 at 03:21 PM.
Reason: Comment and typo
|
|
|
04-27-2016, 04:44 PM
|
#57
|
Member
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241
Original Poster
Rep:
|
Okay, I'll try again. Here it is.
Quote:
Haven't you tried modifying tetex.SlackBuild as I suggested (add 'source /etc/profile.d/tetex.sh' before the line '$CWD/jadetex.build ? tetex builds in two pass.
|
No, I haven't tried that. The patch worked, so I just used it. Will look into your suggestion.
|
|
|
04-29-2016, 12:49 AM
|
#58
|
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
|
Worsel:
ok, your patch works, my suggestion doesn't. I just this morning in a x86_64 slackware system.
|
|
|
04-30-2016, 10:03 PM
|
#59
|
Member
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241
Original Poster
Rep:
|
Nobodino,
I had some problems with booting the kernel after building with your scripts.
The problem seemed to be resolved when I patched sfsinit.sh.
The attached patchfile shows what I did. Look at lines 317 through 367.
|
|
|
05-02-2016, 02:21 AM
|
#60
|
Member
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241
Original Poster
Rep:
|
Carrying on further, I attempted to build X.
Problem 1: The documentation is missing from the source. I scanned the ChangeLogs but
found no mention of this. Is it really gone, Pat, or is it mishap?
Problem 2: The patch, llvmSB.patch did not take and I built 1 1/2 llvm's before I noticed
the second one was being built with gcc also. It's after midnight here so I will look into
it tomorrow or tuesday.
Advice for the day: Do not, repeat Do not start tarring a large directory while building llvm
|
|
|
All times are GMT -5. The time now is 07: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
|
|