[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:51:10 +0900 (JST) |
Hello
Please wait OSX specialist.
I'm working only on windows.
--- Richard Campb wrote:
>
> On Jan 30, 2011, at 10:36 AM, Tatsuro MATSUOKA wrote:
>
> > 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/
>
> Octave 3.3.90 fails to build:
>
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -m32 -D_REENTRANT -I../libgnu
> -I../libgnu
> -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -m32 -D_REENTRANT -g
> -O2
> -DHAVE_CONFIG_H -I/usr/X11/include/freetype2 -I/usr/X11/include -Wall -W
> -Wshadow
> -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
> -Wcast-qual -g -O2
> -D_THREAD_SAFE -pthread -g -O2 -MT liboctinterp_la-txt-eng-ft.lo -MD -MP -MF
> .deps/liboctinterp_la-txt-eng-ft.Tpo -c txt-eng-ft.cc -fno-common -DPIC -o
> .libs/liboctinterp_la-txt-eng-ft.o
> txt-eng-ft.cc: In constructor ‘ft_manager::ft_manager()’:
> txt-eng-ft.cc:78: error: class ‘ft_manager’ does not have any field named
> ‘fc_init_done’
> txt-eng-ft.cc: At global scope:
> txt-eng-ft.cc:107: warning: unused parameter ‘name’
> txt-eng-ft.cc:107: warning: unused parameter ‘weight’
> txt-eng-ft.cc:107: warning: unused parameter ‘angle’
> txt-eng-ft.cc:107: warning: unused parameter ‘size’
> make[3]: *** [liboctinterp_la-txt-eng-ft.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
>
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/