Boost logo

Boost Users :

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


Tim Martin wrote:

> Vladimir Prus wrote:
>> Steven Watanabe wrote:
>>
>
> [1.37.0 build reports "duplicate initialization of gcc"]
>
>>> Is there a site-config.jam lying around somewhere?
>>
>> 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.
>
> You're quite right. For the record, there's one in /etc/site-config.jam.
> When I did as you suggested the build went fine.
>
> Is this something that the configure script should pick up on, in an
> ideal world? Not that it matters to me since I have a workaround.

In an ideal world, the configure script does not exist, and "bjam --configure"
notices you already have a toolchain configured. Hopefully for 1.38.

- 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