LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   glibc configure prob : file too large ??? (https://www.linuxquestions.org/questions/linux-from-scratch-13/glibc-configure-prob-file-too-large-34433/)

peeples 11-02-2002 02:45 PM

glibc configure prob : file too large ???
 
I had too many problems happening with my LFS; so, I decided to start over. I am in Chapter Six and installing glibc-2.2.5. I have unpacked the patch, the file, and then unpacked the linuxthreads file in the glibc-2.2.5 directory. Cut and paste the command from the book to my xterm, and I get the following:

<snip>
checking size of long double... 0
running configure fragment for ,,.glibc-2.2.5/linuxthreads/sysdeps/unix/sysv/linux
../glibc-2.2.5/configure: .: ../glibc-2.2.5/linuxthreads/sysdeps/unix/sysv/linux/configure: file is too large

continues on with the following as being "too large":

../glibc-2.2.5/sysdeps/unix/sysv/linux/configure
../glibc-2.2.5/sysdeps/unix/common/configure
../glibc-2.2.5/sysdeps/unix/configure
../glibc-2.2.5/sysdeps/generic/configure

Is this error OK to continue with? It doesn't stop the configuration, but I get down to "creating ./config.status" and it seems like it hangs. The first time I tried this (today), I let it run for about one hour and it was still creating ./config.status. How long should I let it run with a PII-350 ??

TIA

adam_boz 11-02-2002 03:07 PM

try doing this on your $LFS partition:

df -h $LFS

maybe you don't have enough room?

also, there is another thread around here where somebody had file size restrictions running on their base system.

EDIT:

hehe... I just looked at the thread for the commands, and it was YOU! I guess you know what to do w/ that subject :-)

I don't know.... The only problem's I've had was with the linux threads, and it just gave me a warning after ./configure. try that df command and see if anything is funny

peeples 11-02-2002 04:06 PM

Adam,

Thanks for the reply. You're right. I was the one with the file size restrictions. But, I disabled that program (Bastille). I did the df command and on my LFS partition (which is 5Gb) I have only used 15% of it. Any other thoughts, anyone?

TIA

peeples 11-08-2002 07:24 PM

I'm still having this problem. Partition is NOT full. File sizes are as follows (in bytes) in red:

/glibc-2.2.5/linuxthreads/sysdeps/unix/sysv/linux/configure 94
/glibc-2.2.5/sysdeps/unix/sysv/linux/configure 8155
/glibc-2.2.5/sysdeps/unix/common/configure 2940
/glibc-2.2.5/sysdeps/unix/configure 1718
/glibc-2.2.5/sysdeps/generic/configure 1667

This is exactly what I get when I type in command for glibc-2.2.5:

<snip>
checking for assembler .weak directive... yes
checking for ld --no-whole-archive... yes
checking for gcc -fexceptions... yes
checking for DWARF2 unwind info support... static
checking for __builtin_expect... yes
checking for local label subtraction... yes
checking for libgd... no
checking size of long double... 0
running configure fragment for ../glibc-2.2.5/linuxthreads/sysdeps/unix/sysv/linux
../glibc-2.2.5/configure: .: ../glibc-2.2.5/linuxthreads/sysdeps/unix/sysv/linux/configure: file is too large
running configure fragment for ../glibc-2.2.5/sysdeps/unix/sysv/linux
../glibc-2.2.5/configure: .: ../glibc-2.2.5/sysdeps/unix/sysv/linux/configure: file is too large
running configure fragment for ../glibc-2.2.5/sysdeps/unix/common
../glibc-2.2.5/configure: .: ../glibc-2.2.5/sysdeps/unix/common/configure: file is too large
running configure fragment for ../glibc-2.2.5/sysdeps/unix
../glibc-2.2.5/configure: .: ../glibc-2.2.5/sysdeps/unix/configure: file is too large
running configure fragment for ../glibc-2.2.5/sysdeps/generic
../glibc-2.2.5/configure: .: ../glibc-2.2.5/sysdeps/generic/configure: file is too large
checking stdio selection... stdio
checking for old glibc 2.0.x headers... no
checking whether -fPIC is default... no
updating cache ./config.cache
creating ./config.status


And then it hangs right there. Can anybody tell me what I'm doing wrong?

TIA

esherrouse 12-10-2002 03:05 PM

I am in about the same place as you are, Peeples, but I am having another issue. I am attempting to run the installation as instructed in Chapter 6 for Glibc, however I seem to start getting this error:
checking for assembler global-symbol directive... UNKNOWN
configure: error: cannot determine asm global directive
right after running this:
../glibc-2.2.5/configure --prefix=/usr --disable-profile \
--enable-add-ons --libexecdir=/usr/bin &&

I ran each line of the one listed on the LFS site in an attempt to narrow down the problem. Everything seems to work until that point and then it starts coughing, so to speak.
Has anyone seen this? Is it an error that is overlookable?


Thanks,

esh

esherrouse 12-10-2002 04:10 PM

I got passed that last post, but now I am having issues with GCC installing...
I am not sure that it is not correctly installed however, because the error says this :
Configuring for a i686-pc-linux-gnulibc1 host.
*** This configuration is not supported in the following subdirectories:
target-libf2c target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar target-libobjc
(Any other directories should still work fine.)
Created "Makefile" in /static/src/lfs-packages-4.0/gcc-build using "mh-frag" and "mt-frag"
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.


I am not sure if I need to keep going or figure out what is wrong here. Any thoughts?

esh


All times are GMT -5. The time now is 10:44 PM.