![]() I tried to convince the upstream to support -with-aquaterm=PATH, but they didn't understand my patch and they thought it was too complicated. Eventually they started supporting -with-aquaterm in some very limited way. I could reintroduce the previous patch in MacPorts, but I first need to understand why this approach doesn't work for you.Īn alternative that might work is to set some *FLAGS in the configure.env.Ĭonfigure.cflags-append "-F$" Maybe someone should ask the autotools developers to introduce a macro to search for frameworks on Mac. What I don't understand is why your compiler doesn't find the framework despite -F/opt/local/Library/Frameworks. The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.After all my patch for configure didn't do anything else but add that flag, except maybe to a different location. Solution 4 - TerminalĪll content for this solution is sourced from the original question on Stackoverflow. If you see the that line above, then you are done, gnuplot is configured correctly and everybody's happy. Look for the line Available terminal types:Īqua Interface to graphics terminal server for Mac OS X Type this in the gnuplot terminal gnuplot> set term Verify: that gnuplot was configured with AquaTerm correctly by launching gnuplot in terminal gnuplot Verify that gnuplot can see aquaterm using the steps below and happy plotting! Once the /usr/local/ symlinks are created, reinstall gnuplot like this: brew install gnuplot - with-aquaterm # (formerly -aquaterm in old versions) This is necessary sometimes as the installer for AquaTerm can't create the symlinks in the correct places due to permission issues. Sudo ln -s /Library/Frameworks/amework/Versions/A/Headers/* /usr/local/include/aquaterm/. Sudo ln -s /Library/Frameworks/amework/Versions/A/AquaTerm /usr/local/lib/libaquaterm.1.0.0.dylib Some *.h files, if they do not exist run these commands from terminal: sudo ln -s /Library/Frameworks/amework/Versions/A/AquaTerm /usr/local/lib/libaquaterm.dylib ![]() The first line above should return some *.dylib files, the second line above should return We need to modify the homebrew recipe for gnuplot to enable aquaterm support, open up the brew recipe for gnuplot by typing: brew edit gnuplotĪnd add these lines as shown in this github commit message, this will enable the brew option for gnuplot to include aquaterm Ĭheck to see if the proper AquaTerm library symlinks exist by doing these checks: ls /usr/local/lib/libaquaterm* Method 2: This method is more advanced, but guaranteed to work if you are patient.Įssentially gnuplot cannot locate the AquaTerm library files, that's why aqua doesn't show up as a terminal type option after we installed gnuplot. Go to the verify step to see if everything worked, if not, follow method 2 Method 1: Simply reinstall gnuplot after installing AquaTerm seems to fix this issue for people. ![]() brew uninstall gnuplotĭownload AquaTerm from here: and install as you would any OSX application.įrom here on, there are two ways to get gnuplot happy with aquaterm, Method 1 is easier, but didn't work for me because my AquaTerm installation didn't create the correct symlinks in /usr/local/lib, Method 2 is the one that worked for me, and I am sharing the steps I took to get it working. Setting the terminal type to x11 would solve the problem, but if you want to get AquaTerm working with gnuplot here's how:įirst we need to uninstall the existing installation of gnuplot, open up a terminal and run this command. ![]()
0 Comments
Leave a Reply. |