Tried both:

> ast login: Fri Oct  6 12:18:48 on ttys000
> Charless-MacBook-Pro:~ charlesrogers$ sudo port install ld64 +ld64_xcode.
> Password:
> Warning: port definitions are more than two weeks old, consider updating them 
> by running 'port selfupdate'.
> --->  Computing dependencies for ld64
> --->  Cleaning ld64
> --->  Scanning binaries for linking errors
> --->  No broken files found.                             
> Charless-MacBook-Pro:~ charlesrogers$ sudo port update
> Warning: port definitions are more than two weeks old, consider updating them 
> by running 'port selfupdate'.
> Error: Unrecognized action "port update"
> Charless-MacBook-Pro:~ charlesrogers$ port selfupdate
> Error: Insufficient privileges to write to MacPorts install prefix.
> Charless-MacBook-Pro:~ charlesrogers$ sudo port selfupdate
> --->  Updating MacPorts base sources using rsync
> MacPorts base version 2.4.1 installed,
> MacPorts base version 2.4.1 downloaded.
> --->  Updating the ports tree
> --->  MacPorts base is already the latest version
> 
> The ports tree has been updated. To upgrade your installed ports, you should 
> run
>   port upgrade outdated
> Charless-MacBook-Pro:~ charlesrogers$ sudo port upgrade outdated
> --->  Fetching archive for expat
> --->  Attempting to fetch expat-2.2.4_0.darwin_16.x86_64.tbz2 from 
> https://packages.macports.org/expat
> --->  Attempting to fetch expat-2.2.4_0.darwin_16.x86_64.tbz2.rmd160 from 
> https://packages.macports.org/expat
> --->  Installing expat @2.2.4_0
> --->  Cleaning expat
> --->  Deactivating expat @2.2.3_0
> --->  Cleaning expat
> --->  Activating expat @2.2.4_0
> --->  Cleaning expat
> --->  Fetching archive for ncurses
> --->  Attempting to fetch ncurses-6.0-20170916_0.darwin_16.x86_64.tbz2 from 
> https://packages.macports.org/ncurses
> --->  Attempting to fetch ncurses-6.0-20170916_0.darwin_16.x86_64.tbz2.rmd160 
> from https://packages.macports.org/ncurses
> --->  Installing ncurses @6.0-20170916_0
> --->  Cleaning ncurses
> --->  Deactivating ncurses @6.0-20170708_0
> --->  Cleaning ncurses
> --->  Activating ncurses @6.0-20170916_0
> --->  Cleaning ncurses
> --->  Computing dependencies for libedit
> --->  Fetching archive for libedit
> --->  Attempting to fetch libedit-20170329-3.1_2.darwin_16.x86_64.tbz2 from 
> https://packages.macports.org/libedit
> --->  Attempting to fetch libedit-20170329-3.1_2.darwin_16.x86_64.tbz2.rmd160 
> from https://packages.macports.org/libedit
> --->  Installing libedit @20170329-3.1_2
> --->  Cleaning libedit
> --->  Computing dependencies for libedit
> --->  Deactivating libedit @20170329-3.1_0
> --->  Cleaning libedit
> --->  Activating libedit @20170329-3.1_2
> --->  Cleaning libedit
> --->  Computing dependencies for libxml2
> --->  Fetching archive for libxml2
> --->  Attempting to fetch libxml2-2.9.5_0.darwin_16.x86_64.tbz2 from 
> https://packages.macports.org/libxml2
> --->  Attempting to fetch libxml2-2.9.5_0.darwin_16.x86_64.tbz2.rmd160 from 
> https://packages.macports.org/libxml2
> --->  Installing libxml2 @2.9.5_0
> --->  Cleaning libxml2
> --->  Computing dependencies for libxml2
> --->  Deactivating libxml2 @2.9.4_1
> --->  Cleaning libxml2
> --->  Activating libxml2 @2.9.5_0
> --->  Cleaning libxml2
> --->  Computing dependencies for xar
> --->  Fetching archive for xar
> --->  Attempting to fetch xar-1.6.1_0.darwin_16.x86_64.tbz2 from 
> https://packages.macports.org/xar
> --->  Attempting to fetch xar-1.6.1_0.darwin_16.x86_64.tbz2.rmd160 from 
> https://packages.macports.org/xar
> --->  Installing xar @1.6.1_0
> --->  Cleaning xar
> --->  Computing dependencies for xar
> --->  Deactivating xar @1.5.2_2
> --->  Cleaning xar
> --->  Activating xar @1.6.1_0
> --->  Cleaning xar
> --->  Computing dependencies for llvm-4.0
> --->  Fetching archive for llvm-4.0
> --->  Attempting to fetch llvm-4.0-4.0.1_1.darwin_16.x86_64.tbz2 from 
> https://packages.macports.org/llvm-4.0
> --->  Attempting to fetch llvm-4.0-4.0.1_1.darwin_16.x86_64.tbz2.rmd160 from 
> https://packages.macports.org/llvm-4.0
> --->  Installing llvm-4.0 @4.0.1_1
> --->  Cleaning llvm-4.0
> --->  Computing dependencies for llvm-4.0
> --->  Deactivating llvm-4.0 @4.0.1_0
> --->  Cleaning llvm-4.0
> --->  Activating llvm-4.0 @4.0.1_1
> --->  Cleaning llvm-4.0
> --->  Fetching distfiles for gmp
> --->  Verifying checksums for gmp
> --->  Extracting gmp
> --->  Applying patches to gmp
> --->  Configuring gmp
> --->  Building gmp
> --->  Staging gmp into destroot
> --->  Installing gmp @6.1.2_1
> --->  Cleaning gmp
> --->  Deactivating gmp @6.1.2_0
> --->  Cleaning gmp
> --->  Activating gmp @6.1.2_1
> --->  Cleaning gmp
> --->  Computing dependencies for mpfr
> --->  Fetching archive for mpfr
> --->  Attempting to fetch mpfr-3.1.6_0.darwin_16.x86_64.tbz2 from 
> https://packages.macports.org/mpfr
> --->  Attempting to fetch mpfr-3.1.6_0.darwin_16.x86_64.tbz2.rmd160 from 
> https://packages.macports.org/mpfr
> --->  Installing mpfr @3.1.6_0
> --->  Cleaning mpfr
> --->  Computing dependencies for mpfr
> --->  Deactivating mpfr @3.1.5_0
> --->  Cleaning mpfr
> --->  Activating mpfr @3.1.6_0
> --->  Cleaning mpfr
> --->  Computing dependencies for libgcc
> --->  Fetching archive for libgcc
> --->  Attempting to fetch libgcc-7.2.0_1.darwin_16.x86_64.tbz2 from 
> https://packages.macports.org/libgcc
> --->  Attempting to fetch libgcc-7.2.0_1.darwin_16.x86_64.tbz2.rmd160 from 
> https://packages.macports.org/libgcc
> --->  Installing libgcc @7.2.0_1
> --->  Cleaning libgcc
> --->  Computing dependencies for libgcc
> --->  Deactivating libgcc @6.3.0_0
> --->  Cleaning libgcc
> --->  Activating libgcc @7.2.0_1
> --->  Cleaning libgcc
> --->  Computing dependencies for libgcc6
> --->  Fetching archive for libgcc6
> --->  Attempting to fetch libgcc6-6.4.0_1.darwin_16.x86_64.tbz2 from 
> https://packages.macports.org/libgcc6
> --->  Attempting to fetch libgcc6-6.4.0_1.darwin_16.x86_64.tbz2.rmd160 from 
> https://packages.macports.org/libgcc6
> --->  Installing libgcc6 @6.4.0_1
> --->  Activating libgcc6 @6.4.0_1
> --->  Cleaning libgcc6
> --->  Computing dependencies for gcc6
> --->  Fetching archive for gcc6
> --->  Attempting to fetch gcc6-6.4.0_0.darwin_16.x86_64.tbz2 from 
> https://packages.macports.org/gcc6
> --->  Attempting to fetch gcc6-6.4.0_0.darwin_16.x86_64.tbz2.rmd160 from 
> https://packages.macports.org/gcc6
> --->  Installing gcc6 @6.4.0_0
> --->  Cleaning gcc6
> --->  Computing dependencies for gcc6
> --->  Deactivating gcc6 @6.3.0_2
> --->  Cleaning gcc6
> --->  Activating gcc6 @6.4.0_0
> --->  Cleaning gcc6
> --->  Fetching archive for libusb-devel
> --->  Attempting to fetch libusb-devel-20170824_0.darwin_16.x86_64.tbz2 from 
> https://packages.macports.org/libusb-devel
> --->  Attempting to fetch 
> libusb-devel-20170824_0.darwin_16.x86_64.tbz2.rmd160 from 
> https://packages.macports.org/libusb-devel
> --->  Installing libusb-devel @20170824_0
> --->  Cleaning libusb-devel
> --->  Deactivating libusb-devel @20170728_0
> --->  Cleaning libusb-devel
> --->  Activating libusb-devel @20170824_0
> --->  Cleaning libusb-devel
> --->  Computing dependencies for sqlite3
> --->  Fetching archive for sqlite3
> --->  Attempting to fetch sqlite3-3.20.1_0.darwin_16.x86_64.tbz2 from 
> https://packages.macports.org/sqlite3
> --->  Attempting to fetch sqlite3-3.20.1_0.darwin_16.x86_64.tbz2.rmd160 from 
> https://packages.macports.org/sqlite3
> --->  Installing sqlite3 @3.20.1_0
> --->  Cleaning sqlite3
> --->  Computing dependencies for sqlite3
> --->  Deactivating sqlite3 @3.19.3_0
> --->  Cleaning sqlite3
> --->  Activating sqlite3 @3.20.1_0
> --->  Cleaning sqlite3
> --->  Computing dependencies for python27
> --->  Fetching archive for python27
> --->  Attempting to fetch python27-2.7.14_0.darwin_16.x86_64.tbz2 from 
> https://packages.macports.org/python27
> --->  Attempting to fetch python27-2.7.14_0.darwin_16.x86_64.tbz2.rmd160 from 
> https://packages.macports.org/python27
> --->  Installing python27 @2.7.14_0
> --->  Cleaning python27
> --->  Computing dependencies for python27
> --->  Deactivating python27 @2.7.13_1
> --->  Cleaning python27
> --->  Activating python27 @2.7.14_0
> --->  Cleaning python27
> --->  Computing dependencies for ruby22
> --->  Fetching archive for ruby22
> --->  Attempting to fetch ruby22-2.2.8_0.darwin_16.x86_64.tbz2 from 
> https://packages.macports.org/ruby22
> --->  Attempting to fetch ruby22-2.2.8_0.darwin_16.x86_64.tbz2.rmd160 from 
> https://packages.macports.org/ruby22
> --->  Installing ruby22 @2.2.8_0
> --->  Cleaning ruby22
> --->  Computing dependencies for ruby22
> --->  Deactivating ruby22 @2.2.7_1
> --->  Cleaning ruby22
> --->  Activating ruby22 @2.2.8_0
> --->  Cleaning ruby22
> --->  Computing dependencies for texinfo
> --->  Fetching archive for texinfo
> --->  Attempting to fetch texinfo-6.5_0.darwin_16.x86_64.tbz2 from 
> https://packages.macports.org/texinfo
> --->  Attempting to fetch texinfo-6.5_0.darwin_16.x86_64.tbz2.rmd160 from 
> https://packages.macports.org/texinfo
> --->  Installing texinfo @6.5_0
> --->  Cleaning texinfo
> --->  Computing dependencies for texinfo
> --->  Deactivating texinfo @6.4_0
> --->  Cleaning texinfo
> --->  Activating texinfo @6.5_0
> --->  Cleaning texinfo
> --->  Updating database of binaries
> --->  Scanning binaries for linking errors               
> --->  No broken files found.                             
> --->  Some of the ports you installed have notes:
>   python27 has the following notes:
>     To make this the default Python or Python 2 (i.e., the version run by the
>     'python' or 'python2' commands), run one or both of:
>     
>         sudo port select --set python python27
>         sudo port select --set python2 python27
> 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.4.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_87cdc/fast"
> 
>   /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
>   CMakeFiles/cmTC_87cdc.dir/build.make CMakeFiles/cmTC_87cdc.dir/build
> 
>   Building Fortran object CMakeFiles/cmTC_87cdc.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_87cdc.dir/testFortranCompiler.f.o
> 
>   Linking Fortran executable cmTC_87cdc
> 
>   /Applications/CMake.app/Contents/bin/cmake -E cmake_link_script
>   CMakeFiles/cmTC_87cdc.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_87cdc.dir/testFortranCompiler.f.o
>   -o cmTC_87cdc
> 
>   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_87cdc] Error 1
> 
>   make: *** [cmTC_87cdc/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$ sudo xcode-select -s 
> /Applications/Xcode.app/Contents/Developer
> Password:
> Charless-MacBook-Pro:build charlesrogers$ 
> Charless-MacBook-Pro:build charlesrogers$ 


> On Oct 6, 2017, at 12:08 PM, Bill Somerville <[email protected]> wrote:
> 
> On 06/10/2017 16:57, Charles Rogers wrote:
>> ld: unexpected token: !tapi-tbd-v2 file
> Hi Charles,
> 
> I think there is a problem with a mismatch between the version of Xcode you 
> have installed and the Xcode command line tools you have installed. I believe 
> this has a solution:
> 
> https://stackoverflow.com/questions/17980759/xcode-select-active-developer-directory-error/17980786#17980786
>  
> <https://stackoverflow.com/questions/17980759/xcode-select-active-developer-directory-error/17980786#17980786>
> 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