From: Nir Krakauer <address@hidden>
Octave 5.1.0 on windows 10:
running into the same -forge problem here.
So, not sure what the -forge issues is, but manually download from path shown in the error works fine.
then
>> pkg install communications-1.1.1.tar.gz
works fine with a warning.
>> pkg install communications-1.1.1.tar.gz
warning: doc_cache_create: unusable help text found in file 'commsimages'
For information about changes from previous versions of the communications package, run 'news communications'.
from the error message it sounds like you have write permission errors. We had this discussion before, some windows systems prevent execution in the profile temp folder where Octave is trying to compile the package. so now on my system I made a separate temp folder that I point Octave to use at startup.
e.g., I made a C:\Octave\Temp
and added:
setenv('tmpdir','c:\Octave\Temp\')
to my C:\Users\*username*\.octaverc
you can try manually executing that setenv command with an appropriate alternate folder and see if that lets it compile.