octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #42352] pkg install fails if --disable-docs is


From: anonymous
Subject: [Octave-bug-tracker] [bug #42352] pkg install fails if --disable-docs is given at build time
Date: Mon, 26 Oct 2015 18:27:39 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0

Follow-up Comment #7, bug #42352 (project octave):

A doc useflag does not fix this problem for me, and unmasking and upgrading
from 3.8.2 to 4.0.0 does not fix. 

I'm using Gentoo, too; they have a possibly related bug
https://bugs.gentoo.org/show_bug.cgi?id=529628
and forum post
https://forums.gentoo.org/viewtopic-t-997832-highlight-octave.html

(I think Max Miller's "disable-docs" is a typo for "enable-docs"; having the
flag disabled does not work for me either).

Added the line 
>=sci-mathematics/octave-4.0.0 doc
to /etc/portage/package.use
(see
https://wiki.gentoo.org/wiki/Handbook:AMD64/Working/USE#Declaring_USE_flags_for_individual_packages)
Then ran 
> emerge --update --newuse --deep --with-bdeps=y @world
at the command-line prompt.

Check it worked:
> eix --installed-with-use doc
[I] sci-mathematics/octave
     Available versions:  3.6.4(0/3.6.4) (~)3.6.4-r1(0/3.6.4)
(~)3.8.1(0/3.8.1) (~)3.8.1-r1(0/3.8.1) 3.8.2(0/3.8.2) (~)4.0.0(0/4.0.0) {X
curl doc fftw +glpk gnuplot gui hdf5 +imagemagick java jit opengl postscript
+qhull +qrupdate readline +sparse static-libs zlib ELIBC="FreeBSD"}
     Installed versions:  4.0.0(05:48:02 PM 10/26/2015)(X curl doc glpk
imagemagick java opengl qhull qrupdate readline sparse zlib -fftw -gnuplot
-gui -hdf5 -jit -postscript -static-libs ELIBC="-FreeBSD")
     Homepage:            http://www.octave.org/
     Description:         High-level interactive language for numerical
computations

So the flag is there, but the files are not...

Starting the program: 
> octave
warning: docstring file '/usr/share/octave/4.0.0/etc/built-in-docstrings' not
found
GNU Octave, version 4.0.0
Copyright (C) 2015 John W. Eaton and others....

Trying to install a package:
octave:2> pkg install -forge general
unable to open /usr/share/octave/4.0.0/etc/macros.texi for reading
error: called from '__makeinfo__' in file
/usr/share/octave/4.0.0/m/help/__makeinfo__.m near line 103, column 5

At the Octave prompt, help:
help pkg
warning: load_path: /home/hazel/octave/general-2.0.0: No such file or
directory
error: unable to open /usr/share/octave/4.0.0/etc/macros.texi for reading
error: called from
    __makeinfo__ at line 103 column 5
    help at line 102 column 22

Back in the system shell, 
> ls /usr/share/octave/4.0.0/etc/macros.texi
ls: cannot access /usr/share/octave/4.0.0/etc/macros.texi: No such file or
directory


> octave --force-gui
also brings up the command-line interface, not sure that this is related.

Is this something obvious I'm missing? I can't see a way to make it work.
Thanks for any help.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42352>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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