[rsf-user] MacOS install error

1 view
Skip to first unread message

Comcast - Scott

unread,
Nov 30, 2022, 2:17:45 PM11/30/22
to rsf-...@lists.sourceforge.net
Hi,

I am working on macOS Big Sur version 11.7.1 and trying to install madagascar-3..1.1. 

I’ve updated my Xcode command line tools and I have installed most libraries.  Below is the output from my configuration run which looks like it should (I think!?).  I ran a make clean, then make install and the compile dies with conflicting types errors.  The first error I get is:

In file included from build/pens/main/../include/extern.h:4:
build/include/rsf.h:5325:7: error: conflicting types for 'sasum_'
float sasum_(int *n,float *x,int *incx);
      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/fortran_blas.h:33:8: note: previous declaration is here
double sasum_(int *n, float *sx, int *incx)
       ^
and the make ends with:

fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
scons: *** [build/pens/main/gdpen.o] Error 1
scons: building terminated because of errors.
make: *** [install] Error 2
michellss:madagascar-3.1.1 Scott$ pwd
/Users/Scott/Seismic/madagascar-3.1.1


any idea what is going wrong?
Thanks,
Scott Michell


The output from configure is:

./configure --prefix=/Users/Scott/Seismic/Madagascar
checking for Python ... /usr/local/opt/python/libexec/bin/python
checking Python version ... 3.7.6
checking for RSFROOT ... /Users/Scott/Seismic/Madagascar
checking for SCons ... /Users/Scott/Library/Python/3.7/bin/scons
checking SCons version ... v4.4.0.fc8d0ec215ee6cba8bc158ad40c099be0b598297
Running RSFROOT=/Users/Scott/Seismic/Madagascar /Users/Scott/Library/Python/3.7/bin/scons  config ...
------------------------
scons: Reading SConscript files ...
checking platform ... (cached) darwin [unknown]
checking for C compiler ... (cached) gcc
checking if gcc works ... yes
checking if gcc accepts '-x c -std=gnu17 -Wall -pedantic' ... yes
checking for ar ... (cached) ar
checking for libraries ... ['m', 'mx']
checking complex support ... yes
checking for X11 headers ... /opt/X11/include
checking for X11 libraries ... /opt/X11/lib
checking for OpenGL ... yes
checking for sfpen ... (cached) oglpen
checking for ppm ... yes
checking for tiff ... yes
checking for GD (PNG) ... yes
checking for GD (GIF) ... yes
checking for plplot ... yes
checking for ffmpeg ... yes
checking for cairo (PNG) ... yes
checking for cairo (SVG) ... yes
checking for cairo (PDF) ... yes
checking for jpeg ... yes
checking for BLAS ... yes
checking for LAPACK ... yes
checking for SWIG ... (cached) /opt/local/bin/swig
checking for numpy ... (cached) yes
checking API options ... (cached) []
checking for C++ compiler ... (cached) g++
checking if g++ works ... yes
checking if g++ accepts '-std=gnu++17 -U__STRICT_ANSI__ -Wall -pedantic' ... yes
checking for MPICC ... (cached) /opt/local/bin/mpicc
checking if /opt/local/bin/mpicc works ... yes
checking for MPICXX ... (cached) /opt/local/bin/mpicxx
checking if /opt/local/bin/mpicxx works ... yes
checking for MPIRUN ... (cached) /opt/local/bin/mpirun
checking for Posix threads ... yes
checking for OpenMP ... no
checking for CUDA ... (cached) no
checking for FFTW ... yes
checking if FFTW supports threads ... yes
checking for SuiteSparse ... no
checking for pfft ... no
scons: done reading SConscript files.
scons: Building targets ...
shell_script(["env.sh"], [])
shell_script(["env.csh"], [])
scons: done building targets.
------------------------
Done with configuration.
Reply all
Reply to author
Forward
0 new messages