LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-21-2016, 09:51 PM   #46
slackerDude
Member
 
Registered: Jan 2016
Posts: 157

Rep: Reputation: Disabled

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?
 
Old 04-22-2016, 12:12 AM   #47
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241

Original Poster
Rep: Reputation: 45
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
 
Old 04-22-2016, 04:40 AM   #48
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
Worsel: tested your patch for "test_glibc", it worked just now.

Concerning the reason why I'm doing it: just learning.
 
Old 04-22-2016, 05:07 AM   #49
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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.
 
Old 04-23-2016, 11:28 PM   #50
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241

Original Poster
Rep: Reputation: 45
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
 
Old 04-24-2016, 11:55 AM   #51
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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)
Attached Files
File Type: txt sfsbuild1.sh.txt (26.1 KB, 42 views)
File Type: txt sfsinit.sh.txt (86.0 KB, 47 views)

Last edited by nobodino; 04-24-2016 at 11:59 AM. Reason: to quick to click!
 
Old 04-26-2016, 02:42 PM   #52
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
new update.
Should be compatible with slackware and dlackware.
Should build on x86 and x86_64.
Attached Files
File Type: txt README-sfsd-v24042016.txt (14.1 KB, 47 views)
File Type: txt sfsinit.sh.txt (91.5 KB, 45 views)
File Type: txt sfsbuild1.sh.txt (26.8 KB, 40 views)

Last edited by nobodino; 04-27-2016 at 01:55 PM. Reason: bug in sfsbuild1.sh
 
Old 04-27-2016, 12:30 AM   #53
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241

Original Poster
Rep: Reputation: 45
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
 
Old 04-27-2016, 12:49 AM   #54
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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
 
Old 04-27-2016, 02:32 PM   #55
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241

Original Poster
Rep: Reputation: 45
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.
Attached Files
File Type: txt jadetexbuild.patch.sh.txt (413 Bytes, 49 views)
 
Old 04-27-2016, 03:10 PM   #56
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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
 
Old 04-27-2016, 04:44 PM   #57
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241

Original Poster
Rep: Reputation: 45
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.
Attached Files
File Type: txt jadetexbuild.patch.sh.txt (413 Bytes, 42 views)
 
Old 04-29-2016, 12:49 AM   #58
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
Worsel:
ok, your patch works, my suggestion doesn't. I just this morning in a x86_64 slackware system.
 
Old 04-30-2016, 10:03 PM   #59
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241

Original Poster
Rep: Reputation: 45
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.
Attached Files
File Type: txt sfsinit64.diff.txt (17.3 KB, 47 views)
 
Old 05-02-2016, 02:21 AM   #60
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241

Original Poster
Rep: Reputation: 45
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] /usr/bin/X11/X11/....... 10 X11 subsets & counting walter74 Linux - General 2 06-07-2015 12:36 AM
How do I get the /etc/X11/X file rebuilt from scratch rickh Debian 4 05-07-2006 11:06 PM
ali aladdin v agp stinks :scratch: :scratch: :scratch: Mr Marmmalade Linux - Hardware 1 07-08-2003 05:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration