Problem with building EXTRA-PAIR package

I’m having trouble accessing the EXTRA-PAIR package.
LAMMPS version 2Aug2023, on a Mac (Mac OSX 13.6.7) and gcc from ports.
I use cmake to build and include EXTRA-PAIR:

cmake -D WITH_JPEG=no -D WITH_PNG=no -D LAMMPS_EXCEPTIONS=on -D PKG_MANYBODY=on -D PKG_EXTRA-PAIR=on -D BUILD_SHARED_LIBS=on -D BUILD_MPI=on -D BUILD_OMP=off -C …/cmake/presets/gcc.cmake …/cmake

As it’s making, the compiler reports that it compiled the .cpp files in EXTRA-PAIR but when
I try to run (for instance) in the input file
pair_style born/gauss

LAMMPS stops and says that it does not recognize that pair_style. Also, when I ask for the build info from the -h in-line option
./lmp -h
it lists the active pair_styles but does not list ANY of those in the EXTRA-PAIR directory.
(It does have those in the MANYBODY directory).

Here are the pair-styles it recognizes:

  • Pair styles:

adp airebo airebo/morse atm bop
born buck buck/coul/cut comb comb3
coul/cut coul/debye coul/dsf coul/wolf reax
dsmc eam eam/alloy eam/cd eam/cd/old
eam/fs eam/he edip edip/multi eim
extep gw gw/zbl hybrid hybrid/overlay
hybrid/scaled lcbop lj/cut lj/cut/coul/cut lj/expand
local/density meam/spline meam/sw/spline morse nb3b/harmonic
polymorphic rebo soft sw sw/angle/table
sw/mod table tersoff tersoff/mod tersoff/mod/c
tersoff/table tersoff/zbl threebody/table vashishta vashishta/table
yukawa zbl zero

Is this the executable in the folder where you just built LAMMPS?

Please re-run CMake without any arguments, just a dot ‘.’.
Toward the end of that run, there should be a summary:

-- <<< Build configuration >>>
   LAMMPS Version:   20240627 patch_27Jun2024-258-g26503c948a
   Operating System: Linux Fedora 40
   CMake Version:    3.28.2
   Build type:       Debug
   Install path:     /home/akohlmey/Downloads/lammps-local
   Generator:        Unix Makefiles using /usr/bin/gmake
-- Enabled packages: ADIOS;AMOEBA;ASPHERE;ATC;AWPMD;BOCS;BODY;BPM;BROWNIAN;CG-DNA;CG-SPICA;CLASS2;COLLOID;COLVARS;COMPRESS;CORESHELL;DIELECTRIC;DIFFRACTION;DIPOLE;DPD-BASIC;DPD-MESO;DPD-REACT;DPD-SMOOTH;DRUDE;EFF;ELECTRODE;EXTRA-COMMAND;EXTRA-COMPUTE;EXTRA-DUMP;EXTRA-FIX;EXTRA-MOLECULE;EXTRA-PAIR;FEP;GRANULAR;H5MD;INTEL;INTERLAYER;KIM;KSPACE;LATBOLTZ;LEPTON;MACHDYN;MANIFOLD;MANYBODY;MC;MDI;MEAM;MESONT;MGPT;MISC;ML-IAP;ML-PACE;ML-POD;ML-QUIP;ML-RANN;ML-SNAP;ML-UF3;MOFFF;MOLECULE;MOLFILE;NETCDF;OPENMP;OPT;ORIENT;PERI;PHONON;PLUGIN;PLUMED;POEMS;PTM;PYTHON;QEQ;QTB;REACTION;REAXFF;REPLICA;RHEO;RIGID;SHOCK;SMTBQ;SPH;SPIN;SRD;TALLY;UEF;VORONOI;YAFF

The list with “Enabled packages” should be repeated in the LAMMPS help output. In my case:

Large-scale Atomic/Molecular Massively Parallel Simulator - 27 Jun 2024
Git info (collected-small-fixes / patch_27Jun2024-258-g26503c948a)

[...]

Installed packages:

ADIOS AMOEBA ASPHERE ATC AWPMD BOCS BODY BPM BROWNIAN CG-DNA CG-SPICA CLASS2 
COLLOID COLVARS COMPRESS CORESHELL DIELECTRIC DIFFRACTION DIPOLE DPD-BASIC 
DPD-MESO DPD-REACT DPD-SMOOTH DRUDE EFF ELECTRODE EXTRA-COMMAND EXTRA-COMPUTE 
EXTRA-DUMP EXTRA-FIX EXTRA-MOLECULE EXTRA-PAIR FEP GRANULAR H5MD INTEL 
INTERLAYER KIM KSPACE LATBOLTZ LEPTON MACHDYN MANIFOLD MANYBODY MC MDI MEAM 
MESONT MGPT MISC ML-IAP ML-PACE ML-POD ML-QUIP ML-RANN ML-SNAP ML-UF3 MOFFF 
MOLECULE MOLFILE NETCDF OPENMP OPT ORIENT PERI PHONON PLUGIN PLUMED POEMS PTM 
PYTHON QEQ QTB REACTION REAXFF REPLICA RHEO RIGID SHOCK SMTBQ SPH SPIN SRD 
TALLY UEF VORONOI YAFF 

Thank you for your help. I figured it out with that suggestion.