Boost logo

Boost Users :

Subject: Re: [Boost-users] Build error: "duplicate initialization of gcc"
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-12-07 02:11:48


Steven Watanabe wrote:

> AMDG
>
> Tim Martin wrote:
>> I downloaded boost 1.37.0, unzipped and ran
>>
>> $ ./configure
>> $ make install

>> 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 .

I'm sure there is -- Debian package tends to create it. So the right solution
is to remove

        using gcc : ...... ;

from user-config.jam that configure produced, and run the same bjam
command 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