[cctbxbb] Build on OS X Lion

Ralf Grosse-Kunstleve rwgrosse-kunstleve at lbl.gov
Wed Feb 22 00:51:55 PST 2012


Hi Graeme,

What do you get from

c++ --version

?
On my Lion laptop I get

i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5658) (LLVM build 2335.15.00)

Also, what do you get from

cat /Users/graeme/svn/cctbx/sources/boost/TAG

?

Ralf

On Wed, Feb 22, 2012 at 12:28 AM, <Graeme.Winter at diamond.ac.uk> wrote:

> Hi Folks,
>
> Just ran the cctbx_svn_getting_started script to do a build on a new lion
> system and I got this error - had anyone else got this working correctly on
> such a system? Template definition not found is a little beyond my usual
> C++ debugging skills.
>
> Many thanks,
>
> Graeme
>
>
>
>
> c++ -o scitbx/math/boost_python/tensor_rank_2.o -c -DBOOST_ALL_NO_LIB
> -DBOOST_DISABLE_THREADS -DBOOST_PYTHON_MAX_BASES=2
> -I/Users/graeme/svn/cctbx/sources/boost -fPIC -fno-strict-aliasing -w
> -no-cpp-precomp -DNDEBUG -O3 -ffast-math -Iinclude
> -I/Users/graeme/svn/cctbx/sources/include
> -I/Users/graeme/svn/cctbx/sources/cctbx_project/include
> -I/Users/graeme/svn/cctbx/sources/cctbx_project
> -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
> /Users/graeme/svn/cctbx/sources/cctbx_project/scitbx/math/boost_python/tensor_rank_2.cpp
> clang: warning: argument unused during compilation: '-no-cpp-precomp'
> In file included from
> /Users/graeme/svn/cctbx/sources/cctbx_project/scitbx/math/boost_python/math_ext.cpp:3:
> In file included from
> /Users/graeme/svn/cctbx/sources/cctbx_project/scitbx/math/bessel.h:9:
> In file included from
> /Users/graeme/svn/cctbx/sources/boost/boost/math/special_functions/bessel.hpp:17:
> /Users/graeme/svn/cctbx/sources/boost/boost/math/special_functions/detail/bessel_jy.hpp:339:16:
> error:
>      call to function 'bessel_j_small_z_series' that is neither visible in
> the
>      template definition nor found by argument-dependent lookup
>          Jv = bessel_j_small_z_series(v, x, pol);
>               ^
> /Users/graeme/svn/cctbx/sources/boost/boost/math/special_functions/bessel.hpp:119:4:
> note:
>      in instantiation of function template specialization
>      'boost::math::detail::bessel_jy<long double,
>      boost::math::policies::policy<boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy> >' requested here
>   bessel_jy(v, x, &j, &y, need_j, pol);
>   ^
> /Users/graeme/svn/cctbx/sources/boost/boost/math/special_functions/bessel.hpp:165:9:
> note:
>      in instantiation of function template specialization
>      'boost::math::detail::cyl_bessel_j_imp<long double,
>      boost::math::policies::policy<boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy> >' requested here
>      * cyl_bessel_j_imp(T(T(n)+T(0.5f)), x, bessel_no_int_tag(), pol);
>        ^
> /Users/graeme/svn/cctbx/sources/boost/boost/math/special_functions/bessel.hpp:449:65:
> note:
>      in instantiation of function template specialization
>      'boost::math::detail::sph_bessel_j_imp<long double,
>      boost::math::policies::policy<boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy> >' requested here
>   return policies::checked_narrowing_cast<result_type, Policy>(detail:...
>                                                                ^
> /Users/graeme/svn/cctbx/sources/boost/boost/math/special_functions/bessel.hpp:455:11:
> note:
>      in instantiation of function template specialization
>      'boost::math::sph_bessel<double,
>      boost::math::policies::policy<boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy,
>      boost::math::policies::default_policy> >' requested here
>   return sph_bessel(v, x, policies::policy<>());
>          ^
> /Users/graeme/svn/cctbx/sources/cctbx_project/scitbx/math/bessel.h:291:13:
> note:
>      in instantiation of function template specialization
>      'boost::math::sph_bessel<double>' requested here
>    return( sph_bessel(l,x) );
>            ^
> /Users/graeme/svn/cctbx/sources/cctbx_project/scitbx/math/boost_python/math_ext.cpp:363:9:
> note:
>      in instantiation of function template specialization
>      'scitbx::math::bessel::spherical_bessel<double>' requested here
>        bessel::spherical_bessel);
>        ^
> /Users/graeme/svn/cctbx/sources/boost/boost/math/special_functions/detail/bessel_jy_series.hpp:47:10:
> note:
>      'bessel_j_small_z_series' should be declared prior to the call site
> or in
>      namespace 'boost::math::policies'
> inline T bessel_j_small_z_series(T v, T x, const Policy& pol)
>         ^
> In file included from
> /Users/graeme/svn/cctbx/sources/cctbx_project/scitbx/math/boost_python/math_ext.cpp:3:
> In file included from
> /Users/graeme/svn/cctbx/sources/cctbx_project/scitbx/math/bessel.h:9:
> In file included from
> /Users/graeme/svn/cctbx/sources/boost/boost/math/special_functions/bessel.hpp:17:
> /Users/graeme/svn/cctbx/sources/boost/boost/math/special_functions/detail/bessel_jy.hpp:346:16:
> error:
>      call to function 'bessel_y_small_z_series' that is neither visible in
> the
>      template definition nor found by argument-dependent lookup
>          Yv = bessel_y_small_z_series(v, x, &Yv_scale, pol);
>               ^
> /Users/graeme/svn/cctbx/sources/boost/boost/math/special_functions/detail/bessel_jy_series.hpp:139:10:
> note:
>      'bessel_y_small_z_series' should be declared prior to the call site
> or in
>      namespace 'boost::math::policies'
> inline T bessel_y_small_z_series(T v, T x, T* pscale, const Policy& pol)
>         ^
> In file included from
> /Users/graeme/svn/cctbx/sources/cctbx_project/scitbx/math/boost_python/math_ext.cpp:3:
> In file included from
> /Users/graeme/svn/cctbx/sources/cctbx_project/scitbx/math/bessel.h:9:
> In file included from
> /Users/graeme/svn/cctbx/sources/boost/boost/math/special_functions/bessel.hpp:17:
> /Users/graeme/svn/cctbx/sources/boost/boost/math/special_functions/detail/bessel_jy.hpp:356:16:
> error:
>      call to function 'bessel_j_small_z_series' that is neither visible in
> the
>      template definition nor found by argument-dependent lookup
>          Jv = bessel_j_small_z_series(v, x, pol);
>               ^
> /Users/graeme/svn/cctbx/sources/boost/boost/math/special_functions/detail/bessel_jy_series.hpp:47:10:
> note:
>      'bessel_j_small_z_series' should be declared prior to the call site
> or in
>      namespace 'boost::math::policies'
> inline T bessel_j_small_z_series(T v, T x, const Policy& pol)
>         ^
> In file included from
> /Users/graeme/svn/cctbx/sources/cctbx_project/scitbx/math/boost_python/math_ext.cpp:3:
> In file included from
> /Users/graeme/svn/cctbx/sources/cctbx_project/scitbx/math/bessel.h:9:
> In file included from
> /Users/graeme/svn/cctbx/sources/boost/boost/math/special_functions/bessel.hpp:17:
> /Users/graeme/svn/cctbx/sources/boost/boost/math/special_functions/detail/bessel_jy.hpp:363:16:
> error:
>      call to function 'bessel_yn_small_z' that is neither visible in the
>      template definition nor found by argument-dependent lookup
>          Yv = bessel_yn_small_z(n, x, &Yv_scale, pol);
>               ^
> /Users/graeme/svn/cctbx/sources/boost/boost/math/special_functions/detail/bessel_jy_series.hpp:213:3:
> note:
>      'bessel_yn_small_z' should be declared prior to the call site or in
>      namespace 'boost::math::policies'
> T bessel_yn_small_z(int n, T z, T* scale, const Policy& pol)
>  ^
> 4 errors generated.
> c++ -o scitbx/math/boost_python/chebyshev.o -c -DBOOST_ALL_NO_LIB
> -DBOOST_DISABLE_THREADS -DBOOST_PYTHON_MAX_BASES=2
> -I/Users/graeme/svn/cctbx/sources/boost -fPIC -fno-strict-aliasing -w
> -no-cpp-precomp -DNDEBUG -O3 -ffast-math -Iinclude
> -I/Users/graeme/svn/cctbx/sources/include
> -I/Users/graeme/svn/cctbx/sources/cctbx_project/include
> -I/Users/graeme/svn/cctbx/sources/cctbx_project
> -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
> /Users/graeme/svn/cctbx/sources/cctbx_project/scitbx/math/boost_python/chebyshev.cpp
> clang: warning: argument unused during compilation: '-no-cpp-precomp'
> scons: *** [scitbx/math/boost_python/math_ext.o] Error 1
> scons: building terminated because of errors.
> usr+sys time: 23.10 seconds
> wall clock time: 3 minutes 39.02 seconds (219.02 seconds total)
>
> --
> This e-mail and any attachments may contain confidential, copyright and or
> privileged material, and are for the use of the intended addressee only. If
> you are not the intended addressee or an authorised recipient of the
> addressee please notify us of receipt by returning the e-mail and do not
> use, copy, retain, distribute or disclose the information in or attached to
> the e-mail.
> Any opinions expressed within this e-mail are those of the individual and
> not necessarily of Diamond Light Source Ltd.
> Diamond Light Source Ltd. cannot guarantee that this e-mail or any
> attachments are free from viruses and we cannot accept liability for any
> damage which you may sustain as a result of software viruses which may be
> transmitted in or with the message.
> Diamond Light Source Limited (company no. 4375679). Registered in England
> and Wales with its registered office at Diamond House, Harwell Science and
> Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
>
>
>
>
> _______________________________________________
> cctbxbb mailing list
> cctbxbb at phenix-online.org
> http://phenix-online.org/mailman/listinfo/cctbxbb
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/cctbxbb/attachments/20120222/dc575042/attachment-0001.htm>


More information about the cctbxbb mailing list