← Back to team overview

dolfin team mailing list archive

Re: [Bug 576427] Re: libboost_thread problem on Mac OS X

 

Johannes Ring wrote:
> Does test/unit/quadrature/cpp/test.cpp also build and work fine without
> it? It didn't work on the buildbot so thats why I added it.
> 
> I think CGAL is linked to libboost_thread{,-mt,-mt-d}.dylib. Can you do
> 
>   otool -L /path/to/libCGAL.dylib
> 
> ?
> 
> What is really needed is a simple test program in cgal.py that tests the
> CGAL functionally which is used in DOLFIN, for instance based on the
> quadrature unit test. Can someone with some CGAL skills (Andre?) come up
> with such a test program?

Yes I will up come with a test program, but after the conference next 
week :) But just for my information: What failed on mac buildbot before 
adding the lines:

if get_architecture() == 'darwin':
         libs += " -lmpfr -lboost_thread"
     return libs

in the cgal.py package configurator? Was is  just because of the missing 
lines? libCGAL already is linked against the libs, so there should no 
need to add this directly, should there? From DOLFIN's point of view it 
is only interesting if a (functional) libCGAL is available.

Another question about the dependencies of dependencies problem :)
Since CGAL (and surely) also other third-library packages used by DOLFIN 
also depends on some libraries such as boost_thread and libmpfr that are 
not installed by default, we should somehow deal with these 
dependencies. Of course we can not take over the work of a package 
manager which resolves all the dependecies automatically. But maybe we 
should add these packages at least in the platform specific remark about 
preliminary packages in dorsal? Or make the dorsal CGAL build fail if 
the needed libs are not available?


> ** Changed in: dolfin
>    Importance: Undecided => Medium
>

-- 
libboost_thread problem on Mac OS X
https://bugs.launchpad.net/bugs/576427
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.

Status in DOLFIN: New

Bug description:
The following changeset prevents dolfin from building on my mac because it doesn't have libboost_thread. It does build and work fine without it though.

http://bazaar.launchpad.net/~dolfin-core/dolfin/main/revision/4699#scons/simula-scons/simula_scons/pkgconfiggenerators/cgal.py





References