I've taken this message from the PLplot-general list. There might be an issue or two about what Alexy is attempting. I don't know much about what he is attempting so I'm already outside my skill set. Just my 2 cents.
Jerry > On 2008-12-10 11:24-0500 Alexy Khrabrov wrote: > >> Greetings -- I've built the whole gnome thing in macports with >> +no_x11, using gtk-osx. Which configuration options should be given >> to plplot so that it doesn't use X11 at all, but only the quartz? >> Apparently the portfile for plplot in the current macports doesn't >> include the variant +no_x11, and I'd like to concoct one myself after >> I thoroughly understand what it needs to hear. > If he tries to build PLplot on OS X 10.5 and Ada 2007 is enabled and he is using a Mac with a PowerPC processor, he will discover that there is no Ada compiler in Macports or anywhere else. > Our CMake-based build system looks for X, but if it is not present > the build > system sets certain CMake variables which are then used to > automatically > exclude the X-dependent components such as Tk language support and the > xwin and tk device drivers. There is native Tk on OS X, not dependent on X11. I once made a feeble attempt to get PLplot to use it but failed. > > So I suspect you don't have to do anything at all. If you do try a > PLplot > build in an environment without X, and our build system logic tries > to build > an X-dependent component of PLplot in error, please let us know so > we can > fix that build-system bug. > > Note you also have complete hands-on control of what components of > PLplot > are built, if you don't like these build decisions to be made > automatically. > For example, if you want to specifically disable the tk language then > specify -DENABLE_tk=OFF as a cmake option. (That should automatically > disable the tk device as well.) If you want to specifically disable > the xwin > device, then specify -DPLD_xwin=OFF as a cmake option. > > Hope this response to your question helps, and good luck with your > use of > PLplot! > > Alan ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel