Closed cooljeanius closed 1 month ago
Looks like it's trying to build the python binding, which is not expected. What's the output for the python checks in configure? THis is what I have in my macOS13 system:
checking for python... no
checking for python2... no
checking for python3... /usr/bin/python3
checking for python version... 3.9
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python3.9/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.9/site-packages
checking for python3.9-config... /opt/sw/bin/python3.9-config
checking for Python include flags... -I/opt/sw/include/python3.9 -I/opt/sw/include/python3.9
checking Python.h usability... yes
checking Python.h presence... yes
checking for Python.h... yes
checking for Numpy include directory... unknown
checking for numpy/arrayobject.h... no
configure: WARNING: disabling Python wrappers
@babayoshihiko there are configure flags to explicitly disable language bindings. Would be good to turn off to avoid opportunistic attempts:
--without-guile don't compile Guile plugin
--without-python don't compile Python plugin
--without-octave don't compile Octave plugin
--without-matlab don't compile Matlab plugin
Plugins section of configure for me:
checking for guile-config... unknown
configure: WARNING: can't find guile-config, disabling Guile wrapper
checking for guile... unknown
configure: WARNING: can't find guile, disabling Guile wrapper
checking for python... /opt/sw/bin/python
checking for python version... 2.7
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for python2.7-config... /opt/sw/bin/python2.7-config
checking for Python include flags... -I/opt/sw/include/python2.7 -I/opt/sw/include/python2.7
checking Python.h usability... yes
checking Python.h presence... yes
checking for Python.h... yes
checking for Numpy include directory... /opt/sw/lib/python2.7/site-packages/numpy/core/include
checking for numpy/arrayobject.h... yes
checking for mkoctfile... no
configure: WARNING: can't find mkoctfile: won't be able to compile GNU Octave plugin
checking for mex... mex
checking for extension of compiled mex files... configure: WARNING: mex failed to compile a simple file; won't compile Matlab plugin
...btw, the mex
being found is from texlive-base, not anything to do with Matlab:
$ /opt/sw/bin/dpkg -S /opt/sw/bin/mex
dpkg: serious warning: files list file for package `fink-buildlock-ccp4-6.5-1' missing, assuming package has no files currently installed.
texlive-base: /opt/sw/bin/mex
pushing workaround fix to turn off all wrappers until they're activated (if wanted) in a more deterministic manner.
I'm on x86_64 Big Sur with Xcode 13. cc @babayoshihiko