Skip to content

CGAL explicitly requested and not found or not functional #193

@MycrofD

Description

@MycrofD

Trying to pip install fastjet on Mac M2, but getting errors like CGAL not found.

      checking CGAL_MAKEFILE... not specified
      checking whether C++ compiler accepts -frounding-math -Werror... no
      checking whether C++ compiler accepts -fp-model strict -Werror... no
      checking CGAL in /private/var/folders/0g/n7p18ft16y3_8bwz00w_1kw81ymyr5/T/pip-install-ksirtcyh/fastjet_17e125686bd34276b7e8111b11946b01/CGAL-5.5.1... lib
      checking for gmp.h... no
      checking for main in -lgmp... no
      configure: error: CGAL explicitly requested and not found or not functional
      This file contains any messages produced by compilers while
      running configure, to aid debugging if configure makes a mistake.

      It was created by FastJet configure 3.4.0, which was
      generated by GNU Autoconf 2.71.  Invocation command line was

Steps taken:

  1. brew install cgal. This installs CGAL 5.5.2.
  2. But fastjet/setup.py:CGAL_ZIP made me think I might need CGAL 5.5.1. So, I tried installing that.
  3. Also tried pip install --upgrade pip wheel
  4. Pyjet seems to install fine without any issue even if it requires brew install cgal gmp wget.

But so far nothing helped. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions