Install problem: fatal error: 'ufc.h' file not found

I’m attempting to install FEniCS on a newer Mac machine within a conda env. It seems I first need to install dolfin. I believe I have all the dependencies required. However, I keep getting this error:

build$ make install
[  0%] Building CXX object dolfin/CMakeFiles/dolfin.dir/adaptivity/AdaptiveLinearVariationalSolver.cpp.o
In file included from /Users/gillette7/Documents/software/dolfin-2016.1.0/dolfin/adaptivity/AdaptiveLinearVariationalSolver.cpp:28:
In file included from /Users/gillette7/Documents/software/dolfin-2016.1.0/dolfin/function/Function.h:33:
/Users/gillette7/Documents/software/dolfin-2016.1.0/dolfin/function/GenericFunction.h:27:10: fatal error: 'ufc.h' file not found
#include <ufc.h>
         ^~~~~~~
1 error generated.
make[2]: *** [dolfin/CMakeFiles/dolfin.dir/adaptivity/AdaptiveLinearVariationalSolver.cpp.o] Error 1
make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2
make: *** [all] Error 2

I have tried reading forums about this error but cannot resolve the issue. Any advice? Thanks.

Please post all commands you have used in your conda env. Note that dolfin is on conda (2019.1.0): Fenics Dolfin :: Anaconda.org

Thanks for your reply! I did not know dolfin was on conda, but apparently conda cannot find the package:

$ conda --version
conda 23.5.2
$ conda install -c "conda-forge/label/cf202003" fenics-dolfin
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - fenics-dolfin

Current channels:

  - https://conda.anaconda.org/conda-forge/label/cf202003/osx-arm64
  - https://conda.anaconda.org/conda-forge/label/cf202003/noarch
  - https://repo.anaconda.com/pkgs/main/osx-arm64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-arm64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://conda.anaconda.org/conda-forge/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.
$ conda install -c conda-forge fenics-dolfin
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - fenics-dolfin

Current channels:

  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/osx-arm64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-arm64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

See Fenics from Conda doesn't import - #16 by minrk