help-octave
[Top][All Lists]
Advanced

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

Re: How to disable pdf generation but keep function help


From: Sebastian Schöps
Subject: Re: How to disable pdf generation but keep function help
Date: Mon, 12 Oct 2015 12:29:48 -0700 (PDT)

>> My idea was to disable only the specific pdf/html build targets but it
would 
>> be rather tedious for me to go to all details of doc/module.mk. It would
>> be 
>> great if someone could give me a hint. I could also try to create a new 
>> configure switch "--disable-manual" or something similar.... 
>Does "make all DOC_TARGETS=" work? That should clear the list of doc 
>files that "make all" wants to build. 

Yes, more or less :) I get still console output like

error: __osmesa_print__: support for offscreen rendering was disabled when
Octave was built
error: called from
    __opengl_print__ at line 172 column 7
    print at line 431 column 14
    plotimages at line 60 column 5
error: unhandled execution exception -- eval failed
  GEN      doc/interpreter/extended.png
warning: print.m: fig2dev binary is not available.
Some output formats are not available.
warning: called from
    __print_parse_opts__ at line 385 column 9
    print at line 288 column 8
    plotimages at line 64 column 5
warning: print.m: fig2dev binary is not available.
Some output formats are not available.
warning: called from
    __print_parse_opts__ at line 385 column 9
    print at line 288 column 8
    plotimages at line 75 column 5
error: __osmesa_print__: support for offscreen rendering was disabled when
Octave was built

but "make all DOC_TARGETS=; make install DOC_TARGETS=" compiles and install
everything (including the function help).

I>f osmesa is the problem, then building from a source tarball shouldn't 
>need --disable-docs because the images are already built and included. 
>For example, the octave-4.0.0 tarball from ftp.gnu.org [1], or the 
>continuously built source snapshots on hydra.nixos.org [2]. 
I am extending the homebrew script to build immediately from hg checkout.

>You could also grab the 108 figures from one of those tarballs and drop 
>them into your build tree (27 of each file format: eps, pdf, png, txt). 
Agreed, this would be another proper alternative.

>Sorry if I'm being pedantic, but I want to make sure it's the images 
>that are the problem, not building the manual, which is what it sounds 
>like. So I don't think a --disable-manual option is the right way to go. 
"DOC_TARGETS=" does the job for me so I do not insist on "--disable-manual".
Nonetheless I still think that it would be a good idea. There are many
reason why someone would not like to build the manual, e.g., if texinfo is
installed but not a latex distro...

Bye
Sebastian




--
View this message in context: 
http://octave.1599824.n4.nabble.com/How-to-disable-pdf-generation-but-keep-function-help-when-compiling-Octave-tp4672842p4672888.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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