Boost logo

Boost Users :

Subject: Re: [Boost-users] Build error: "duplicate initialization of gcc"
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-12-06 16:12:04


AMDG

Tim Martin wrote:
> I downloaded boost 1.37.0, unzipped and ran
>
> $ ./configure
> $ make install
>
> It dies reliably with:
> ------------------
> ./tools/jam/src/bin.linuxx86/bjam -sICU_PATH=/usr
> --user-config=user-config.jam --prefix=/home/timm
> --exec-prefix=/home/timm --libdir=/home/timm/lib
> --includedir=/home/timm/include install
> error: at
> /home/timm/downloads/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
> /home/timm/downloads/boost_1_37_0/tools/build/v2/build/project.jam:846
>
> Not all Boost libraries built properly.
> -------------------
>
> This is on a relatively unmodified Ubuntu Intrepid linux install. I
> could only find one other mention of this problem on the web and it
> was a mailing list post with no answer, so I'm apparently doing
> something quite unusually wrong.
>
> FWIW, the reason I'm building from source rather than using a package
> is that the Ubuntu packages don't seem to provide a binary lib for MPI
> - am I missing something here? They provide header files, so it seems
> eccentric not to provide a package with libs.

Is there a site-config.jam lying around somewhere?
Try running bjam manually with --debug-configuration and
look for a line like
notice: Loading site-config configuration file site-config.jam from
path/to/site-config.jam .

In Christ,
Steven Watanabe


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