octave-maintainers
[Top][All Lists]
Advanced

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

Re: cs-list errors and Ghostscript warning when trying to print


From: Tatsuro MATSUOKA
Subject: Re: cs-list errors and Ghostscript warning when trying to print
Date: Mon, 31 Jan 2011 00:36:16 +0900 (JST)

Hello

I'm not a specialist for printing.
Ben Abbott will help.

BTW, the source 3.3.54 is old. Please use the latest snapshot at 
http://alpha.gnu.org/gnu/octave/ 
print.m function is revised from 3.3.54.

Regards

Tatsuro


--- Richard Campbell  wrote:

> 
> On Jan 30, 2011, at 10:00 AM, Tatsuro MATSUOKA wrote:
> 
> > Hello
> > 
> > As far as I remember,
> > 
> > epstool  and pstoedit are required and fig2dev is optional for fltk 
> > printing for unixy
> environments
> > including mac OS X.
> > 
> > Please install them.
> > 
> > Regards
> > 
> > Tatsuro
> > --- Richard Campbell  wrote:
> > 
> >> 
> >> On Jan 30, 2011, at 3:53 AM, John W. Eaton wrote:
> >> 
> >>> On 29-Jan-2011, Richard Campbell wrote:
> >>> 
> >>> | In my build of Octave 3.3.54 I get the following during 'make check'
> >>> | 
> >>> | Integrated test scripts:
> >>> | 
> >>> | invalid assignment to cs-list outside multiple assignment.
> >>> | 
> >>> | The build is as described earlier for Mac OSX with minimal dependencies.
> >>> 
> >>> I don't see that error.  It may be that it is happening because you
> >>> haven't installed all the dependencies, but we try to make the tests
> >>> run anyway, just skipping the ones that can't work because of missing
> >>> dependencies.  So will you try to debug where it is coming from?
> >>> The first set of "Integrated test scripts" that are normally executed
> >>> are from the file src/DLD-FUNCTIONS/besselj.cc.  To run them outside
> >>> of "make check", please try the following
> >>> 
> >>> ./run-octave
> >>> ...
> >>> octave:1> cd /src/tree/directory/src/DLD-FUNTIONS
> >>> octave:2> test besselj.cc
> >>> 
> >>> (where /src/tree/directory is wherever your top-level Octave source
> >>> tree is) and let us know what happens.
> >>> 
> >>> | When I try to print, I get:
> >>> | 
> >>> | octave:2> print('-dpng','test.png')
> >>> | warning: print.m: ghostscript not found in EXEC_PATH.
> >>> | warning: print.m: Ghostscript binary is not available.
> >>> | warning: print.m: epstool binary is not available.
> >>> | warning: print.m: fig2dev binary is not available.
> >>> | warning: print.m: pstoedit binary is not available.
> >>> | error: invalid assignment to cs-list outside multiple assignment.
> >>> | error: matrix cannot be indexed with {
> >>> | error: evaluating argument list element number 3
> >>> | error: called from:
> >>> | error:   /Users/campbell/Downloads/octave-3.3.54/scripts/plot/print.m 
> >>> at line 377, column
> 9
> >>> | 
> >>> | The Ghostscript warning is confusing because I have libpng installed, 
> >>> and twice during
> >> 'configure' it is stated that
> >>> | 
> >>> | configure: WARNING: I didn't find ghostscript, but it's only a problem 
> >>> if you need to
> >> reconstruct figures for the manual
> >>> 
> >>> I think this message is incorrect now.  Previously, we only used
> >>> ghostscript to generate some output formats when building the Octave
> >>> documentation.  Now it is used in printing as well, to convert PS to
> >>> various formats.
> >>> 
> >>> I changed the configure warning to be
> >>> 
> >>> I didn't find ghostscript, so reconstructing figures for the manual
> >>> will fail, and saving graphics in some output formats will fail when
> >>> using Octave
> >>> 
> >>> jwe
> >> 
> >> Okay, after installing Ghostscript (which builds fine on OSX with 
> >> ./configure && make && sudo
> >> make install, no funny stuff) that warning alone goes away, leaving:
> >> 
> >> octave:4> print('-dpng','test.png')
> >> warning: print.m: epstool binary is not available.
> >> warning: print.m: fig2dev binary is not available.
> >> warning: print.m: pstoedit binary is not available.
> >> error: invalid assignment to cs-list outside multiple assignment.
> >> error: matrix cannot be indexed with {
> >> error: evaluating argument list element number 3
> >> error: called from:
> >> error:   /Users/campbell/Downloads/octave-3.3.54/scripts/plot/print.m at 
> >> line 377, column 9
> >> 
> >> 
> > 
> > 
> > --------------------------------------
> > Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
> > http://pr.mail.yahoo.co.jp/ie8/
> 
> 
> I'm not using fltk - I'm using gnuplot and X11.
> 
> I still get the cs-list error. All the others are warnings and only appear 
> the first time print
> is called. Can we address the error?
> 
> octave:2> print('-dpng','test.png')
> warning: print.m: fig2dev binary is not available.
> error: invalid assignment to cs-list outside multiple assignment.
> error: matrix cannot be indexed with {
> error: evaluating argument list element number 3
> error: called from:
> error:   /Users/campbell/Downloads/octave-3.3.54/scripts/plot/print.m at line 
> 377, column 9
> 
> 


--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/


reply via email to

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