help-octave
[Top][All Lists]
Advanced

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

Re: octave & octave-forge install instructions for Mac OS X 10.4.x


From: Marius Schamschula
Subject: Re: octave & octave-forge install instructions for Mac OS X 10.4.x
Date: Sun, 3 Jul 2005 13:56:00 -0500


On Jul 2, 2005, at 12:31 PM, Henry F. Mollet wrote:

First going a step back.
Where do I put "set term aqua" for gnuplot and "gset term aqua" for octave?
That's what I'm using presently in the Terminal so I can use plot etc.
I have checked on my old fink installation for octave 2.1.46 and gnuplot
3.8i:
1. .gnuplot is empty
2. .octaverc has LOADPATH, but nothing about aqua
3. .cshrc has commented out #setenv GNUTERM aqua
Therefore I have no clue how gnuplot finds Aquaterm when it is called by
octave. Don't know how octave finds gnuplot either.

As I'm now using the bash shell, does

GNUTERM=aqua or is it

and then

export GNUTERM

export GNUTERM="aqua"

will work

However, if you have my current version of gnuplot, this is the default.

have to be added to my .profile?

.bash_profile  is wher I put these things

henry-f-mollets-emac:~ hfm$ cat .profile
export PATH="$PATH:/Developer/Tools:/usr/local/bin"

For X11 is
DISPLAY=:0.0
That has to be added to my .profile also?

Yes. Also needs to export(ed).

Sorry, I'm having a hard time with X11. I just don't know what exactly it is. I can open it but don't know the difference of running octave in the terminal compared to running it in X11. Is there an easy explanation/analogy
that I can understand?

According to what you said and my notes, X11 is required for xpm (was
eliminated from the list of packages because no X 10.4 version exists yet), qhull (geometry toolbox). X11 is options for octave but AquaTerm appears to be easier to use. Not sure if X11 is an option for octave-forge or if it is
needed at least for a few items.

Nor will a Xpm package exist, unless a new version is put out and Apple does not update theirs . The current version of Xpm is part of Mac OS X 10.3.x and 10.4.x.

Since X11 was installed at the very end, I guess that I now have to tell
each application above where it is?

No. It goes into a standard directory structure.

Or take qhull: If I re-install with X11 present then it should work?

Yes.

Henry




on 7/2/05 3:43 AM, Marius Schamschula at address@hidden wrote:

Henry,

On Jul 1, 2005, at 9:43 PM, Henry F. Mollet wrote:

gnuplot: unable to open display ''
gnuplot: X11 aborted.

Must have found X11 but not happy yet either.

This is a well known issue:

Your DISPLAY variable is not set.

Somewhere in your shell profile you need to set

DISPLAY=:0.0

This allows an octave session running in the Terminal.app to talk to
X11.

The easier way to teset this is to start X11 and run octave and/or
gnuplot from within a xterm.

However, you really want to run octave in the Terminal.app: drag and
drop, etc.

Marius
--
Marius Schamschula                               Webmaster

        The Huntsville Macintosh Users Group
                    www.hmug.org

webmaster at hmug dot org    marius at schamschula dot com



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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