LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 12-08-2001, 07:54 AM   #1
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Masochism or boredom?


Okay, I've just set up my first quadro-boot: Slackware 8.0, FreeBSD4.4, Windows98(Diablo II is a harder habit to shrug off than heroin), and LFS.

What I wanted to know was: has anyone had any problems compiling the primary LFS components from a Slack machine? I know Slack has included a number of BSD components back into glibc and it uses gcc 2.95.3, so does this make anything odd or unusable?

If so that means throwing together a RedHat partition and a penta-boot... I'm half tempted for giggles.

Cheers,

Finegan
 
Old 12-08-2001, 03:16 PM   #2
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
You know what, last week I just finished downloading what I was missing for the base LFS system and am about to dive in. I was wondering the same thing but I honestly don't think that the small differences are going to matter. Now whether i'm right or wrong, i'll let you know! LOL Just for Shi*s & Giggles, why not, go for 5!! Will see about all this LFS soon though...

Too be continued..........
 
Old 12-09-2001, 01:02 AM   #3
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Original Poster
Rep: Reputation: 72
Just finished compiling sed. Gcc took about an hour and a half. Go figure, compiling a compiler... ick...

No issues so far aside from some problems with slack7.1's lack of the curses library, so I had to fiddle to compile bash. Oh, and there is a typo in the compile commands for gcc, one "." instead of two.

I can't believe I've turned LFS into my weekend project. I need to get out more.

Cheers,

Finegan
 
Old 12-09-2001, 12:17 PM   #4
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Hehe...Well, some of us just like tinkering with Linux THAT much! I guess the difference between 7.1 and 8 might make a difference for us particularly but all uses the same source though, so I dunno. I'm still getting myself revved up to go at it. Thanks for the typo error, that's at least one thing I won't bang my head over...
 
Old 12-09-2001, 01:00 PM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Original Poster
Rep: Reputation: 72
glibc took 2+1/2 hours. So far the only issue was the primary compile of bash as I didn't have ncurses on the old slack box.

I really, really, really like how LFS works. There's not a whole lot of flexibility in the assembly of the system, but when you're done, it works, and you have a better idea of how the base of the Linux system is constructed.

Perl, is fun to compile. Larry Wall is on Nitrous.

Do not believe the recomendation of .75Gb, go for 3-4. There is just too much source, so you're going to have to keep moving stuff on and off the lfs partition or erasing and re-de-compressing.

I was probably only 10-15 compiles short of done when I had to go to work. (this being most of slack packages 'a','ap', and a little of 'n' in 12 hours, 2 pots of coffee, half a cold pizza, 14 episodes of Twin Peaks, and a morning run to Hardees during the dynamic link compile of gcc.) I know I shouldn't have tried this on the P1 200Mhz 64Meg Ram machine.

Cheers,

Finegan
 
Old 12-09-2001, 05:21 PM   #6
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Wow, sounds like i'm gonna have fun! I'm going to officially start on Monday. Thanks for the tips too...
I'll let you know how fast a 1G T-Bird with 512 RAM compiles. Not to gloat, just curious as to what the difference will be. Keep the coffee warm...
 
Old 12-10-2001, 04:51 PM   #7
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Original Poster
Rep: Reputation: 72
I think I was wrong about the typo from earlier. Alright, everything is compiled short of the kernel. So after that and installing the init scripts... I get to tweak lilo, reboot, and see.
Then again, I'm going to be compiling 2.4.16 on a P1 200Mhz... this could take a while.

It's a lot of fun after you've chroot'ed into the lfs environment and you compiling something like sed, and then use it, or ifconfig, or lsmod... although oddly enough one of the last pieces to go on is more... less goes on much sooner.

-Cheers,

Finegan
 
Old 12-10-2001, 11:23 PM   #8
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Quote:
Originally posted by finegan

It's a lot of fun after you've chroot'ed into the lfs environment and you compiling something like sed, and then use it, or ifconfig, or lsmod... although oddly enough one of the last pieces to go on is more... less goes on much sooner.

-Cheers,

Finegan
So the saying " Less is more." Is true? LOL ok har har dumb joke. Aside from that I got lazy today with LFS after having to reinstall everything till 1am last night. Partition Magic worked it's magic alright. I only got Windows and all my software done last night and today finally got all Slack done except updating to the 2.4.16 kernel. That shouldn't be too long. At least I got the partitions the way I want em' now and thanks to cd-rw's I have backups of backups and on and on...I thought the 750Meg for LFS was a tad conservative too, so I set up a 3.5G part. Maybe i'll get everything ready tonight for a start tomorrow. Nothing's ever on TV Mondays. I'll look for that '.' error non-error. Thanks...Good luck with the kernel, it shouldn't be too bad I wouldn't think?
 
Old 12-14-2001, 11:21 AM   #9
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Original Poster
Rep: Reputation: 72
Straight from the soccer mom minivan.

I got ssh to compile with a minimum of headache's aside from forgetting to pass it the argument: what was it... PREFIX=/usr/ anyway... it ended up in /usr/local/sbin, so I had to add some stuff to my path and blah blah blah.

I used, Openssl-0.9.6a, whatever zlib was current, and openssh-3.0.yesterday It loved being on there. Unfortunately it looks like we get add all the symlinks and build out own /etc/init.d scripts... this whole distro btw is looking rather debian when you get down to it, except that its not in the stone ages of 2.2.x

From the Contrib folder of the ssh source I took the sshd.init script, changed it for my paths, stuffed it in init.d, made symlinks S200 in rc2-4, and K200 in rc5, and then rebooted the puppy.

It works brilliantly and has an nmap rating so high it would take my liberal arts degree ass years to count up there. 1 port, ssh.

I also had a fight with the very basic useradd, and copied the adduser script from my Slack box after adding the group 'users' to /etc/group. It runs clean. However, the basic .bash_profile and .vimrc profile are not carried over, so I'm going to fiddle with that.

How are your "build-it-your-way" expoloits going?

Cheers,

Finegan
 
Old 12-16-2001, 01:11 AM   #10
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Re: Straight from the soccer mom minivan.

Quote:
Originally posted by finegan

How are your "build-it-your-way" expoloits going?

Cheers,

Finegan
Well, it's done, but I got a little burnt out for a second so i've not tried installing any additional software yet. I'm gonna go for some basics like my favorite editor (jed) and the like...But a couple days ago was born a new flavour of LFS by the name of:

Cleanix v1.0-alpha

Silly enough name, but I was thinking of Kleenex at the time and unix and thought hmmm, Cleanix. So there 'tis. LOL

How are things going on Plebian? =)
 
Old 12-17-2001, 03:44 PM   #11
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Original Poster
Rep: Reputation: 72
Lets see, Plebian now has:

Proftpd (Not running from init.d)
Openssh3.0
Telnetd (Not running from init.d)
fingerd (internal)
nftp (the client)
traceroute
nmap
which (shocked me it wasn't already in there)
adduser (borrowed, *cough* *cough* from Slackware)
fortune
Netdate

Things tonight:

Crond (then get netdate to run right)
mountd
Qmail (yeah, I picked up the bat book on Sendmail once and nearly broke my arm... there are alternatives)
nethack :P
ytalk

This weekend:
X (Big breaths, big breaths...)

On boot I still only have 1 port open, ssh. Nmap only gives me a rating in the 5 millions though, and is able to ID the OS now after I put it in initd.

Cheers,

Finegan

P.S.

Cleanix... hehe, compiling with a cold?

Last edited by finegan; 12-17-2001 at 03:46 PM.
 
Old 12-17-2001, 04:18 PM   #12
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Wow, you are quite a bit further than I. Great work there! Yesterday I completely redid my LFS and it is now renamed more to my personality. Neurotux v0.1a LOL I'm quite the neurotic and tux is cool.
I had only time to install jed-0.99-15 and S-Lang lastnight. I got two quick questions. slang went perfect as it's needed for jed and other progs. Jed installed seemingly perfect until it wouldn't run. No errors. The exec. was in /usr/local/bin no problem there. So i went to it and ran it. Nada from inside the dir. But it runs fine if I type the full path /usr/local/bin/jed silly i think. So I made a symlink in /bin to jed and that works fine. I could leave well enough alone, just curious as to any idears about it. And second, my only startup error is : modprobe can't find module ntf-p5 or to that effect. It gives that for 5 and two other numbers. My question is, where is the damn modules file? LOL I haven't looked hard yet, but haven't seen anything resembling one yet. I'm sure I could fix the error once I saw what it's trying to load. Or perhaps modprobe is running from rc, rcS? Either way I want to load my sound card module. I at least need music capabilities. Thanks and X is actually next on my list since I don't need most other progs, this is gonna be a multimedia distro if you will...We'll see what happens....Or doesn't....
 
Old 12-17-2001, 04:28 PM   #13
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Original Poster
Rep: Reputation: 72
Quote:
Originally posted by taz.devil
Neurotux v0.1a LOL ...
modprobe can't find module ntf-p5 or to that effect. It gives that for 5 and two other numbers. My question is, where is the damn modules file? Either way I want to load my sound card module. I at least need music capabilities. Thanks and X is actually next on my list since I don't need most other progs, this is gonna be a multimedia distro if you will...We'll see what happens....Or doesn't....
Neurotux, killer.

I have the same problem with net-pf-4, 5, and 9... I have no idea what the issue is. I thought it came from my weird lilo setup... hmm.

Oh, most of the stuff you installed is going to stick itself in /usr/local/bin(or sbin). Guess what? Its not in your default path! Edit your .bash_profile and add them to your path listing. I was freaked out by that for a second, but wary of it as I have accounts on way too many machines where /usr/sbin is outside my path and all I wanted to do was run traceroute.

Cheers,

Fingean
 
Old 12-17-2001, 04:58 PM   #14
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
That's the three 4,5 and 9...I wonder what that's all about. I decided to use Slack's lilo to continue to boot my 3 OS's and haven't even touched lilo in LFS so it has to be something else. Perhaps a bug report or some fix is up at the lfs site. I'll let yuh know if I find anything. I can't believe that they didn't have those dirs set in PATHS. That explains a few things... I'll edit the profile and fix that. I guess this really is "make it yourself"! Haha...Thanks again!
 
Old 12-17-2001, 05:05 PM   #15
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
I guess it was in the initial install of LILO. Here is the net-pf error FAQ at LFS: Click me, click me!
One answer down...
 
  


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



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

All times are GMT -5. The time now is 12:28 AM.

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