[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gui- octave
From: |
J LOVE |
Subject: |
Re: gui- octave |
Date: |
Wed, 23 Feb 2005 10:26:07 -0800 (PST) |
You didn't mention which tk_octave you use. I am not using the
sourceforge version. Mine is tk_octave-0.3.3 from Joao Cardoso.
They may be similar but I just don't know.
1. Make sure dynamic linking is enabled (ans = true) by typing
the following in octave:
octave:1> octave_config_info("ENABLE_DYNAMIC_LINKING")
ans = true
FYI, I have not been able to use tk_octave-0.3.3 with any version
of octave above 2.1.50 because of changes to the exist() funtion.
If there is a newer version of tk_octave out there, I would
appreciate a link to it.
2. Make sure tk_octave is installed somewhere in the DEFAULT_LOADPATH.
octave:1> DEFAULT_LOADPATH
DEFAULT_LOADPATH =
.:/usr/local/libexec/octave/2.1.50/site/oct/i686-pc-linux-gnu//:/usr/local/libexec/octave/site/oct/i686-pc-
linux-gnu//:/usr/local/share/octave/2.1.50/site/m//:/usr/local/share/octave/site/m//:/usr/local/libexec/oct
ave/2.1.50/oct/i686-pc-linux-gnu//:/usr/local/share/octave/2.1.50/m//
3. Make sure Tk_octave is installed in one of the DEFAULT_LOADPATH directories.
ls -l
/usr/local/libexec/octave/2.1.50/site/oct/i686-pc-linux-gnu/Tk_octave/
lrwxrwxrwx 1 root root 12 2004-07-30 11:46 on_signal.oct ->
tk_start.oct*
lrwxrwxrwx 1 root root 12 2004-07-30 11:46 tk_cmd.oct -> tk_start.oct*
lrwxrwxrwx 1 root root 12 2004-07-30 11:46 tk_end.oct -> tk_start.oct*
drwxr-xr-x 2 root root 696 2004-07-30 11:40 Tkme/
lrwxrwxrwx 1 root root 12 2004-07-30 11:46 tk_receive.oct ->
tk_start.oct*
-rwxr-xr-x 1 root root 242188 2004-07-30 11:39 tk_start.oct*
drwxr-xr-x 2 root root 624 2004-07-30 11:40 utilities/
Make sure the links are as shown above. FYI, I have to make them by hand
with the newer gcc.
4. Make sure some script has not changed the LOADPATH.
octave:1> LOADPATH
LOADPATH = :
5. Another thing to try would be to set LOADPATH manually if things aren't
right.
octave:1> LOADPATH=["/path/"]
LOADPATH = /path/
6. If the path is right, one should be able to find the math functions, like
fft,
and the tk_octave files?
octave:1> which fft
fft is the dynamically-linked function from the file
/usr/local/libexec/octave/2.1.50/oct/i686-pc-linux-gnu/fft.oct
octave:2> which tk_start
tk_start is the dynamically-linked function from the file
/usr/local/libexec/octave/2.1.50/site/oct/i686-pc-linux-gnu/Tk_octave/tk_start.oct
octave:3> which tk_cmd
tk_cmd is the dynamically-linked function from the file
/usr/local/libexec/octave/2.1.50/site/oct/i686-pc-linux-gnu/Tk_octave/tk_start.oct
octave:4> which tk_launch
tk_launch is the user-defined function from the file
/usr/local/libexec/octave/2.1.50/site/oct/i686-pc-linux-gnu/Tk_octave/utilities/tk_launch.m
-------------------------------------------------------------
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
-------------------------------------------------------------
- gui- octave, neeraj0401, 2005/02/23
- Re: gui- octave,
J LOVE <=