Downloaded octave 4.0.0.tar.gz installed it manually and i am able to open
and run some simple commands. When i try to install toolboxes it gives the
/pkg install -forge struct
error: support for url transfers was disabled when Octave was built
error: called from
get_forge_pkg at line 40 column 14
get_forge_download at line 26 column 12
pkg at line 393 column 29/
Then i searched Octave forum for possible cause and some threads suggested
to install /libcurl/ library that i already had and up-to-date. In another
thread download and install toolboxes locally so i tried install struct
toolbox got the below error.
/pkg install struct-1.0.14.tar.gz
unable to open /usr/local/share/octave/4.0.0/etc/macros.texi for reading
error: called from '__makeinfo__' in file
/usr/local/share/octave/4.0.0/m/help/__makeinfo__.m near line 103, column 5/
On Tue, May 08, 2018 at 22:23:13 -0700, Prasad K wrote:
> online method:
> /pkg install -forge struct
> error: support for url transfers was disabled when Octave was built
> error: called from
> get_forge_pkg at line 40 column 14
> get_forge_download at line 26 column 12
> pkg at line 393 column 29/
Yes, this means that Octave was built without libcurl. When you run the
configure command, there is a large summary at the end of the output
that tells which libraries were found, which weren't, and describes
which features you will be missing.
There was probably a message like this at the end of your configure run
WARNING: cURL library not found. The ftp objects, urlread and urlwrite functions will be disabled.
This also means that 'pkg install -forge' will not work.
> offline method:
> /pkg install struct-1.0.14.tar.gz
> unable to open /usr/local/share/octave/4.0.0/etc/macros.texi for reading
> error: called from '__makeinfo__' in file
> /usr/local/share/octave/4.0.0/m/help/__makeinfo__.m near line 103, column 5/
This error probably means that you built Octave with --disable-docs, or
you are missing GNU Texinfo or gnuplot. These also would have been
reported as warnings at the end of configure.
What isn't said is that if docs are disabled, then you cannot install
As a workaround you can simply create an empty file at that location and