Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost Library Universal Build for Mac
From: •°o.O sαмι O.o°• (sami.haq99_at_[hidden])
Date: 2014-04-14 03:26:22


Steven,
I am using following command to build boost 1_46_1 universally on Mac.

* ./bjam architecture=combined address-model=32_64*

and got these errors for almost every file:

\
...patience...\
...patience...\
...patience...\
...found 7264 targets...\
...updating 637 targets...\
darwin.compile.c++.pch
bin.v2/libs/math/build/darwin-4.0.1/release/address-model-32_64/architecture-combined/threading-multi/../src/tr1/pch.hpp.gch\

*lipo: can't figure out the architecture type of:
/var/folders/JA/JAecpqQrHImWxzV1JFaa8k+++TI/-Tmp-//ccv8Ktg1.out\*
and

./boost/python/converter/builtin_converters.hpp:121: error:
\'91PyObject\'92 declared as an \'91inline\'92 field\
./boost/python/converter/builtin_converters.hpp:123: error: expected
\'91;\'92 before \'91*\'92 token\
./boost/python/converter/builtin_converters.hpp:121: error: expected
\'91;\'92 before \'91*\'92 token\
./boost/python/converter/builtin_converters.hpp:123: error: expected `;'
before \'91inline\'92\
./boost/python/converter/builtin_converters.hpp:121: error: expected `;'
before \'91inline\'92\
./boost/python/converter/builtin_converters.hpp:123: error: ISO C++ forbids
declaration of \'91PyTypeObject\'92 with no type\
./boost/python/converter/builtin_converters.hpp:121: error: ISO C++ forbids
declaration of \'91PyTypeObject\'92 with no type\
./boost/python/converter/builtin_converters.hpp:123: error:
\'91PyTypeObject\'92 declared as an \'91inline\'92 field\
./boost/python/converter/builtin_converters.hpp:121: error:
\'91PyTypeObject\'92 declared as an \'91inline\'92 field\
./boost/python/converter/builtin_converters.hpp:123: error: expected
\'91;\'92 before \'91const\'92\

and

    "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-dynamic -no-cpp-precomp -gdwarf-2 -Wno-long-double -fPIC -arch i386 -arch
ppc -arch x86_64 -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG
-I"."
-I"/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6"
-c -o
"bin.v2/libs/python/build/darwin-4.0.1/release/address-model-32_64/architecture-combined/threading-multi/object/stl_iterator.o"
"libs/python/src/object/stl_iterator.cpp"\
\
...failed darwin.compile.c++
bin.v2/libs/python/build/darwin-4.0.1/release/address-model-32_64/architecture-combined/threading-multi/object/stl_iterator.o...\

please help me out with this.
kind regards;

On Tue, Apr 8, 2014 at 7:16 PM, Steven Watanabe <watanabesj_at_[hidden]>wrote:

> AMDG
>
> On 04/08/2014 01:03 AM, •°o.O sαмι O.o°• wrote:
> > Hi,
> > I am having different platforms and operating systems of Mac(ppc, intel
> and
> > 10.4 to 10.6)
> > need to build boost library universally that can work for each platform.
> > Found different methods on google but does not work for me, also explored
> > boost documentation.
> > Guide me or send me link if there is any article/information already
> > provided for same issue.
> >
> > what I have tried for boost.1.46.1 to build universally:
> >
> > *./bjam architecture=combine address-model=32_64 *
> >
>
> It should be architecture=combined
>
> > and got
> > *failed darwin.compile.c++
> > bin.v2/--------------/architecture-combine/address-model-32-64*
> > something like this
> >
>
> What is the error message from the compiler, and
> which target is this? All I know from this is
> that something failed, which is not enough to go on.
>
> In Christ,
> Steven Watanabe
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk