OK did that…it was mp-6, reran with the following:

> Last login: Fri Oct  6 11:50:55 on ttys000
> Charless-MacBook-Pro:~ charlesrogers$ cd ~/wsjtx-prefix/build
> Charless-MacBook-Pro:build charlesrogers$ FC=gfortran-mp-6 \
> >    cmake \
> >    -D CMAKE_PREFIX_PATH="~/Qt/5.9/clang_64;~/hamlib-prefix;/opt/local" \
> >    -D CMAKE_INSTALL_PREFIX=~/wsjtx-prefix \
> >    -D 
> > CMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
> >  \
> >    ~/wsjtx-prefix/src
> -- The Fortran compiler identification is GNU 6.3.0
> -- Checking whether Fortran compiler has -isysroot
> -- Checking whether Fortran compiler has -isysroot - yes
> -- Checking whether Fortran compiler supports OSX deployment target flag
> -- Checking whether Fortran compiler supports OSX deployment target flag - yes
> -- Check for working Fortran compiler: /opt/local/bin/gfortran-mp-6
> -- Check for working Fortran compiler: /opt/local/bin/gfortran-mp-6  -- broken
> CMake Error at 
> /Applications/CMake.app/Contents/share/cmake-3.9/Modules/CMakeTestFortranCompiler.cmake:44
>  (message):
>   The Fortran compiler "/opt/local/bin/gfortran-mp-6" is not able to compile
>   a simple test program.
> 
>   It fails with the following output:
> 
>    Change Dir: /Users/charlesrogers/wsjtx-prefix/build/CMakeFiles/CMakeTmp
> 
>   
> 
>   Run Build Command:"/usr/bin/make" "cmTC_602b1/fast"
> 
>   /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
>   CMakeFiles/cmTC_602b1.dir/build.make CMakeFiles/cmTC_602b1.dir/build
> 
>   Building Fortran object CMakeFiles/cmTC_602b1.dir/testFortranCompiler.f.o
> 
>   /opt/local/bin/gfortran-mp-6 -isysroot
>   
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
>   -mmacosx-version-min=10.9 -c
>   
> /Users/charlesrogers/wsjtx-prefix/build/CMakeFiles/CMakeTmp/testFortranCompiler.f
>   -o CMakeFiles/cmTC_602b1.dir/testFortranCompiler.f.o
> 
>   Linking Fortran executable cmTC_602b1
> 
>   /Applications/CMake.app/Contents/bin/cmake -E cmake_link_script
>   CMakeFiles/cmTC_602b1.dir/link.txt --verbose=1
> 
>   /opt/local/bin/gfortran-mp-6 -isysroot
>   
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
>   -mmacosx-version-min=10.9 CMakeFiles/cmTC_602b1.dir/testFortranCompiler.f.o
>   -o cmTC_602b1
> 
>   ld: unexpected token: !tapi-tbd-v2 file
>   
> '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/lib/libSystem.tbd'
>   for architecture x86_64
> 
>   collect2: error: ld returned 1 exit status
> 
>   make[1]: *** [cmTC_602b1] Error 1
> 
>   make: *** [cmTC_602b1/fast] Error 2
> 
>   
> 
>   
> 
>   CMake will not be able to correctly generate this project.
> Call Stack (most recent call first):
>   CMakeLists.txt:25 (project)
> 
> 
> -- Configuring incomplete, errors occurred!
> See also "/Users/charlesrogers/wsjtx-prefix/build/CMakeFiles/CMakeOutput.log".
> See also "/Users/charlesrogers/wsjtx-prefix/build/CMakeFiles/CMakeError.log".
> Charless-MacBook-Pro:build charlesrogers$ 


> On Oct 6, 2017, at 11:32 AM, Bill Somerville <[email protected]> wrote:
> 
> On 06/10/2017 16:22, Charles Rogers wrote:
>> CMake Error at 
>> /Applications/CMake.app/Contents/share/cmake-3.9/Modules/CMakeDetermineFortranCompiler.cmake:33
>>  (message):
>>   Could not find compiler set in environment variable FC:
>> 
>>   gfortran-mp-5.
> Hi Charles,
> 
> this error is saying that the Fortran compiler you have specified by the FC 
> environment variable on the cmake configuration command cannot be found.
> 
> Assuming you have used MacPorts to install a GNU Fortran compiler then; the 
> easiest way to find out what it is called is to open a terminal session, type 
> gfortran and hit TAB to complete the command, whatever comes up is what the 
> FC= should be pointing at. It might be gfortram-mp-6 for example, which is 
> fine and will work just the same.
> 73
> Bill
> G4WJS.
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! 
> http://sdm.link/slashdot_______________________________________________
> wsjt-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to