LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   problem at Patch-2.5.4 (https://www.linuxquestions.org/questions/linux-from-scratch-13/problem-at-patch-2-5-4-a-506556/)

usef62 12-01-2006 09:47 AM

problem at Patch-2.5.4
 
linux:/mnt/patch-2.5.4 # CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... yes
checking for ed... /usr/bin/ed
checking build system type... i686-pc-linux-gnu
checking for getconf... getconf
checking for CFLAGS value to request large file support... -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
checking for LDFLAGS value to request large file support...
checking for LIBS value to request large file support...
checking for _FILE_OFFSET_BITS... 64
checking for _LARGEFILE_SOURCE... 1
checking for _LARGE_FILES... no
checking for AIX... no
checking for minix/config.h... no
checking for POSIXized ISC... no
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for gcc option to accept ANSI C... none needed
checking for function prototypes... yes
checking for working const... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for varargs.h... no
checking for inttypes.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for utime.h... (cached) yes
checking for struct utimbuf... yes
checking for getopt_long... yes
checking for _doprintf... no
checking for isascii... yes
checking for fseeko... yes
checking for memcmp... yes
checking for mktemp... yes
checking for pathconf... yes
checking for raise... yes
checking for setmode... no
checking for sigaction... yes
checking for sigprocmask... yes
checking for sigsetmask... yes
checking for strerror... yes
checking for memchr... yes
checking for mkdir... yes
checking for rename... yes
checking for rmdir... yes
checking for working malloc... yes
checking for working realloc... yes
checking whether closedir returns void... no
checking for vprintf... yes
checking for long file names... yes
checking for d_ino member in directory struct... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
linux:/mnt/patch-2.5.4 # make
cat ./m4/ccstdc.m4 ./m4/d-ino.m4 ./m4/inttypes_h.m4 ./m4/largefile.m4 ./m4/malloc.m4 ./m4/protos.m4 ./m4/realloc.m4 ./m4/utimbuf.m4 >./aclocal.m4
cd . && autoconf
/bin/sh: autoconf: command not found
make: *** [configure] Error 127

Please help me

druuna 12-01-2006 11:21 AM

Hi,

Based on the very limited information you give: You are probably using a host that is not up to specs (check here)

This is based on the following:

cd . && autoconf
/bin/sh: autoconf: command not found
make: *** [configure] Error 127


This tells you that autoconf cannot be found.

Other assumptions I made:

- You are installing LFS 6.2,
- You ar at chapter 5.25. Patch-2.5.4 (and not 6.48. Patch-2.5.4),
- You are not using the LFS liveCD.

status1 12-01-2006 06:15 PM

Hello,
You may want to leave out the "CPPFLAGS=-D_GNU_SOURCE" if you are not using it on a PowerPc.

usef62 12-09-2006 01:32 PM

Thanks for Answers ... but
i using LFS (Linux From Scratch - Version 6.1.1) on suse 10
gcc-3.4.2,Bash-2.05,Binutils-2.12,Bzip2-1.0.2Coreutils-5.0,Diffutils-2.8,Findutils-4.1.20,Gawk-3.0
Glibc-2.2.5,Grep-2.5,Gzip-1.2.4,Make-3.79.1,Patch-2.5.4,Sed-3.0.2,Tar-1.14
i'm at chapter 5.24. Patch-2.5.4
but yet i have this problem at Patch-2.5.4
cd . && autoconf
/bin/sh: autoconf: command not found
make: *** [configure] Error 127
Please help me

status1 12-09-2006 05:16 PM

Hello,
I am assuming you don't use a PowerPc
Try "./configure --prefix=/tools"
Hope that helps.

usef62 12-10-2006 12:43 AM

thanks for answer status1
i used ./configure --prefix=/tools but yet i have this problem
at make
cd . && autoconf
/bin/sh: autoconf: command not found
make: *** [configure] Error 127

(PowerPc)
my system intel(R) Pentium(R) 4CPU 2.40GHz

status1 12-10-2006 07:50 AM

Hello,
Sorry, but I was under the impression that this was happening during configure based on the first line in your original post
"linux:/mnt/patch-2.5.4 # CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools"

If that problem was at make than I don't have a solution since I did not come across that problem at make


All times are GMT -5. The time now is 01:05 PM.