LinuxQuestions.org
Register a domain and help support LQ
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 02-08-2011, 08:20 PM   #1
Micah
Member
 
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64 14
Posts: 180

Rep: Reputation: 31
Question Rebuild all packages - correct order?


I'm needing to build ALL packages from scratch... Is there a common order to do this? or is it just go through the tree marking: pkg1 done, pkg2 failed, pkg3 done... and then just process until all are done?

Why would anyone do such a thing?! Well... I'm trying to install slackware on my PPC G4 machine... Slackintosh 12.1 is a bit old and I couldn't get that CD to boot. I installed an old Gentoo PPC version to get the system to boot... I have a second hard drive to install Slackware 13.1/Current onto and then I'll dump the Gentoo drive...

My first thought was to do a LFS tool chain and then begin the packages based on the LFS order but I've already hit snags with dependancies using the SlackBuilds because of old Gentoo and new Slackware. (I'm using sources from 13.1 tree.) -- If i do the LFS configure, the dependancies aren't an issue because it's a temp toolchain.

Or maybe I just need another approach or perhaps my approach is good. Comments, Suggestions or Ideas?
 
Old 02-08-2011, 09:47 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Hey listen...I love Slackware too, but you need to ask yourself if the juice is worth the squeeze.

There is a reason that Slackintosh was created (and indeed, why it died), compiling all of Slackware for a different architecture is no easy task. There is more to it than simply building all the packages for PPC, there are changes and new packages/libraries that need to be added in.

Last edited by MS3FGX; 02-08-2011 at 10:05 PM.
 
Old 02-08-2011, 09:58 PM   #3
Micah
Member
 
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64 14
Posts: 180

Original Poster
Rep: Reputation: 31
Here is my issue... as it is, the PC is useless... Even the Gentoo I have installed is worthless... So my option is to migrate Slackware to PowerPC or to do a complete BYOL or LFS... No matter what I have a lot of work to do.

Why Slackware? I like the Package management... This is a server so I won't have xwindows or any GUI's which should reduce complexities and reduce the total number of packages... =D

There are other packages that are required and thats fine (like the mac-fdisk and such)
 
Old 02-08-2011, 10:09 PM   #4
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 249Reputation: 249Reputation: 249
Greetingz!

GrapefruiTgirl had an EPIC thread back in '07 about this very topic.
 
Old 02-08-2011, 10:14 PM   #5
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 249Reputation: 249Reputation: 249
@Micah

Not that I would attempt to discourage you from such a really cool endevor...but like MS3FGX said, "is the juice is worth the squeeze?"

Quote:
Originally Posted by Micah View Post
Here is my issue... as it is, the PC is useless... Even the Gentoo I have installed is worthless... So my option is to migrate Slackware to PowerPC or to do a complete BYOL or LFS... No matter what I have a lot of work to do.
That's not wholly true, there's a few PowerPC Linux builds out there...or would that be PPC64?

Quote:
Originally Posted by Micah View Post
Why Slackware? I like the Package management...
Correct me if I'm wrong, but package-mangement is only handy when you're upgrading/adding/removing software a lot. If you have to compile it all yourself, then the only advantage any sort of package-management software would lend is if you had a large install base of the same type of computer....
 
Old 02-08-2011, 10:20 PM   #6
Micah
Member
 
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64 14
Posts: 180

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by xeleema View Post
Greetingz!

GrapefruiTgirl had an EPIC thread back in '07 about this very topic.
Thanks! I'll be reviewing this in depth!
 
Old 02-08-2011, 10:35 PM   #7
Micah
Member
 
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64 14
Posts: 180

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by xeleema View Post
@Micah

Not that I would attempt to discourage you from such a really cool endevor...but like MS3FGX said, "is the juice is worth the squeeze?"

Correct me if I'm wrong, but package-mangement is only handy when you're upgrading/adding/removing software a lot. If you have to compile it all yourself, then the only advantage any sort of package-management software would lend is if you had a large install base of the same type of computer....
Note 1: It's PPC G4, 32 bit... Custom built Mac (I had to buy refurb/ebay mainboard, cpu and PSU, but everything else is custom.)
Note 2: I've had issues getting ANY linux CD to boot. Gentoo was the first usable, but it's an archaic build and I really don't like Gentoo compared to Slackware (I did use Gentoo for about 3 years, but I still like Slackware better)
Note 3: I have several PCs, 32 bit, 64 bit and a PPC and I like having my custom SlackBuild's that I run and just install - simpler maintenance (yes, it is a hefty up front workload) -- I update some packages alot, but the script remains the same 90% of the time (MySQL, PHP, Apache and such)
Note 4: (more of 3) I'd like to be able to upgrade easily... Most packages will compile using the SlackBuilds without any changes so it'd be nice to just let it recompile it and install it -- like I do on my VIA C7 CPUs (I do a few extra optimizations too).

and Lastly... I need something to do =P

Side Note:
I do think I will start off preparing the LFS tools and then begin Slackware on top of that. (using Slackware sources where I can to start.)

Goals:
1. Make it as much like Slackware as possible - especially in PKG management
2. Be able to upgrade along with the Slackware upgrade path since I'll be using it on other PCs too (even if I have to recompile)
3. Make a Cross-Compiler for x86, x64, PPC, Embedded ARM with DISTCC on all my platforms
4. Do some custom c/c++ development that is cross-platform (Arch and OS)
5. MOST IMPORTANT: Tinker because I can... =D

Last edited by Micah; 02-08-2011 at 10:41 PM. Reason: Typos and added my Goals
 
Old 02-08-2011, 11:45 PM   #8
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,260

Rep: Reputation: 645Reputation: 645Reputation: 645Reputation: 645Reputation: 645Reputation: 645
You should see this article by Alien Bob after 64-bit Slackware was made public (unfortunately you now are required to sign up to read the article, and they ask some very intrusive questions...). In particular he mentions using CLFS to create the initial environment. Since there technically is a base to start from (Gentoo I guess) you could probably get away without needing to start with cross compilation and instead upgrade core packages bit by bit and expand the system out, but it won't be very clean and you'll have to try to sterilize the system of old junk afterward (assuming you want a 100% clean Slackware port). Either way you'll have to make a few passes over some packages...LFS/CLFS is definitely a good start, and once the environment is capable enough you can start using SlackBuilds to create packages (and then rebuilding the initial environment to support Slackware packages).

It's a lot easier to maintain an existing system than to build one from scratch, so the initial work is definitely going to be the trickiest and I wish you luck if you are determined to continue. Although I have no use for PPC-Slackware, I'm sure the community could benefit if you share your work.
 
Old 02-09-2011, 01:20 AM   #9
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,457

Rep: Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886
slackintosh-current seems pretty much up-to-date...
 
Old 02-09-2011, 01:07 PM   #10
Micah
Member
 
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64 14
Posts: 180

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by T3slider View Post
You should see this article by Alien Bob after 64-bit Slackware was made public (unfortunately you now are required to sign up to read the article, and they ask some very intrusive questions...). In particular he mentions using CLFS to create the initial environment. Since there technically is a base to start from (Gentoo I guess) you could probably get away without needing to start with cross compilation and instead upgrade core packages bit by bit and expand the system out, but it won't be very clean and you'll have to try to sterilize the system of old junk afterward (assuming you want a 100% clean Slackware port). Either way you'll have to make a few passes over some packages...LFS/CLFS is definitely a good start, and once the environment is capable enough you can start using SlackBuilds to create packages (and then rebuilding the initial environment to support Slackware packages).

It's a lot easier to maintain an existing system than to build one from scratch, so the initial work is definitely going to be the trickiest and I wish you luck if you are determined to continue. Although I have no use for PPC-Slackware, I'm sure the community could benefit if you share your work.
(I won't be signing up to read the article although I probably should...)

Thanks. I'll be installing all new packages on a new drive so I should be able to keep it 'fairly' clean... =D

You are right - I could update the gentoo dist enough to be able to run the SlackBuilds and then install them to the second drive, boot into the drive (reboot or chroot) and then rebuild it all again and, in theory, make a clean Slackware install =D... In theory...

Last edited by Micah; 02-09-2011 at 01:12 PM.
 
Old 02-09-2011, 01:10 PM   #11
Micah
Member
 
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64 14
Posts: 180

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by ponce View Post
slackintosh-current seems pretty much up-to-date...
I have two issues here:
1. I can't get the thing to boot...
2. It's last update was well over a year ago...

I will use it as a reference if some packages won't compile or I find I need other packages.
 
Old 02-09-2011, 09:10 PM   #12
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
The last update to Slackintosh -current was October 2010. I suppose that is technically a year ago now...but perhaps we could give them a bit more credit.
 
Old 02-09-2011, 10:20 PM   #13
Micah
Member
 
Registered: Apr 2002
Location: OK, USA
Distribution: Slackware64 14
Posts: 180

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by MS3FGX View Post
The last update to Slackintosh -current was October 2010. I suppose that is technically a year ago now...but perhaps we could give them a bit more credit.
Sorry about that... I was going off of the news page and I mis-read the changelog date.
I still can't boot the CD image and I do plan to use it as a reference if I can't get everything to compile.
 
  


Reply

Tags
package, powerpc, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] Rebuild /var/log/packages sojasau Slackware 6 12-04-2009 04:52 AM
Rebuild Nagios-packages for RHEL 5 kenneho Linux - Server 14 07-07-2009 02:34 AM
Correct Order of Install - WinXP, BSD & Solaris Express tschima *BSD 7 04-17-2008 01:41 PM
how does system-config-services know the correct order for service startup ? jtmoon Linux - Software 2 06-17-2006 01:16 AM
How can it ell Grip where put my ripped files and sort the in the correct order MvD Linux - Software 2 10-16-2003 03:10 AM


All times are GMT -5. The time now is 11:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration