|
Boost Users : |
Subject: Re: [Boost-users] 1.37 build problems/error on linux/gcc
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-11-09 14:50:42
Olaf Peter wrote:
> I've got the following compiler error:
>
> olaf_at_tux:/var/tmp/boost_1_37_0$ ./configure
> --prefix=/usr/local/boost_1_37_0
> Building Boost.Jam with toolset gcc... tools/jam/src/bin.linuxx86/bjam
> Detecting Python version... 2.5
> Detecting Python root... /usr
> Unicode/ICU support for Boost.Regex?... /usr
> Generating Boost.Build configuration in user-config.jam...
> Generating Makefile...
> olaf_at_tux:/var/tmp/boost_1_37_0$ make
> ./tools/jam/src/bin.linuxx86/bjam -sICU_PATH=/usr
> --user-config=user-config.jam
> error: at /var/tmp/boost_1_37_0/tools/build/v2/build/project.jam:846
> error: duplicate initialization of gcc with the following parameters:
> error: version = 4.3.2
> error: previous initialization at
> /var/tmp/boost_1_37_0/tools/build/v2/build/project.jam:846
>
> Not all Boost libraries built properly.
>
> on:
>
> olaf_at_tux:/var/tmp/boost_1_37_0$ LANG=en gcc -v
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Ubuntu
> 4.3.2-1ubuntu11' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
> --enable-shared --with-system-zlib --libexecdir=/usr/lib
> --without-included-gettext --enable-threads=posix --enable-nls
> --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
> --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
> --enable-mpfr --enable-targets=all --enable-checking=release
> --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
> Thread model: posix
> gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11)
>
> what gone wrong here?
Open ./user-config.jam. Remove any lines in the form:
using gcc ....
Then run 'make' again.
- Volodya
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net