Problems with 2.3.5b -> Makedev, Compiler Ops and Bash Problem

Ian Chilton ian at ichilton.co.uk
Wed Jun 21 11:37:03 PDT 2000


Hello,

After a trouble free build of LFS 2.2, LFS seems to be getting it's own back
on me with 2.3.5.

I have just started my new LFS build, this time from a Storm Linux 2000 box,
and already have problems  :(


1) Firstly, MAKEDEV seemed to fail:

# ./MAKEDEV -v generic
[SNIP LOTS OF STUFF THAT LOOKS OK]
create msmouse	c 10 2 root:sys 666
create atimouse	c 10 3 root:sys 666
create jmouse	c 10 4 root:sys 666
./MAKEDEV: device: unknown major number for lp
./MAKEDEV: device: unknown major number for lp


2) Then, the compiler op's didn't seem to work:
# export CFLAGS="-O3 -mcpu=i686 -march=i686"
# export CXXFLAGS="-O3 -mcpu=i686 -march-i686"

..and then when I do ./configure ......etc.... for bash 2.04, I get:

loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
Beginning configuration for bash-2.04 for i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -O3 -mcpu=i686 -march=i686 ) works...
no
configure: error: installation or configuration problem: C compiler cannot
create executables.


BTW: Please could someone explain more about the compiler optimizations?:
a) I have an Intel Celeron CPU....is i686 right?
b) Has anyone built a full LFS system with them?
	- Does it all build with these env variables set?
	- Does it make it any faster?
c) Instead of make in the book, do I need to do:  make -e  ?
	- is that all I have to do?



3) So, I rebooted, and re- ./configured bash, and it worked this time, make
seemed OK, but when I do the make -e prefix=/lfs/usr install command, I get:

/usr/bin/install -c -m 0755 bash /lfs/usr/bin/bash
/usr/bin/install -c -m 0555 bashbug /lfs/usr/bin/bashbug
( cd ./doc ; make -e \
	man1dir=/lfs/usr/man/man1 man1ext=1 \
	man3dir=/lfs/usr/man/man3 man3ext=3 \
	infodir=/lfs/usr/info htmldir= install )
make[1]: Entering directory `/lfstmp/bash-2.04/doc'
test -d /lfs/usr/man/man1 || /bin/sh ../support/mkdirs /lfs/usr/man/man1
test -d /lfs/usr/info || /bin/sh ../support/mkdirs /lfs/usr/info
if [ -n "" ]; then \
	test -d  || /bin/sh ../support/mkdirs  ; \
fi
/usr/bin/install -c -m 644 ./bash.1 /lfs/usr/man/man1/bash.1
/usr/bin/install -c -m 644 ./bashbug.1 /lfs/usr/man/man1/bashbug.1
/usr/bin/install -c -m 644 ./bashref.info /lfs/usr/info/bash.info
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
	install-info --dir-file=/lfs/usr/info/dir /lfs/usr/info/bash.info; \
else true; fi
install-info: unknown option `--dir-file=/lfs/usr/info/dir'
usage: install-info [--version] [--help] [--debug] [--maxwidth=nnn]
             [--section regexp title] [--infodir=xxx] [--align=nnn]
             [--calign=nnn] [--quiet] [--menuentry=xxx] [--info-dir=xxx]
             [--keep-old] [--description=xxx] [--test] [--remove] [--]
             filename
make[1]: *** [install] Error 1
make[1]: Leaving directory `/lfstmp/bash-2.04/doc'
make: [install] Error 2 (ignored)



Thanks in Advance!


Bye for Now,

Ian


                     \|||/
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian at ichilton.co.uk              |
 \-------------------------------------------/

--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list