zGoRNz
01-13-2001, 06:09 AM
http://www.linuxnewbie.org/ubb/cool.gif
i got it all working!!
I was using slackware, then some of the libraries got messed up. I tried to fix it broke it some more. I could barely compile anything. then i start lfs, most of it's stuff compiled, glibc did, gcc did not.
if i could get gcc i could compile from chroot.
so i cvsed it (300 or so MB of source! the tgz is much smaller, but i have cable so it was okay)
it was a development version but it compiled!
i was using recompilging things. had most of the console stuff. tried to compile X. it failed. http://www.linuxnewbie.org/ubb/frown.gif
eventaly i decided to switch to the stable gcc, because i thought that was why i could compile something else (i've forgoten what it was now)
then with the stable gcc i coudl compile X!
then i did kde, gnome wouldn't work because of libdb. eventually i dled all the bsd_db stuff from ftp.slackware.com (source but still not orignal http://www.linuxnewbie.org/ubb/frown.gif) and that worked for ./configure it wouldn't make though. then i realized if i switched -ldb1 with -ldb it would so i did that to all the Makefiles and compiled gnome, later i was compiling more gnome stuff and just rm -f /usr/libdb1*
and symlinked to the libdb (makeing -ldb1 symlink to -ldb basicly)
that worked
then for the start up scripts i didn't wanna do it the way the howto says cause i dislike sysv init scripts (where it's like /etc/rc.d/rc0.d rc1.d etc...)
mine aren't "bsd style" they i dunno it's like this:
/etc/rc/
sysup (run level 1)
sysdown (0)
sysreset (6)
single (S)
multi (3)
networking (loaded from multi)
local (loaded from multi)
firewall (loaded from networking)
and maybe i miss read it or something but lfs howto never mentioned to get e2fsck and such (i got it off freshmeat.net) so i had to get those
after i actaully got the thing too boot i realized that i was using shadow, but 8 letter shadow. Slackware uses MD5 127 letter max. So i read the shadow docs to found out what to do, just add
MD5_CRYPT_ENB yes
to the /etc/login.defs file
oh and somewhere in the middle of all this i found out about the RESOLV_HOST_CONF exploit in glibc 2.1.9 >=. i had 2.2 so i had to recompile... (i'll get the link for this later it was on securityfocus.com)
and also since i use 2.2 netscape is dynamicly linked to 2.1 so i can use netscape (with out installing 2.1 also or something grrr)
but lfs is great!
i learned a lot about linux from this
i would strongly recomend doing this www.linuxfromscratch.org (http://www.linuxfromscratch.org)
you prolly will have an easier time than me.....
- gorn out -
oh and also if the linuxfromscratch mirrors are down most software (not always the patches but they aren't always needed) can be found at ftp.gnu.org or www.freshmeat.net. (http://www.freshmeat.net.) and slackwares source is usefull (for me at least) to get those rare apps you need that are in /ever/ distro but hard to find
- gorn out for real -
------------------
Dunt Dunt Duh...
GoRN To The Rescue,
Yet Again
zGoRNz@yahoo.com
aim: GoRNToTheRescue
i got it all working!!
I was using slackware, then some of the libraries got messed up. I tried to fix it broke it some more. I could barely compile anything. then i start lfs, most of it's stuff compiled, glibc did, gcc did not.
if i could get gcc i could compile from chroot.
so i cvsed it (300 or so MB of source! the tgz is much smaller, but i have cable so it was okay)
it was a development version but it compiled!
i was using recompilging things. had most of the console stuff. tried to compile X. it failed. http://www.linuxnewbie.org/ubb/frown.gif
eventaly i decided to switch to the stable gcc, because i thought that was why i could compile something else (i've forgoten what it was now)
then with the stable gcc i coudl compile X!
then i did kde, gnome wouldn't work because of libdb. eventually i dled all the bsd_db stuff from ftp.slackware.com (source but still not orignal http://www.linuxnewbie.org/ubb/frown.gif) and that worked for ./configure it wouldn't make though. then i realized if i switched -ldb1 with -ldb it would so i did that to all the Makefiles and compiled gnome, later i was compiling more gnome stuff and just rm -f /usr/libdb1*
and symlinked to the libdb (makeing -ldb1 symlink to -ldb basicly)
that worked
then for the start up scripts i didn't wanna do it the way the howto says cause i dislike sysv init scripts (where it's like /etc/rc.d/rc0.d rc1.d etc...)
mine aren't "bsd style" they i dunno it's like this:
/etc/rc/
sysup (run level 1)
sysdown (0)
sysreset (6)
single (S)
multi (3)
networking (loaded from multi)
local (loaded from multi)
firewall (loaded from networking)
and maybe i miss read it or something but lfs howto never mentioned to get e2fsck and such (i got it off freshmeat.net) so i had to get those
after i actaully got the thing too boot i realized that i was using shadow, but 8 letter shadow. Slackware uses MD5 127 letter max. So i read the shadow docs to found out what to do, just add
MD5_CRYPT_ENB yes
to the /etc/login.defs file
oh and somewhere in the middle of all this i found out about the RESOLV_HOST_CONF exploit in glibc 2.1.9 >=. i had 2.2 so i had to recompile... (i'll get the link for this later it was on securityfocus.com)
and also since i use 2.2 netscape is dynamicly linked to 2.1 so i can use netscape (with out installing 2.1 also or something grrr)
but lfs is great!
i learned a lot about linux from this
i would strongly recomend doing this www.linuxfromscratch.org (http://www.linuxfromscratch.org)
you prolly will have an easier time than me.....
- gorn out -
oh and also if the linuxfromscratch mirrors are down most software (not always the patches but they aren't always needed) can be found at ftp.gnu.org or www.freshmeat.net. (http://www.freshmeat.net.) and slackwares source is usefull (for me at least) to get those rare apps you need that are in /ever/ distro but hard to find
- gorn out for real -
------------------
Dunt Dunt Duh...
GoRN To The Rescue,
Yet Again
zGoRNz@yahoo.com
aim: GoRNToTheRescue