Allen Cronce | 29 Aug 18:46

[bjam] Presence of Mac OS X 10.6 SDK prevents boost 1.36 build

Hi all,

I have the Mac OS X 10.6 (Snow Leopard) SDK on my dev system. The  
presence of this SDK prevents boost 1.36 from building:

--snip--
./tools/jam/src/bin.macosxx86/bjam debug release --toolset=darwin -- 
architecture=combined --layout=system threading=multi address-model=32  
link=shared,static macosx-version=10.4 --prefix=../1_36_0_install -- 
exec-prefix=../1_36_0_install install

boost_1_36_0/tools/build/v2/build/feature.jam:466: in feature.validate- 
value-string from module feature
error: "10.6" is not a known value of feature <macosx-version>
error: legal values: "10.5" "10.4" "10.3" "10.2" "10.1" "iphone-2.0"  
"iphone-1.x" "iphonesim-2.0"
boost_1_36_0/tools/build/v2/build/property.jam:276: in validate1 from  
module property
boost_1_36_0/tools/build/v2/build/property.jam:301: in validate from  
module property
boost_1_36_0/tools/build/v2/build/property.jam:310: in  
property.validate-property-sets from module property
boost_1_36_0/tools/build/v2/build/toolset.jam:151: in flags from  
module toolset
boost_1_36_0/tools/build/v2/tools/darwin.jam:227: in init-available- 
sdk-versions from module darwin
boost_1_36_0/tools/build/v2/tools/darwin.jam:178: in darwin.init from  
module darwin
boost_1_36_0/tools/build/v2/build/toolset.jam:38: in toolset.using  
from module toolset
(Continue reading)

Jürgen Hunold | 4 Sep 09:13

Re: [bjam] Presence of Mac OS X 10.6 SDK prevents boost 1.36 build

Hi Allen !

An'n Freitag 29 August 2008 hett Allen Cronce schreven:
> I have the Mac OS X 10.6 (Snow Leopard) SDK on my dev system. The
> presence of this SDK prevents boost 1.36 from building:
>
> --snip--
> ./tools/jam/src/bin.macosxx86/bjam debug release --toolset=darwin --
> architecture=combined --layout=system threading=multi address-model=32
> link=shared,static macosx-version=10.4 --prefix=../1_36_0_install --
> exec-prefix=../1_36_0_install install
>
> boost_1_36_0/tools/build/v2/build/feature.jam:466: in feature.validate-
> value-string from module feature
> error: "10.6" is not a known value of feature <macosx-version>
> error: legal values: "10.5" "10.4" "10.3" "10.2" "10.1" "iphone-2.0"
> "iphone-1.x" "iphonesim-2.0"

> The workaround was for me to hide the SDK, run configure again, then
> build.

mmh. Just adding 10.6 to darwin.jam just have worked better

> I still can't build successfully, due to an unrelated issue. 
> But I'll post that separately in order to try and keep things clear.

> Snow Leopard will be here before you know it, so at some point the
> boost build system should be updated to know about 10.6. For that
> matter, maybe a new SDK would just generate a warning, not a hard error.

(Continue reading)

Allen Cronce | 4 Sep 16:32

Re: [bjam] Presence of Mac OS X 10.6 SDK prevents boost 1.36 build

Hi Jürgen,

On Sep 4, 2008, at 12:13 AM, Jürgen Hunold wrote:

>> The workaround was for me to hide the SDK, run configure again, then
>> build.
>
> mmh. Just adding 10.6 to darwin.jam just have worked better

Yes, but that would require me to actually *know* something about the  
boost build system ;-)  It was easier for me to change the environment  
than to figure out how to fix the build.

<rantmode>
As it is, I can barely get pull together the right bjam incantation  
for each new boost release. It's really too bad that there aren't  
better platform specific build recipes documented.
</rantmode>

>> I still can't build successfully, due to an unrelated issue.
>> But I'll post that separately in order to try and keep things clear.

I never followed up regarding this other build issue because it was my  
own problem having to do with statically linked libraries under  
Windows. I didn't think it was worth another post about problems with  
the autolink feature.

>> Snow Leopard will be here before you know it, so at some point the
>> boost build system should be updated to know about 10.6. For that
>> matter, maybe a new SDK would just generate a warning, not a hard  
(Continue reading)

Rene Rivera | 4 Sep 16:49

Re: [Boost-users] [bjam] Presence of Mac OS X 10.6 SDK prevents boost 1.36 build

Jürgen Hunold wrote:
> An'n Freitag 29 August 2008 hett Allen Cronce schreven:
>> The workaround was for me to hide the SDK, run configure again, then
>> build.
> 
> mmh. Just adding 10.6 to darwin.jam just have worked better

Yeah, that would have been the easy solution. I had no idea 10.6 was 
already available.

> I crosspost this to the Boost.Build list. Maybe someone there has a better 
> idea.

Thanks for cross-posting. I must have missed this on the user list.

--

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build


Gmane