LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   problems with LinuxFromScratch installing commands (https://www.linuxquestions.org/questions/linux-from-scratch-13/problems-with-linuxfromscratch-installing-commands-27990/)

wornx 08-15-2002 01:43 PM

problems with LinuxFromScratch installing commands
 
hello , have a problem installing commands in LFS
my .bash_profile in /mnt/lfs/root/.bash_profile
.....
CFLAGS="-O3 -march=i686"
CXXFLAGS=$CFLAGS

export USERNAME BASH_ENV PATH CFLAGS CXXFLAGS
.....................................................................
chroot $LFS env -i HOME=/root bash --login
:::::::::::::::::::::::::::::::::
n file included from buf.c:26:
ed.h:34: errno.h: No such file or directory
ed.h:43: sys/types.h: No such file or directory
ed.h:44: signal.h: No such file or directory
ed.h:55: stdio.h: No such file or directory
ed.h:64: strings.h: No such file or directory
In file included from ed.h:74,
from buf.c:26:
pathmax.h:42: sys/param.h: No such file or directory
buf.c:28: sys/file.h: No such file or directory
buf.c:29: sys/stat.h: No such file or directory
make: *** [buf.o] Error 1

da Perp 08-16-2002 03:53 AM

perhaps gcc hasnt been properly installed? try installing it following chapter 5 EXACTLY!!!! then install it again in chapter 6 if the chroot works this time.

either that, or you didnt follow the directions EXACTLY and now your includes are located at a different place. If this is the case, then good luck with all that!


All times are GMT -5. The time now is 11:02 AM.