-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
gnuplot 5.0 --with-wxmac fails to compile wxt terminal #35815
Comments
Seems to be there already?
Unless you were looking for a more verbose option? Such as |
I was confused that the |
I submitted #35833 as a proposed fix, if that's any good? |
The wxmac option introduces a dependency on pango, which itself depends on cairo. However we explicitly disable cairo unless Maybe this? diff --git a/Library/Formula/gnuplot.rb b/Library/Formula/gnuplot.rb
index 75f485a..4d9b374 100644
--- a/Library/Formula/gnuplot.rb
+++ b/Library/Formula/gnuplot.rb
@@ -80,7 +80,7 @@ def install
args << "--with-pdf=#{pdflib}" if build.with? "pdflib-lite"
args << ((build.with? "gd") ? "--with-gd=#{gd}" : "--without-gd")
args << "--disable-wxwidgets" if build.without? "wxmac"
- args << "--without-cairo" if build.without? "cairo"
+ args << "--without-cairo" if build.without? "cairo" and build.without? "wxmac"
args << "--enable-qt" if build.with? "qt"
args << "--without-lua" if build.without? "lua"
args << "--without-lisp-files" if build.without? "emacs" |
Oh, blurgh. Never noticed that. That's a strange mix of conflicting instructions. Your patch looks like a good fix. |
Hi there,
don't know if I missed the appropriate line in
brew options gnuplot
, but if I compile gnuplot 5.0 with the following line, I expected that the wxt terminal would be available:brew install gnuplot --with-wxmac
However, there is no wxt terminal available in gnuplot. During the preparation of this issue I found the message in the log, that cairo is also needed. So, compiling gnuplot with
brew install gnuplot --with-wxmac --with-cairo
resulted in a gnuplot version with the wxt terminal. Maybe you could consider adding informations on how to obtain the wxt terminal?Thanks,
silberzwiebel
The text was updated successfully, but these errors were encountered: