← Back to team overview

dorsal team mailing list archive

Re: Problem finding GCAL on ubuntu/precise

 

On Thu, May 31, 2012 at 4:09 PM, Joachim Berdal Haga <jobh@xxxxxxxxx> wrote:
> I've a problem finding (enabling) CGAL with dolfin using the latest dorsal
> on ubuntu 12.04. Not sure if it's a dorsal thing, or if it's something in
> the cmake files (in dolfin).
>
> The relevant output is:
>   -- Checking for package 'CGAL'
>   -- Performing Test CGAL_TEST_RUNS
>   -- Performing Test CGAL_TEST_RUNS - Failed
>   -- CGAL could not be found. Be sure to set CGAL_DIR (missing:
>  CGAL_TEST_RUNS) (Required is at least version "3.8")
>
> In CMakeFiles/CMakeError.log, this seems to be the error message of the
> failing test:
>   make[1]: *** No rule to make target `/usr/lib/libgmpxx.so', needed by
> `cmTryCompileExec'.  Stop.
>
> I have libgmp-dev installed, in /usr/lib/x86_64-linux-gnu/libgmpxx.so,
> but no /usr/lib/libgmpxx.so.

I couldn't reproduce this in a clean chroot with Ubuntu 12.04 and I
also only have /usr/lib/x86_64-linux-gnu/libgmpxx.so. Have you tried
to completely remove the DOLFIN build directory?

Johannes


References