Hi all,
I'm a first time LFS maker.
when I try to run the ./configure --prefix=/usr --enable-cxx --enable-mpbsd
I get the following output:

checking build system type... core2-pc-linux-gnu
checking host system type... core2-pc-linux-gnu
checking for a BSD-compatible install... /tools/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /tools/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking compiler gcc -O2 -pedantic -m64 ... no
checking ABI=32
checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer ... yes
checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer has
sizeof(long)==4... yes
checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer
-mtune=core2... yes
checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=core2
-march=core2... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached)
-std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking build system compiler gcc -std=gnu99... yes
checking for build system preprocessor... gcc -std=gnu99 -E
checking for build system executable suffix...
checking whether build system compiler is ANSI... yes
checking for build system compiler math library... -lm
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking C++ compiler g++  -m32 -O2 -pedantic -fomit-frame-pointer
-mtune=core2 -march=core2... no
checking C++ compiler g++  -g -O2... no
configure: error: C++ compiler not available, see config.log for details

I attached the config.log file too.
Up until this step everything was OK but 9 minor errors in the make check
of the binutils 2.22
I'm doing the LFS on Ubuntu 12.04 that has been installed and used solely
for this purpose.

Attachment: config.log
Description: Binary data

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to