help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue with installing Octave 4.0.0 toolboxes


From: Mike Miller
Subject: Re: Issue with installing Octave 4.0.0 toolboxes
Date: Wed, 9 May 2018 10:51:31 -0700
User-agent: Mutt/1.9.5 (2018-04-13)

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
packages.

As a workaround you can simply create an empty file at that location and
try again.

-- 
mike

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]