[CIG-SHORT] issues compiling PyLith on MacOS High Sierra

Moortgat, Joachim B. moortgat.1 at osu.edu
Tue Oct 2 08:15:09 PDT 2018


Dear Developers,


I'm having trouble compiling the latest Pylith release on a new and fully updated Macbook Pro, i.e. running MacOS High Sierra with clang compilers Apple LLVM version 9.1.0 (clang-902.0.39.2). However, I don't seem to get any error messages that provide a clear suggestion of where the problem lies.


I configured as follows (initially it configured by default using the gcc 8.1 compilers from hpc.sourceforge.net<http://hpc.sourceforge.net> , then I changed it to explicitly use cc and c++):


$HOME/src/pylith/pylith-installer-2.2.1-0/configure     --enable-mpi=openmpi     --with-fetch=curl     --with-petsc-options="--download-chaco=1 --download-ml=1 --download-f2cblaslapack=1"     --prefix=$HOME/pylith CC=cc CXX=c++ |tee config_log.txt


Make finishes with:


In file included from /System/Library/Frameworks/Security.framework/Headers/AuthSession.h:32,

                 from /System/Library/Frameworks/Security.framework/Headers/Security.h:43,

                 from /Users/moortgat/build/pylith/cmake-3.7.0/Utilities/cmcurl/lib/urldata.h:146,

                 from /Users/moortgat/build/pylith/cmake-3.7.0/Utilities/cmcurl/lib/file.c:52:

/System/Library/Frameworks/Security.framework/Headers/Authorization.h:193:7: error: variably modified ‘bytes’ at file scope

  char bytes[kAuthorizationExternalFormLength];

       ^~~~~

make[6]: *** [Utilities/cmcurl/lib/CMakeFiles/cmcurl.dir/file.c.o] Error 1

make[5]: *** [Utilities/cmcurl/lib/CMakeFiles/cmcurl.dir/all] Error 2

make[4]: *** [all] Error 2

make[3]: *** [cmake] Error 2

make[2]: *** [installed_cmake] Error 2

make[1]: *** [installed_petsc] Error 2

make: *** [installed_pylith] Error 2


I'm attaching all standard output from both the configure and make steps (and did remember to run the setup.sh in between).


I'd appreciate any suggestions on how to resolve these issues.


--Joachim



------------------------------------
Joachim Moortgat
Assistant Professor
School of Earth Sciences
the Ohio State University
275 Mendenhall Lab, #303
125 South Oval Mall
Columbus, OH 43210
http://u.osu.edu/moortgat/
-------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20181002/a0b2cd98/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config_log.txt
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20181002/a0b2cd98/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: make_log.txt
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20181002/a0b2cd98/attachment-0003.txt>


More information about the CIG-SHORT mailing list