Hello Ralf, As adviced, I added "set -x" in the configure script of File-5.03. The software versions are those of LFS 6.5 (http://www.linuxfromscratch.org/lfs/view/stable/chapter03/packages.html) : - Autoconf-2.64 - Bash-4.0 - Glibc-2.10.1 - kernel : when I am chrooting, the one of my host system : 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 i686 GNU/Linux; when I am booting from the LFS partition : Linux-2.6.30.2 - Sed-4.2.1 - Grep-2.5.4 - Gawk-3.1.7 - Coreutils-7.4 While in chroot, I ran the following command : "root:/sources/file-5.03# ./configure >configure_stdout.log 2>configure_stderr.log". At the end, the configure_stdout.log is empty, while the configure_stderr.log contains all the messages... I also ran the same command on the host system (on which I have no problem). Please find attached a tar.bz2 file containing : - configure : the configure script of File-5.03 (with "set -x") - configure_stderr_chroot.log : the logfile in the chroot - configure_stderr_host.log : the logfile on the host system Thanks a lot for your help, Pierre On Wed, Sep 23, 2009 at 6:45 AM, Ralf Wildenhues <Ralf.Wildenhues@xxxxxx> wrote: > Hello Pierre, > > * Pierre wrote on Sat, Sep 19, 2009 at 11:28:20PM CEST: >> I built a Linux From Scratch 6.5 yesterday > > which kind of puts you in the boat of fixing things yourself, no? ;-) > >> and had no problem doing >> "./configure" and "make" under chroot for all the packages. But since my >> reboot, when I chroot, if I launch any "./configure" script, nothing happens >> on the screen (configure loops, I echoed some messages), consumes more and >> more memory ("free -m" on the host), and at the end displays the following >> error message : > > Can you add 'set -x' as second line to the configure script, run it, and > try to analyze it? If it doesn't help, we're looking for reasons why it > "loops" (create and spawn configure.lineno more than once, or so). > > You can post some of the output here, but if it's large, then please > gzip it. > > Please mention which versions of Autoconf, (what?) shell, libc, and > kernel you're using. sed, grep, awk, coreutils can't hurt either. > >> root:/sources/file-5.03# ./configure >> ./configure.lineno: fork: Cannot allocate memory >> ./configure.lineno: fork: Cannot allocate memory >> No shell found that supports shell functions. >> Please tell autoconf@xxxxxxx about your system, >> including any error possibly output before this >> message >> ./configure.lineno: fork: Cannot allocate memory > > Cheers, > Ralf >
Attachment:
configure_file_503.tar.bz2
Description: BZip2 compressed data
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf