LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-01-2006, 09:47 AM   #1
usef62
Member
 
Registered: Dec 2006
Posts: 50

Rep: Reputation: 15
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
 
Old 12-01-2006, 11:21 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
Old 12-01-2006, 06:15 PM   #3
status1
Member
 
Registered: Sep 2006
Posts: 122

Rep: Reputation: 15
Hello,
You may want to leave out the "CPPFLAGS=-D_GNU_SOURCE" if you are not using it on a PowerPc.
 
Old 12-09-2006, 01:32 PM   #4
usef62
Member
 
Registered: Dec 2006
Posts: 50

Original Poster
Rep: Reputation: 15
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
 
Old 12-09-2006, 05:16 PM   #5
status1
Member
 
Registered: Sep 2006
Posts: 122

Rep: Reputation: 15
Hello,
I am assuming you don't use a PowerPc
Try "./configure --prefix=/tools"
Hope that helps.
 
Old 12-10-2006, 12:43 AM   #6
usef62
Member
 
Registered: Dec 2006
Posts: 50

Original Poster
Rep: Reputation: 15
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
 
Old 12-10-2006, 07:50 AM   #7
status1
Member
 
Registered: Sep 2006
Posts: 122

Rep: Reputation: 15
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
 
  


Reply



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
patch problem - can't find file to patch jnutt Linux - Kernel 3 02-10-2010 03:45 PM
How to Install patch-o-matic(a iptables patch) on redhat 9? itebooks Linux - Security 1 07-23-2004 08:51 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-20-2004 11:14 PM
Problem with a patch Bluebow Linux - Software 3 03-29-2004 12:13 PM

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

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