LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-29-2002, 01:10 AM   #16
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30

Would it 'pollute' my LFS system if i installed GAWK now? like would libraries get scattered throughout the LFS installation?
 
Old 12-29-2002, 04:53 AM   #17
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I wouldn't think so. You are going to be installing them anyway, it's not like they'd go somewhere they aren't supposed to and still work.

Cool
 
Old 12-29-2002, 05:30 AM   #18
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30
ROFL!
Nice theory ...I'll try installing gawk again, lets see how it goes after that

Edit: I think there is something wrong with the compiler in my LFS system...when i go into the gawk source directory and issue the install commands, i get:

Checking whether the C compiler (gcc ) works....no
configure: error: installation or configuration problem: C compiler cannot create executables.


ummm, ACK!


I switched consoles and ive logged in under lfs and installing it with the compiler from slacky (the base distro)

Last edited by Grim Reaper; 12-29-2002 at 05:38 AM.
 
Old 12-29-2002, 07:59 AM   #19
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
you mean you've logged in as user LFS? You need to be root once you chroot in Chapter 6.

I wouldn't use the compiler from your source distro, simply for the fact that it's not the one that is for LFS. Also, if the compiler isn't working, there's gotta be a reason, and this reason might be big enough to work on.

Just some thoughts, obviously if it works, and you are happy, then who cares

Cool
 
Old 12-30-2002, 01:55 AM   #20
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30
what are the CFLAGS and CXXFLAGS meant to be...i optimised them, but then they said to clear them for the installation of this, so i just went export CFLAGS= and export CXXFLAGS= ....maybe they need to be something other than blank?

also, i installed gawk as the lfs user, non-chrooted...so just like i did before...then i switched back into the terminal that was logged in thru root and was chrooted into /mnt/lfs...then i tried to install glibc again...this time i didn't get that error about gawk not existing...instead i get a more evil looking one , heh

Code:
strtod.c: In function '____strold_l_internal':
strtod.c:1562: internal error: Segmentation fault
Please submit a full bug report,
with preproccessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.htm> for instructions.
make[2]: *** [/usr/src/sources/glibc-build/stdlib/strtold_l.o] Error 1
make[2]: Leaving directory '/usr/src/sources/glibc-2.2.5/stdlib'
make[1]: *** [stdlib/subdir_lib] Error 2
make[1]: Leaving directory '/usr/src/sources/glibc-2.2.5'
make: *** [all] Error 2
could this possible be to do with the CXXFLAGS and CFLAGS not being set to correct values? if so, what are _default_ values?

edit: fixed up code tags

Last edited by Grim Reaper; 12-30-2002 at 02:13 AM.
 
Old 12-30-2002, 04:22 AM   #21
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Whoa, that does look more evil. I am guessing it's not a gawk problem, but rather that's just where it faulted out at before. I'd re-unpack the source, re-apply the patches, re-unpack linuxthreads in the glibc directory, then try again.

Oh, and when I unset the values, I simply add 2 sets of double quotes:
CXXFLAGS=""

I don't know if that's correct, but it seems to work for me

Cool
 
Old 12-30-2002, 06:53 PM   #22
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30
Ok, now I'm REALLY confused...

Before i tried the last installation (that gave me those evil errors) i had removed the source dir and the build dir and tried again, yet hit those errors.

the only thing that i did differently is removed the patch also, and re-unpacked that and tried again, so far i've gotten to "make localedata/install-locales" without any problems, LMFAO

This is one of those strange things that happen just coz it wants to, lolz
 
Old 12-31-2002, 12:58 AM   #23
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I think sometimes the source gets dorked. If you are using the same unpacked packages from CH5 in CH6, this might cause problems. It's suggested to re-unpack the packages once you get to CH6 to make sure they are clean again.

Sometimes, I have no idea why, but good things just happen

Cool
 
  


Reply


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
gcc check error (in chapter 6) alinsoar Linux From Scratch 0 05-23-2005 04:58 AM
gcc chapter 6 time_dot_h problem vmlinuz101 Linux From Scratch 3 03-23-2005 03:44 PM
Chapter 5.13 GCC and C++ RobbieB Linux From Scratch 1 02-07-2005 07:29 PM
Building Gcc-core-3.3.1 Chapter 5 mullog Linux From Scratch 8 05-27-2004 12:49 PM
gcc check error (chapter 6 install) vexer Linux From Scratch 4 12-03-2003 09:39 PM

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

All times are GMT -5. The time now is 05:50 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