Re: cctbx build error
On Sat, 07. Jul 11:14, PICCA Frédéric-Emmanuel wrote:
> just for the record, I got this error now that I added the right build-dep
> /tmp/buildd/cctbx-2012.05.08.2305/cctbx_sources/mmtbx/bulk_solvent/bulk_solvent_ext.cpp:108:33: required from here
> /tmp/buildd/cctbx-2012.05.08.2305/cctbx_sources/mmtbx/bulk_solvent/bulk_solvent.h:395:9: error: 'r_factor' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
> In file included from /tmp/buildd/cctbx-2012.05.08.2305/cctbx_sources/mmtbx/bulk_solvent/bulk_solvent_ext.cpp:7:0:
> /tmp/buildd/cctbx-2012.05.08.2305/cctbx_sources/mmtbx/bulk_solvent/bulk_solvent.h:935:1: note: 'template<class FloatType, class ComplexType> FloatType mmtbx::bulk_solvent::r_factor(const scitbx::af::const_ref<ElementType>&, const scitbx::af::const_ref<std::complex<_Up> >&, const scitbx::af::const_ref<std::complex<_Up> >&, const FloatType&, const FloatType&)' declared here, later in the translation unit
> scons: *** [mmtbx/bulk_solvent/bulk_solvent_ext.o] Error 1
> scons: building terminated because of errors.
> usr+sys time: 36.97 seconds
> wall clock time: 23 minutes 27.96 seconds (1407.96 seconds total)
This is strange! I did not see this error before. But could have something to do
with building against openmp. I was only testing boost threads with the latest
upstream package. The rules file is set to build both types of python-ext once
compiled against boost threads the other one against openmp. The idea was to
give the user a choice between 2 extension packages which both provide the
dependency for python-cctbx but conflict. But I guess it's probably best to just
use boost to not have too much work.
P.S: I just saw that I was accepted into Debian Science Project on alioth.
Thanks for that and it's a great honor to work with all of you! Now I can start
pushing some changes to the git.
- cctbx build error
- From: PICCA Frédéric-Emmanuel <firstname.lastname@example.org>