Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-07 Thread C. Gary Rogers
I'm good. Thanks Sent from my iPhone > On Aug 6, 2017, at 8:43 PM, Bill Somerville wrote: > > Hi Gary, > > best bet is to create a new user account and login to that then restore the > files. You may need to install some software again or at least run the >

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread Bill Somerville
Hi Gary, best bet is to create a new user account and login to that then restore the files. You may need to install some software again or at least run the applications once to set up. For example WSJT-X will not create the log file directory until it has been run once for a user. Don't try

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread Charles Rogers
Important files > On Aug 6, 2017, at 8:30 PM, Bill Somerville wrote: > > On 07/08/2017 01:25, Charles Rogers wrote: >> Have them on a thumb drive > > Hi Gary, > > is it an image backup of your home folder, a copy of your home folder, or > just copies of important files

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread Bill Somerville
On 07/08/2017 01:25, Charles Rogers wrote: Have them on a thumb drive Hi Gary, is it an image backup of your home folder, a copy of your home folder, or just copies of important files and folders? 73 Bill G4WJS.

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread Charles Rogers
Have them on a thumb drive > On Aug 6, 2017, at 8:21 PM, Bill Somerville wrote: > > On 07/08/2017 01:17, C. Gary Rogers wrote: >> I had run the CD command prior…No time machine…What to do now? > > Hi Gary, > > the command prompt says otherwise, the ~ shows the working

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread Bill Somerville
On 07/08/2017 01:17, C. Gary Rogers wrote: I had run the CD command prior…No time machine…What to do now? Hi Gary, the command prompt says otherwise, the ~ shows the working directory was your home directory when you ran the delete command. If you do not have Time Machine running then you

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread C. Gary Rogers
I had run the CD command prior…No time machine…What to do now? > On Aug 6, 2017, at 8:08 PM, Bill Somerville wrote: > > On 07/08/2017 01:04, C. Gary Rogers wrote: >> Last login: Sun Aug 6 19:57:03 on ttys001 >> Charless-MacBook-Pro:~ charlesrogers$ rm -r * > Hi Gary, >

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread C. Gary Rogers
And my log has disappeared… > On Aug 6, 2017, at 8:04 PM, C. Gary Rogers wrote: > > First three commands no problem…Then: > > Last login: Sun Aug 6 19:57:03 on ttys001 > Charless-MacBook-Pro:~ charlesrogers$ rm -r * > rm: Desktop: Permission denied > rm: Documents:

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread Bill Somerville
On 07/08/2017 01:04, C. Gary Rogers wrote: Last login: Sun Aug 6 19:57:03 on ttys001 Charless-MacBook-Pro:~ charlesrogers$ rm -r * Hi Gary, Err, Looks like you deleted your home directory!! Commands were: $ cd ~/wsjtx-prefix/build $ rm -r * but prompt shows that the cd command was not run

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread Bill Somerville
On 07/08/2017 00:25, C. Gary Rogers wrote: Charless-MacBook-Pro:~ charlesrogers$ port list installed Hi Gary, thanks for that. Ok now we need to upgrade gcc from gcc5 to gcc6, I'm not sure I can give you the right commands in one go but let's see: $ sudo port uninstall gcc5 $ sudo port

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread C. Gary Rogers
Sorry Last login: Sun Aug 6 18:18:02 on ttys001 Charless-MacBook-Pro:~ charlesrogers$ sudo port selfupdate Password: Sorry, try again. Password: ---> Updating MacPorts base sources using rsync MacPorts base version 2.4.1 installed, MacPorts base version 2.4.1 downloaded. ---> Updating the

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread Bill Somerville
Hi Gary, check my instructions below, there were four commands to execute and it looks like you only ran the first. I was looking for the output from the last of the four commands? 73 Bill G4WJS. On 06/08/2017 23:19, C. Gary Rogers wrote: Last login: Sun Aug 6 17:41:10 on ttys001

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread C. Gary Rogers
Last login: Sun Aug 6 17:41:10 on ttys001 Charless-MacBook-Pro:~ charlesrogers$ sudo port selfupdate Password: Sorry, try again. Password: ---> Updating MacPorts base sources using rsync MacPorts base version 2.4.1 installed, MacPorts base version 2.4.1 downloaded. ---> Updating the ports tree

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread Bill Somerville
On 06/08/2017 22:42, C. Gary Rogers wrote: Charless-MacBook-Pro:~ charlesrogers$ grep FortranCInterface ~/wsjtx-prefix/build/CMakeCache.txt FortranCInterface_VERIFIED_CXX:INTERNAL=0 Hi Gary, Oh! That's not good, CMake has decided that Fortran and C++ do not interoperate on your setup. Let's

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread C. Gary Rogers
Last login: Sun Aug 6 17:14:34 on ttys001 Charless-MacBook-Pro:~ charlesrogers$ grep FortranCInterface ~/wsjtx-prefix/build/CMakeCache.txt FortranCInterface_VERIFIED_CXX:INTERNAL=0 Charless-MacBook-Pro:~ charlesrogers$ > On Aug 6, 2017, at 5:18 PM, C. Gary Rogers wrote:

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread Bill Somerville
On 06/08/2017 21:59, C. Gary Rogers wrote: Last login: Sun Aug 6 16:36:24 on ttys001 Charless-MacBook-Pro:~ charlesrogers$ cd ~/wsjtx-prefix/build Charless-MacBook-Pro:build charlesrogers$ cat FC.h #ifndef FC_HEADER_INCLUDED #define FC_HEADER_INCLUDED

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread C. Gary Rogers
No go: [ 93%] Building CXX object CMakeFiles/wsjtx.dir/WSPRBandHopping.cpp.o [ 93%] Linking CXX executable wsjtx.app/Contents/MacOS/wsjtx ld: warning: could not create compact unwind for _flat4_: stack subq instruction is too different from dwarf stack size ld: warning: could not create compact

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread Bill Somerville
On 06/08/2017 21:59, C. Gary Rogers wrote: Charless-MacBook-Pro:build charlesrogers$ cat FC.h #ifndef FC_HEADER_INCLUDED #define FC_HEADER_INCLUDED /*--*/ /* Mangle some symbols automatically.

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread C. Gary Rogers
Last login: Sun Aug 6 16:36:24 on ttys001 Charless-MacBook-Pro:~ charlesrogers$ cd ~/wsjtx-prefix/build Charless-MacBook-Pro:build charlesrogers$ cat FC.h #ifndef FC_HEADER_INCLUDED #define FC_HEADER_INCLUDED /*--*/ /*

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread Bill Somerville
On 06/08/2017 21:37, C. Gary Rogers wrote: Last login: Sun Aug 6 15:59:13 on ttys001 Charless-MacBook-Pro:~ charlesrogers$ c++ --version Apple LLVM version 8.1.0 (clang-802.0.42) Target: x86_64-apple-darwin16.7.0 Thread model: posix InstalledDir:

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread C. Gary Rogers
Last login: Sun Aug 6 15:59:13 on ttys001 Charless-MacBook-Pro:~ charlesrogers$ c++ --version Apple LLVM version 8.1.0 (clang-802.0.42) Target: x86_64-apple-darwin16.7.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread Bill Somerville
On 06/08/2017 21:03, C. Gary Rogers wrote: Undefined symbols for architecture x86_64: "_FC_grayline", referenced from: WSPRBandHopping::next_hop(bool) in WSPRBandHopping.cpp.o ld: symbol(s) not found for architecture x86_64 Hi Gary, something must be wrong with the tool set. Please run the

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread C. Gary Rogers
OK ran three times and the result is: [ 97%] Linking CXX executable wsjtx.app/Contents/MacOS/wsjtx ld: warning: could not create compact unwind for _flat4_: stack subq instruction is too different from dwarf stack size ld: warning: could not create compact unwind for _hspec_: stack subq

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread Bill Somerville
On 06/08/2017 18:19, C. Gary Rogers wrote: [ 77%] *Linking CXX executable wsjtx.app/Contents/MacOS/wsjtx* ld: warning: could not create compact unwind for _flat4_: stack subq instruction is too different from dwarf stack size ld: warning: could not create compact unwind for _hspec_: stack subq

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread C. Gary Rogers
OK that seemed to work so i ran: > cd ~/wsjtx-prefix/build > cmake --build . > cmake --build . --target install This yielded: Last login: Sun Aug 6 13:07:51 on ttys001 Charless-MacBook-Pro:~ charlesrogers$ cd ~/wsjtx-prefix/build Charless-MacBook-Pro:build charlesrogers$ cmake --build . [

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread Bill Somerville
On 06/08/2017 17:36, C. Gary Rogers wrote: CMake Error at doc/CMakeLists.txt:119 (message): asciidoctor is required to build the documentation Building the documenation may optionally be turned off by setting the CMake option WSJT_GENERATE_DOCS to OFF. Hi Gary, you have a couple of

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-08-06 Thread C. Gary Rogers
OK i think i’m getting closer…The passage below did not work however: cd ~/wsjtx-prefix/build FC=gfortran-mp-5 \ cmake \ -D CMAKE_PREFIX_PATH="~/Qt/5.9.1/clang_64;~/hamlib-prefix;/opt/local" \ -D CMAKE_INSTALL_PREFIX=~/wsjtx-prefix \ -D

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-07-31 Thread C. Gary Rogers
Ok. On travel this week so will try when I return home. Sent from my iPhone > On Jul 31, 2017, at 5:05 AM, Bill Somerville wrote: > >> On 31/07/2017 11:41, Bill Somerville wrote: >> Charless-MacBook-Pro:build charlesrogers$ FC=gfortran-mp-5 \ >> >cmake \ >> >-D

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-07-31 Thread C. Gary Rogers
Ok thanks Sent from my iPhone > On Jul 31, 2017, at 3:41 AM, Bill Somerville wrote: > >> On 30/07/2017 01:59, C. Gary Rogers wrote: >> This doesn’t seem to be working either: >> >> Last login: Sat Jul 29 20:55:29 on ttys004 >> Charless-MacBook-Pro:~ charlesrogers$ cd

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-07-31 Thread Bill Somerville
On 31/07/2017 11:41, Bill Somerville wrote: Charless-MacBook-Pro:build charlesrogers$ FC=gfortran-mp-5 \ >cmake \ >-D CMAKE_PREFIX_PATH=~/Qt/5.7/clang_64;~/hamlib-prefix;/opt/local \ >-D CMAKE_INSTALL_PREFIX=~/wsjtx-prefix \ >-D

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-07-31 Thread Bill Somerville
On 30/07/2017 01:59, C. Gary Rogers wrote: This doesn’t seem to be working either: Last login: Sat Jul 29 20:55:29 on ttys004 Charless-MacBook-Pro:~ charlesrogers$ cd ~/wsjtx-prefix/build Charless-MacBook-Pro:build charlesrogers$ rm -r * rm: *: No such file or directory

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-07-29 Thread C. Gary Rogers
This doesn’t seem to be working either: Last login: Sat Jul 29 20:55:29 on ttys004 Charless-MacBook-Pro:~ charlesrogers$ cd ~/wsjtx-prefix/build Charless-MacBook-Pro:build charlesrogers$ rm -r * rm: *: No such file or directory Charless-MacBook-Pro:build charlesrogers$ FC=gfortran-mp-5 \ >

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-07-29 Thread C. Gary Rogers
OK will try and report back probably tomorrow…Thanks for your help! > On Jul 29, 2017, at 5:13 PM, Bill Somerville wrote: > > Hi Gary, > > the Hamlib part looks fine. The error message from the cmake configuration > shows something is messed up. Cmake will not change

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-07-29 Thread Bill Somerville
Hi Gary, the Hamlib part looks fine. The error message from the cmake configuration shows something is messed up. Cmake will not change some things when you re-run the configuration pass so I think you need to delete the WSJT-X build directory and start from the cmake configuration command

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-07-29 Thread C. Gary Rogers
So i see the quotation marks below…I took them out and reran and it seemed to work so i tried: $ cmake --build . $ cmake --build . --target install And i got Last login: Sat Jul 29 17:04:57 on ttys003 Charless-MacBook-Pro:~ charlesrogers$ cmake --build . Error: could not load cache

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-07-29 Thread C. Gary Rogers
Bill, i followed the instructions in your install directions: $ mkdir -p ~/hamlib-prefix/build $ cd ~/hamlib-prefix $ git clone git://git.code.sf.net/u/bsomervi/hamlib src $ cd src $ git checkout integration Then $ cd ~/hamlib-prefix/build $ ../src/autogen.sh \ --enable-static \

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-07-29 Thread Bill Somerville
On 29/07/2017 19:27, C. Gary Rogers wrote: I still don’t have it right…I took out the two quotation marks…Here is what i did: Last login: Sat Jul 29 14:15:13 on ttys001 Charless-MacBook-Pro:~ charlesrogers$ cd ~/wsjtx-prefix/build Charless-MacBook-Pro:build charlesrogers$ FC=gfortran-mp-5 \ >

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-07-29 Thread C. Gary Rogers
Part of the problem must be that i’m using QT 5.9.1 > On Jul 29, 2017, at 2:27 PM, C. Gary Rogers wrote: > > I still don’t have it right…I took out the two quotation marks…Here is what i > did: > > Last login: Sat Jul 29 14:15:13 on ttys001 > Charless-MacBook-Pro:~

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-07-29 Thread C. Gary Rogers
I still don’t have it right…I took out the two quotation marks…Here is what i did: Last login: Sat Jul 29 14:15:13 on ttys001 Charless-MacBook-Pro:~ charlesrogers$ cd ~/wsjtx-prefix/build Charless-MacBook-Pro:build charlesrogers$ FC=gfortran-mp-5 \ >cmake \ >-D

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-07-29 Thread C. Gary Rogers
Ok will give it a try. Thanks Sent from my iPhone > On Jul 29, 2017, at 1:01 PM, Bill Somerville wrote: > >> On 29/07/2017 17:34, C. Gary Rogers wrote: >> Hello all, i’ve been following Bill’s instructions on compiling WSJT-X on >> MacBook Pro OS X 10.12.5 >> >> All

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-07-29 Thread Richard Bown
ignore, Bill posted same time On Sat, 29 Jul 2017 18:09:11 +0100 Richard Bown wrote: > Hi Gary > there are two ways to get around this > > when you build hamlib use the switches to set the install to where the wsjtx > build is expecting to > find it. > or > in the

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-07-29 Thread Richard Bown
Hi Gary there are two ways to get around this when you build hamlib use the switches to set the install to where the wsjtx build is expecting to find it. or in the directories its looking for hamlib, use a symlink to point to the actual location of where hamlib is installed. Hope you

Re: [wsjt-devel] Trying to compile on OS X for the first time

2017-07-29 Thread Bill Somerville
On 29/07/2017 17:34, C. Gary Rogers wrote: Hello all, i’ve been following Bill’s instructions on compiling WSJT-X on MacBook Pro OS X 10.12.5 All is successful until i attempt: $ cd ~/wsjtx-prefix/build $ FC=gfortran-mp-5 \ cmake \ -D