Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ok, here's the problem. I downloaded the lfs-packages-6.0.tar file, and unpacked it in /mnt/lfs/tools. Then I unpacked binutils-2<etc.>, made the binutils-build directory. Changed to binutils-build, and confgured binutils according to the book. after running 'make install' as lfs(the user) I got the output
Quote:
/bin/sh ../binutils-2.15.91.0.2/mkinstalldirs /tools /tools
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
Making install in doc
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/bfd/doc'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/bfd/doc'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd/doc'
/bin/sh ../../../binutils-2.15.91.0.2/bfd/../mkinstalldirs /tools/info
/usr/bin/install -c -m 644 ./bfd.info /tools/info/bfd.info
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd/doc'
Making install in po
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/bfd/po'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd/po'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../binutils-2.15.91.0.2/bfd/../mkinstalldirs /tools/lib
/bin/sh ../../binutils-2.15.91.0.2/bfd/../mkinstalldirs /tools/include
/bin/sh ./libtool --mode=install /usr/bin/install -c libbfd.la /tools/lib/libbfd.la
/usr/bin/install -c .libs/libbfd.lai /tools/lib/libbfd.la
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
I then tried the same command('make install') as root, and got the following output
Quote:
/bin/sh ../binutils-2.15.91.0.2/mkinstalldirs /tools /tools
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
Making install in doc
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/bfd/doc'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/bfd/doc'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd/doc'
/bin/sh ../../../binutils-2.15.91.0.2/bfd/../mkinstalldirs /tools/info
/usr/bin/install -c -m 644 ./bfd.info /tools/info/bfd.info
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd/doc'
Making install in po
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/bfd/po'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd/po'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../binutils-2.15.91.0.2/bfd/../mkinstalldirs /tools/lib
/bin/sh ../../binutils-2.15.91.0.2/bfd/../mkinstalldirs /tools/include
/bin/sh ./libtool --mode=install /usr/bin/install -c libbfd.la /tools/lib/libbfd.la
/usr/bin/install -c .libs/libbfd.lai /tools/lib/libbfd.la
/usr/bin/install -c .libs/libbfd.a /tools/lib/libbfd.a
ranlib /tools/lib/libbfd.a
chmod 644 /tools/lib/libbfd.a
PATH="$PATH:/sbin" ldconfig -n /tools/lib
----------------------------------------------------------------------
Libraries have been installed in:
/tools/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -m 644 bfd.h /tools/include/bfd.h
/usr/bin/install -c -m 644 ../../binutils-2.15.91.0.2/bfd/../include/ansidecl.h /tools/include/ansidecl.h
/usr/bin/install -c -m 644 ../../binutils-2.15.91.0.2/bfd/../include/symcat.h /tools/include/symcat.h
/usr/bin/install -c -m 644 ../../binutils-2.15.91.0.2/bfd/../include/bfdlink.h /tools/include/bfdlink.h
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/opcodes'
Making install in po
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/opcodes/po'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/opcodes/po'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/opcodes'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/opcodes'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../binutils-2.15.91.0.2/opcodes/../mkinstalldirs /tools/lib
/bin/sh ../../binutils-2.15.91.0.2/opcodes/../mkinstalldirs /tools/include
/bin/sh ./libtool --mode=install /usr/bin/install -c libopcodes.la /tools/lib/libopcodes.la
/usr/bin/install -c .libs/libopcodes.lai /tools/lib/libopcodes.la
/usr/bin/install -c .libs/libopcodes.a /tools/lib/libopcodes.a
ranlib /tools/lib/libopcodes.a
chmod 644 /tools/lib/libopcodes.a
PATH="$PATH:/sbin" ldconfig -n /tools/lib
----------------------------------------------------------------------
Libraries have been installed in:
/tools/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -m 644 ../../binutils-2.15.91.0.2/opcodes/../include/dis-asm.h /tools/include/dis-asm.h
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/opcodes'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/opcodes'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/opcodes'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/binutils'
Making install in doc
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/binutils/doc'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/binutils/doc'
make[3]: Nothing to be done for `install-exec-am'.
make install-man1
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/binutils/doc'
/bin/sh ../../../binutils-2.15.91.0.2/binutils/../mkinstalldirs /tools/man/man1
/usr/bin/install -c -m 644 addr2line.1 /tools/man/man1/addr2line.1
/usr/bin/install -c -m 644 ar.1 /tools/man/man1/ar.1
/usr/bin/install -c -m 644 dlltool.1 /tools/man/man1/dlltool.1
/usr/bin/install -c -m 644 nlmconv.1 /tools/man/man1/nlmconv.1
/usr/bin/install -c -m 644 nm.1 /tools/man/man1/nm.1
/usr/bin/install -c -m 644 objcopy.1 /tools/man/man1/objcopy.1
/usr/bin/install -c -m 644 objdump.1 /tools/man/man1/objdump.1
/usr/bin/install -c -m 644 ranlib.1 /tools/man/man1/ranlib.1
/usr/bin/install -c -m 644 readelf.1 /tools/man/man1/readelf.1
/usr/bin/install -c -m 644 size.1 /tools/man/man1/size.1
/usr/bin/install -c -m 644 strings.1 /tools/man/man1/strings.1
/usr/bin/install -c -m 644 strip.1 /tools/man/man1/strip.1
/usr/bin/install -c -m 644 windres.1 /tools/man/man1/windres.1
/usr/bin/install -c -m 644 c++filt.1 /tools/man/man1/c++filt.1
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils/doc'
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils/doc'
/bin/sh ../../../binutils-2.15.91.0.2/binutils/../mkinstalldirs /tools/info
/usr/bin/install -c -m 644 ./binutils.info /tools/info/binutils.info
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils/doc'
Making install in po
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/binutils/po'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils/po'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/binutils'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/binutils'
/bin/sh ../../binutils-2.15.91.0.2/binutils/../mkinstalldirs /tools/bin
/bin/sh ./libtool --mode=install /usr/bin/install -c size /tools/bin/size
/usr/bin/install -c size /tools/bin/size
/bin/sh ./libtool --mode=install /usr/bin/install -c objdump /tools/bin/objdump
/usr/bin/install -c objdump /tools/bin/objdump
/bin/sh ./libtool --mode=install /usr/bin/install -c ar /tools/bin/ar
/usr/bin/install -c ar /tools/bin/ar
/bin/sh ./libtool --mode=install /usr/bin/install -c strings /tools/bin/strings
/usr/bin/install -c strings /tools/bin/strings
/bin/sh ./libtool --mode=install /usr/bin/install -c ranlib /tools/bin/ranlib
/usr/bin/install -c ranlib /tools/bin/ranlib
/bin/sh ./libtool --mode=install /usr/bin/install -c objcopy /tools/bin/objcopy
/usr/bin/install -c objcopy /tools/bin/objcopy
/bin/sh ./libtool --mode=install /usr/bin/install -c addr2line /tools/bin/addr2line
/usr/bin/install -c addr2line /tools/bin/addr2line
/bin/sh ./libtool --mode=install /usr/bin/install -c readelf /tools/bin/readelf
/usr/bin/install -c readelf /tools/bin/readelf
/bin/sh ./libtool --mode=install /usr/bin/install -c nm-new /tools/bin/nm
/usr/bin/install -c nm-new /tools/bin/nm
/bin/sh ./libtool --mode=install /usr/bin/install -c strip-new /tools/bin/strip
/usr/bin/install -c strip-new /tools/bin/strip
/bin/sh ./libtool --mode=install /usr/bin/install -c cxxfilt /tools/bin/c++filt
/usr/bin/install -c cxxfilt /tools/bin/c++filt
/bin/sh ../../binutils-2.15.91.0.2/binutils/../mkinstalldirs /tools/i686-pc-linux-gnu/bin
for i in nm-new strip-new ar ranlib dlltool; do \
if [ -f $i ]; then \
j=`echo $i | sed -e 's/-new//'`; \
k=`echo $j | sed 's,y,y,'`; \
if [ "/tools/bin/$k" != "/tools/i686-pc-linux-gnu/bin/$j" ]; then \
rm -f /tools/i686-pc-linux-gnu/bin/$j; \
ln /tools/bin/$k /tools/i686-pc-linux-gnu/bin/$j >/dev/null 2>/dev/null \
|| /bin/sh ./libtool --mode=install /usr/bin/install -c $i /tools/i686-pc-linux-gnu/bin/$j; \
fi; \
else true; \
fi; \
done
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/etc'
for f in standards.info configure.info; do \
if test -f ../../binutils-2.15.91.0.2/etc/`echo $f | sed -e 's/.info$/.texi/'`; then \
if make "MAKEINFO=/mnt/lfs/sources/binutils-2.15.91.0.2/missing makeinfo --split-size=5000000" $f; then \
true; \
else \
exit 1; \
fi; \
fi; \
done
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/etc'
make[2]: `standards.info' is up to date.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/etc'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/etc'
make[2]: `configure.info' is up to date.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/etc'
/bin/sh ../../binutils-2.15.91.0.2/etc/../mkinstalldirs /tools/info
if test ! -f standards.info; then cd ../../binutils-2.15.91.0.2/etc; fi; \
if test -f standards.info; then \
for i in standards.info*; do \
/usr/bin/install -c -m 644 $i /tools/info/$i; \
done; \
fi
if test ! -f configure.info; then cd ../../binutils-2.15.91.0.2/etc; fi; \
if test -f configure.info; then \
for i in configure.info*; do \
/usr/bin/install -c -m 644 $i /tools/info/$i; \
done; \
fi
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/etc'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/gas'
Making install in doc
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/gas/doc'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/gas/doc'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/tools/info" || mkdir -p -- . "/tools/info"
/usr/bin/install -c -m 644 '../../../binutils-2.15.91.0.2/gas/doc/as.info' '/tools/info/as.info'
test -z "/tools/man/man1" || mkdir -p -- . "/tools/man/man1"
/usr/bin/install -c -m 644 'as.1' '/tools/man/man1/as.1'
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gas/doc'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/gas/doc'
Making install in po
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/gas/po'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/gas/po'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/gas'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/gas'
/bin/sh ../../binutils-2.15.91.0.2/gas/../mkinstalldirs /tools/bin
/bin/sh ./libtool --mode=install /usr/bin/install -c as-new /tools/bin/as
/usr/bin/install -c as-new /tools/bin/as
/bin/sh ../../binutils-2.15.91.0.2/gas/../mkinstalldirs /tools/i686-pc-linux-gnu/bin
n=`echo as | sed 's,y,y,'`; \
if [ "/tools/bin/$n" != "/tools/i686-pc-linux-gnu/bin/as" ]; then \
rm -f /tools/i686-pc-linux-gnu/bin/as; \
ln /tools/bin/$n /tools/i686-pc-linux-gnu/bin/as >/dev/null 2>/dev/null \
|| /bin/sh ./libtool --mode=install /usr/bin/install -c as-new /tools/i686-pc-linux-gnu/bin/as; \
else \
true ; \
fi
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gas'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/gas'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/gas'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/gprof'
make install-recursive
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/gprof'
Making install in po
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/gprof/po'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof/po'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/gprof'
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/gprof'
test -z "/tools/bin" || mkdir -p -- . "/tools/bin"
/bin/sh ./libtool --mode=install /usr/bin/install -c 'gprof' '/tools/bin/gprof'
/usr/bin/install -c gprof /tools/bin/gprof
Making install-info in po
make[5]: Entering directory `/mnt/lfs/sources/binutils-build/gprof/po'
make[5]: Nothing to be done for `install-info'.
make[5]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof/po'
make[5]: Entering directory `/mnt/lfs/sources/binutils-build/gprof'
test -z "/tools/info" || mkdir -p -- . "/tools/info"
/usr/bin/install -c -m 644 '../../binutils-2.15.91.0.2/gprof/gprof.info' '/tools/info/gprof.info'
make[5]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
test -z "/tools/man/man1" || mkdir -p -- . "/tools/man/man1"
/usr/bin/install -c -m 644 'gprof.1' '/tools/man/man1/gprof.1'
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/intl'
if test "@PACKAGE@" = "gettext" \
&& test '' = 'intl-compat.o'; then \
if test -r ../../binutils-2.15.91.0.2/intl/../../mkinstalldirs; then \
../../binutils-2.15.91.0.2/intl/../../mkinstalldirs /tools/lib /tools/include; \
else \
../../binutils-2.15.91.0.2/intl/mkinstalldirs /tools/lib /tools/include; \
fi; \
/usr/bin/install -c -m 644 intlh.inst /tools/include/libintl.h; \
/usr/bin/install -c -m 644 libintl.a /tools/lib/libintl.a; \
else \
: ; \
fi
if test "@PACKAGE@" = "gettext"; then \
if test -r ../../binutils-2.15.91.0.2/intl/../../mkinstalldirs; then \
../../binutils-2.15.91.0.2/intl/../../mkinstalldirs /tools/share/gettext/intl; \
else \
../../binutils-2.15.91.0.2/intl/mkinstalldirs /tools/share/gettext/intl; \
fi; \
/usr/bin/install -c -m 644 VERSION /tools/share/gettext/intl/VERSION; \
dists="ChangeLog Makefile.in linux-msg.sed po2tbl.sed.in xopen-msg.sed gettext.h gettextP.h hash-string.h libgettext.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c intl-compat.c cat-compat.c"; \
for file in $dists; do \
/usr/bin/install -c -m 644 ../../binutils-2.15.91.0.2/intl/$file /tools/share/gettext/intl/$file; \
done; \
else \
: ; \
fi
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/intl'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/ld'
Making install in po
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/ld/po'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld/po'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/ld'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/ld'
/bin/sh ../../binutils-2.15.91.0.2/ld/../mkinstalldirs /tools/bin /tools/i686-pc-linux-gnu/bin
/bin/sh ./libtool --mode=install /usr/bin/install -c ld-new /tools/bin/ld
/usr/bin/install -c ld-new /tools/bin/ld
n=`echo ld | sed 's,y,y,'`; \
if [ "/tools/bin/$n" != "/tools/i686-pc-linux-gnu/bin/ld" ]; then \
rm -f /tools/i686-pc-linux-gnu/bin/ld; \
ln /tools/bin/$n /tools/i686-pc-linux-gnu/bin/ld >/dev/null 2>/dev/null \
|| /bin/sh ./libtool --mode=install /usr/bin/install -c ld-new /tools/i686-pc-linux-gnu/bin/ld; \
fi
make install-man1
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/ld'
/bin/sh ../../binutils-2.15.91.0.2/ld/../mkinstalldirs /tools/man/man1
/usr/bin/install -c -m 644 ld.1 /tools/man/man1/ld.1
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
/bin/sh ../../binutils-2.15.91.0.2/ld/../mkinstalldirs /tools/i686-pc-linux-gnu/lib/ldscripts
for f in ldscripts/*; do \
/usr/bin/install -c -m 644 $f /tools/i686-pc-linux-gnu/lib/$f ; \
done
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
Making install-info in po
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/ld/po'
make[2]: Nothing to be done for `install-info'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld/po'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/ld'
/bin/sh ../../binutils-2.15.91.0.2/ld/../mkinstalldirs /tools/info
/usr/bin/install -c -m 644 ./ld.info /tools/info/ld.info
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/libiberty'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/libiberty/testsuite'
/bin/sh ../../binutils-2.15.91.0.2/libiberty/../mkinstalldirs /tools/lib
/usr/bin/install -c -m 644 ./libiberty.a /tools/lib/./libiberty.an
( cd /tools/lib ; ranlib ./libiberty.an )
mv -f /tools/lib/./libiberty.an /tools/lib/./libiberty.a
if test -n ""; then \
case "" in \
/*) thd=;; \
*) thd=/tools/include/;; \
esac; \
/bin/sh ../../binutils-2.15.91.0.2/libiberty/../mkinstalldirs ${thd}; \
for h in ../../binutils-2.15.91.0.2/libiberty/../include/ansidecl.h ../../binutils-2.15.91.0.2/libiberty/../include/demangle.h ../../binutils-2.15.91.0.2/libiberty/../include/dyn-string.h ../../binutils-2.15.91.0.2/libiberty/../include/fibheap.h ../../binutils-2.15.91.0.2/libiberty/../include/floatformat.h ../../binutils-2.15.91.0.2/libiberty/../include/hashtab.h ../../binutils-2.15.91.0.2/libiberty/../include/libiberty.h ../../binutils-2.15.91.0.2/libiberty/../include/objalloc.h ../../binutils-2.15.91.0.2/libiberty/../include/partition.h ../../binutils-2.15.91.0.2/libiberty/../include/safe-ctype.h ../../binutils-2.15.91.0.2/libiberty/../include/sort.h ../../binutils-2.15.91.0.2/libiberty/../include/splay-tree.h ../../binutils-2.15.91.0.2/libiberty/../include/ternary.h; do \
/usr/bin/install -c -m 644 $h ${thd}; \
done; \
fi
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/libiberty/testsuite'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/libiberty/testsuite'
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/libiberty'
Any thoughts would be greatly appreciated. /mnt/lfs is owned by user lfs and group lfs, as are all subdirectories/files. HELP!!!
Originally posted by microsoft/linux ok, here's the problem. I downloaded the lfs-packages-6.0.tar file, and unpacked it in /mnt/lfs/tools. Then I unpacked binutils-2<etc.>, made the binutils-build directory. Changed to binutils-build, and confgured binutils according to the book. after running 'make install' as lfs(the user) I got the output
I then tried the same command('make install') as root, and got the following output
Any thoughts would be greatly appreciated. /mnt/lfs is owned by user lfs and group lfs, as are all subdirectories/files. HELP!!!
I think, you had been installed binutils by root before. Could you empty tools dir before make install by lfs user?
there is nothing in the tools directory, except ./ and ../. I'm almost positive everything is owned by lfs. Could you explain what you want me to do in more detail?
ok, I don't know what went wrong, but I fixed it. I removed user/group lfs, /tools, and formatted /mnt/lfs. I started over following the book, and now it works. Thanks for your time
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.