gnuplot & AquaTerm in Snow Leopard 10.6.1
Can't get gnuplot to have aquaterm support..
I've installed the developer tools, downloaded the AquaTerm dmg and installed it, and compiled the gnuplot source with
./configure --with-readline=bsd
make
sudo make install
./configure reports:
...
aqua terminal (MacOS X): yes
...
however..
gnuplot> set term aqua
^
unknown or ambiguous terminal type; type just 'set terminal' for a list
and 'aqua' is not in the terminal listed by 'set term'
the libs are there allright, in 'usr/local/lib':
libaquaterm.1.0.1.dylib -> /Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm
lrwxr-xr-x 1 root wheel 58 16 Σεπ 15:40 libaquaterm.dylib -> /Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm
Any ideas?




To compile gnuplot in snow
To compile gnuplot in snow leopard try to use the following command:
./configure --with-readline=bsd --x-include=/usr/include/X11 --x-libraries=/usr/X11/lib
and then use make and sudo make install as before
________________
axluca
OSX enthusiast
________________
Thank you, but none of the
Thank you, but none of the flags have anything to do with aquaterm; one sets the readline support and the other just enables the X11 term. In fact X11 seems to be enabled even if you leave out the
--x-include=/usr/include/X11 --x-libraries=/usr/X11/lib
I found the problem though: In config.log I missed this:
configure:6851: gcc -o conftest -g -O2 conftest.c -laquaterm -lobjc >&5
ld: warning: in /usr/local/lib/libaquaterm.dylib, missing required architecture x86_64 in file
Undefined symbols:
"_aqtInit", referenced from:
_main in ccP53E9X.o
ld: symbol(s) not found
LibAquaterm has no 64bit support. For a programme that was last updated in 2006, that is not surprising.
Workaround
Is there a need for 64bit support for Aquaterm?
I hope that somebody from the gnuplot project will fix this, but by then I suggest to use a workaround:
-Install Aquaterm 1.0.1 (Universal Binary) on your Snow Leopard mac.
-Compile gnuplot on the SL machine as described in the previous post.
-Replace the gnuplot binary at /usr/local/bin on your Snow Leopard machine with a gnuplot binary from a 10.5 machine.
-Also replace gnuplot_x11 on /usr/local/libexec/gnuplot/4.2 with one from a 10.5 machine.
That worked perfectly for me.
No need for 64bit Aquaterm,
No need for 64bit Aquaterm, but i think X11 is 64bit, so it would be nice to have everything in 64 and avoid the hassle. (I'm getting a bit tired typing -m32 for everything)
If you don't need X11, another workaround that I got working is
export LDFLAGS=-m32
export CFLAGS=-m32
./configure -with-readline=bsd --without-tutorial --without-x
make
sudo make install
Why not using the binaries?
If you don't absolutely need to compile it, installing the whole lot with binaries works like a charm on 10.6.1. You'll find a quick How-To here for Octave but including Gnuplot and Aquaterm
You may also need to set up the GNUTERM environment variable to aqua in your .profile (e.g. export GNUTERM='aqua')
Nico
www.volcanoloco.org
www.gns.cri.nz
RE: No need for 64bit Aquaterm,
to TeGa: Is this workaround supposed to get Aquaterm to work with gnuplot?
I get the same problem as before:
gnuplot> set term aqua
^
unknown or ambiguous terminal type.....
with AquaTerm v1.0 and Gnuplot v4.4.0 on my macbookpro (osx10.6.2)
It does not seem to work with x11 either.
Aquaterm in Snow Leopard
I don't know if this is relevant or useful, but I was using gnuplot with AquaTerm in OS Leopard without problem, and as soon as I upgraded to OS Snow Leopard, AquaTerm did not work anymore.
However, it was a simple problem: as long as a launched AquaTerm before running a gnuplot graph, AquaTerm would work fine (in OS Leopard, I could issuing a plot graph command in gnuplot, and AquaTerm would auto-launch, but Snow Leopard seems to require that you launch AquaTerm before issuing a plot command.
So if you haven't already, try just making sure that AquaTerm is running before launching gnuplot.
Yes, Aquaterm should be ok,
@jonalm
Yes, Aquaterm should be ok, it was X11 I was having problems with.