← Back to team overview

dolfin team mailing list archive

Re: [Dorsal] Other problems building DOLFIN on Snow Leopard

 

On Sat, Aug 21, 2010 at 02:40:09PM +0200, Anders Logg wrote:
> On Sat, Aug 21, 2010 at 12:52:01PM +0100, Garth N. Wells wrote:
> > On Sat, 2010-08-21 at 13:43 +0200, Anders Logg wrote:
> > > On Sat, Aug 21, 2010 at 10:34:44AM +0100, Garth N. Wells wrote:
> > > > On Sat, 2010-08-21 at 11:28 +0200, Anders Logg wrote:
> > > > > On Sat, Aug 21, 2010 at 09:24:39AM +0100, Garth N. Wells wrote:
> > > > > > On Aug 21 2010, Anders Logg wrote:
> > > > > >
> > > > > > >Armadillo worked for me last time I checked (before adding Trilinos).
> > > > > > >
> > > > > > >Garth mentioned something about the mpfr problem but I didn't
> > > > > > >understand what the solution was.
> > > > > > >
> > > > > >
> > > > > >
> > > > > > The solution is straightforward: install mpfr.
> > > > >
> > > > > Shouldn't there be a test for mpfr?
> > > > >
> > > >
> > > > There is a FIXME ;).
> > >
> > > I added a check for MPFR to the CGAL test but that doesn't seem to be
> > > the problem.
> > >
> >
> > Are you adding link flags for MPFR? The file
> >
> >    /usr/lib/CGAL/CGALConfig.cmake
> >
> > should list all the libraries that CGAL needs to be linked with.
> >
> > > Can someone tell me where the FindCGAL.cmake test is that we now call
> > > from within FindCGAL.dolfin.cmake? Is it part of CMake? I can't find it.
> > >
> >
> >   /usr/lib/CGAL
> >
> > on Ubuntu.
>
> This is very strange. I don't have that directory on my system. I also
> don't have libcgal-dev installed (which I thought I had). Still, the
> CMake test does not complain and reports
>
> -- Found CGAL: TRUE
>
> Anywhere else this file may be located?

The problem was the QUIET argument to find_package. If that is set,
CMake will pretend everything is ok if the packacke config script is
missing.

I've removed all QUIET now.

--
Anders