On 06/03/2017 03:50, Dan Malcolm wrote:
> Got that and installed it.  MIngw-get still failed but a search found the
> program under C:\JTSDK\mingw32\bin so I used the full path from the JTSDK
> MYS prompt.  That ran and seemed to install a few pages.  Closed all JTSDK
> windows and then found dash.exe right where you said it would be.  It opened
> a window and /bin/rebaseall gave me this error:
> $ /bin/rebaseall
> /bin/rebaseall: 207: find: not found
> /bin/rebaseall: 207: grep: not found
> /bin/rebaseall: 207: find: not found
> /bin/rebaseall: 207: grep: not found

Hi Dan,

Hmmm, this may become a bit lengthy. Let me try and explain why 
rebaseall is needed. Unix like systems use a system call named fork() to 
create all new processes by exactly copying the memory content of the 
current process to make a new child process, this is fundamental to how 
shells run programs. Because msys is the MinGW (GNU gcc compilers on 
Windows) shell and is based on Unix principles it needs an emulation of 
fork() for Windows. Windows has a different way of creating processes 
with the CreateProcess[Ex]() system call which does something very 
different. One behaviour of Unix like systems is that in a forked child 
process any references shared libraries (like DLLs) are loaded at 
exactly the same virtual address in the new process as the old one. This 
is an oversimplification as Unix like systems really use a technique 
called position independent code but it amounts to the same thing. This 
means that code pre-compiled to call shared library routines will 
continue to work in the child process. In Windows this can go wrong as 
DLL code can appear at different addresses in different processes. The 
rebase action fixes up the msys and MinGW DLLs so that does not happen.

So what to do? I suspect that you can install enough of the msys system 
to allow the rebseall command to work but it might take a few attempts. 
At least you have the mingw-get tool available now to install new 
packages. Try this from a JTSDK msys prompt:

mingw-get install msys-base

and if it works try the procedure to run rebaseall from a dash shell again.

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
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to