Replies/questions inserted. Trying to clarify. Thanks.
Henry
on 7/1/05 12:35 PM, Marius Schamschula at address@hidden
wrote:
Order does matter, at least when installing using "make install." I'm
in the process of building a version of octave/octave-forge that
installs using Apple's installer app. Then the order will not matter.
I'm looking forward to an easier installation.
It depends on what revision of gnuplot. However, all my gnuplot
packages, even the newest ones that default to Aquaterm, are compiled
against X11, and thus expect X11 and the X11 SDK to be present. There
some things that X11 will do that Aquaterm can't so far. You'll need
X11 anyway, if you want to install octave-forge.
I want octave-forge, I thought it was installed. How do I test for it?
I therefore will have to install X11. Perhaps easier to wait a little
until
the Apple's installer app becomes available?
How far did you get? What is the install script saying?
Is the install script what appears in the Terminal window during
installation? I followed the directions in David Collett's write-up
with the
exception of gnuplot which was installed after gfortran instead of
after
readline. I thought I would not mater and I got to the very end and
saved
that part:
Installation complete.
To use, add the following to .octaverc:
LOADPATH = [
'/usr/local/libexec/octave/2.1.71/site/oct/powerpc-apple-darwin8.1.0/
octave-
forge:/usr/local/share/octave/2.1.71/site/m/octave-forge//:', LOADPATH
];
EXEC_PATH = [
'/usr/local/libexec/octave/2.1.71/site/exec/powerpc-apple-
darwin8.1.0:',
EXEC_PATH ];
To uninstall, remove the following:
MPATH = /usr/local/share/octave/2.1.71/site/m/octave-forge
OPATH =
/usr/local/libexec/octave/2.1.71/site/oct/powerpc-apple-darwin8.1.0/
octave-f
orge
XPATH =
/usr/local/libexec/octave/2.1.71/site/exec/powerpc-apple-darwin8.1.0
ALTMPATH =
/usr/local/share/octave/2.1.71/site/octave-forge-alternatives/m
ALTOPATH =
/usr/local/libexec/octave/2.1.71/site/octave-forge-alternatives/oct/
powerpc-
apple-darwin8.1.0
Some FIXES may be out of date. Check the scripts in:
/usr/local/share/octave/2.1.71/site/m/octave-forge/FIXES
/usr/local/libexec/octave/2.1.71/site/oct/powerpc-apple-darwin8.1.0/
octave-f
orge
against those in your version of Octave.
That's why I thought Octave-forge had been installed. I did not know
that I
needed X11 for Octave-forge.
I also *assumed* that gnuplot had been installed but it was *not*.
Octave
could not find it and it was not in /usr/local/bin.
As explained by you it did not matter if the dependencies were in the
/tmp
directory as long as they were in the /usr/local directory. Therefore
I've
unsuccessfully tried to re-install gnuplot two more times.
Perhaps what I had was a corrupted tarball because after downloading a
new
tarball gnuplot-4.0.0-5-osx4.tar, I was able to install it successfully
because I got:
henry-f-mollets-emac:/usr/local/bin hfm$ /usr/local/bin/gnuplot
G N U P L O T
Version 4.0 patchlevel 0
last modified Thu Apr 15 14:44:22 CEST 2004
System: Darwin 8.1.0
Terminal type set to 'unknown'
gnuplot> set term aqua
Terminal type set to 'aqua'
Options are '0 title 'Figure 0' size 846 594 fname 'Times-Roman'
fsize 14'
gnuplot> set term X11
Terminal type set to 'X11'
Options are '0'
gnuplot> dyld: Library not loaded: /usr/X11R6/lib/libX11.6.dylib
Referenced from: /usr/local/libexec/gnuplot/4.0/gnuplot_x11
Reason: image not found