octave-maintainers
[Top][All Lists]
Advanced

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

Re: R: EXEC_PATH


From: Marco Atzeri
Subject: Re: R: EXEC_PATH
Date: Thu, 25 Nov 2010 21:56:40 +0000 (GMT)

--- Gio 25/11/10, Ben Abbott <address@hidden> ha scritto:

> > 
> > print("prova.jpg", "-djpg")
> > 
> > it complains that ghostscript and other programs are
> not in 
> > EXEC_PATH.
> > 
> > gs is on /usr/bin that is missing from EXEC_PATH
> > 
> 
> Does 'system ("which gs")'  return "/usr/bin/gs"?
> 
> Ben
> 


just build from scratch on a x86_64 fedora 14

all the documentation break at: 

../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval 
"geometryimages ('voronoi', '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.


octave:1> system ("which gs")
/usr/bin/gs
ans = 0

octave:2> getenv("PATH")
ans = 
/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/marco/bin:/usr/local/libexec/octave/3.3.54+/site/exec/x86_64-unknown-linux-gnu:/usr/local/libexec/octave/api-v42+/site/exec/x86_64-unknown-linux-gnu:/usr/local/libexec/octave/site/exec/x86_64-unknown-linux-gnu:/usr/local/libexec/octave/3.3.54+/exec/x86_64-unknown-linux-gnu:/usr/local/bin

octave:3> EXEC_PATH
ans = 
/usr/local/libexec/octave/3.3.54+/site/exec/x86_64-unknown-linux-gnu:/usr/local/libexec/octave/api-v42+/site/exec/x86_64-unknown-linux-gnu:/usr/local/libexec/octave/site/exec/x86_64-unknown-linux-gnu:/usr/local/libexec/octave/3.3.54+/exec/x86_64-unknown-linux-gnu:/usr/local/bin

Marco





      



reply via email to

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