[lfs-support] compile error with libstdc++

Hans P. flyerm2222 at gmx.de
Sat Oct 26 16:01:17 PDT 2013


Hello,

I'm try to compile the libstdc++. I'm read carefully the section "5.8.1.
Installation of Target Libstdc++", but when i try to "make install" I
get an error:
"../libtool: line 1132: i686-lfs-linux-gnu-ranlib: command not found"

and after that, some line further the program stop.

Can someone help me?

Thanks a lot

best regards
    rado


I execute the following command:
../gcc-4.8.1/libstdc++-v3/configure --host=i686-lfs-linux-gnu
--prefix=/tools --disable-multilib --disable-shared --disable-nls
--disable-libstdcxx-threads --disable-libstdcxx-pch
--with-gxx-include-dir=/tools/i686-lfs-linux-gnu/include/c++/4.8.1

Result:
...
/bin/sh /mnt/lfs/sources/gcc-4.8.1/libstdc++-v3/../mkinstalldirs
/tools/i686-lfs-linux-gnu/include/c++/4.8.1/i686-lfs-linux-gnu/bits
for file in
/mnt/lfs/sources/gcc-4.8.1/libstdc++-v3/config/os/gnu-linux/ctype_base.h
/mnt/lfs/sources/gcc-4.8.1/libstdc++-v3/config/os/gnu-linux/ctype_inline.h
/mnt/lfs/sources/gcc-4.8.1/libstdc++-v3/config/os/gnu-linux/os_defines.h
/mnt/lfs/sources/gcc-4.8.1/libstdc++-v3/config/cpu/generic/atomic_word.h
/mnt/lfs/sources/gcc-4.8.1/libstdc++-v3/config/cpu/generic/cxxabi_tweaks.h
/mnt/lfs/sources/gcc-4.8.1/libstdc++-v3/config/cpu/generic/cpu_defines.h
/mnt/lfs/sources/gcc-4.8.1/libstdc++-v3/config/os/generic/error_constants.h
/mnt/lfs/sources/gcc-4.8.1/libstdc++-v3/include/precompiled/stdc++.h
/mnt/lfs/sources/gcc-4.8.1/libstdc++-v3/include/precompiled/stdtr1c++.h
/mnt/lfs/sources/gcc-4.8.1/libstdc++-v3/include/precompiled/extc++.h
./i686-lfs-linux-gnu/bits/basic_file.h
./i686-lfs-linux-gnu/bits/c++config.h
./i686-lfs-linux-gnu/bits/c++allocator.h
./i686-lfs-linux-gnu/bits/c++io.h ./i686-lfs-linux-gnu/bits/c++locale.h
./i686-lfs-linux-gnu/bits/messages_members.h
./i686-lfs-linux-gnu/bits/time_members.h \
     ./i686-lfs-linux-gnu/bits/gthr.h
./i686-lfs-linux-gnu/bits/gthr-single.h
./i686-lfs-linux-gnu/bits/gthr-posix.h
./i686-lfs-linux-gnu/bits/gthr-default.h; do \
      /usr/bin/install -c -m 644 ${file}
/tools/i686-lfs-linux-gnu/include/c++/4.8.1/i686-lfs-linux-gnu/bits; done
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/include'
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/include'
Making install in libsupc++
make[1]: Entering directory `/mnt/lfs/sources/gcc-build/libsupc++'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/libsupc++'
test -z "/tools/lib" || /bin/mkdir -p "/tools/lib"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libsupc++.la
'/tools/lib'
libtool: install: /usr/bin/install -c .libs/libsupc++.lai
/tools/lib/libsupc++.la
libtool: install: /usr/bin/install -c .libs/libsupc++.a
/tools/lib/libsupc++.a
libtool: install: chmod 644 /tools/lib/libsupc++.a
libtool: install: i686-lfs-linux-gnu-ranlib /tools/lib/libsupc++.a
../libtool: line 1132: i686-lfs-linux-gnu-ranlib: command not found
make[2]: *** [install-toolexeclibLTLIBRARIES] Error 127
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/libsupc++'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/libsupc++'
make: *** [install-recursive] Error 1





More information about the lfs-support mailing list