On 2013-07-23 11:27+0200 Arjen Markus wrote: > Hi Alan, > > On 2013-07-19 19:46, Alan W. Irwin wrote: > >> >> Thanks for your general Tcl fixes that a help on all platforms. >> > > That was the fun part ... > >> In addition, I was glad to hear that getting Python to work under >> Cygwin was so straightforward, and I look forward to your further >> results as you install more components of Cygwin that enhance the >> capabilities of PLplot. >> > > ... and this is the puzzling part (see the attached cmake.out file). > > I installed Java and Ada as part of GCC under Cygwin, but CMake > does not accept them: > - Even though I defined the CMAKE_Java_COMPILER variable, it still can not > find the compiler
I think the result in your cmake.out file, CMAKE_Java_COMPILER-NOTFOUND, simply means there is no "javac" executable on your PATH, and therefore you need to install some additional java-related package that includes the javac executable. > - CMake complains about the Ada library, but it is there, in the Cygwin lib > directory The relevant message in cmake.out is -- WARNING: gnat library not found. Disabling ada bindings That warning message is generated by cmake/modules/ada.cmake In that file you will see some rather specific code for finding the Ada library that works on Linux (and Mac OS X), but the assumption about the name of the gnat library probably needs to be generalized for the Cygwin case. > The Cygwin setup complains about libpango not being found, so I do not > think that part of PLplot will work under the current Cygwin version. The relevant message in cmake.out is -- WARNING: pkg-config does not find pango. The issue is that pkg-config cannot find the pango.pc file that should be part of the pango installation. So if that file is not installed yet, you need to install an additional pango component (likely a development version of pango). If that file is installed, but you still get that message, then pkg-config may need some additional help (through setting the PKG_CONFIG_PATH environment variable) to find that pango.pc file. Note, that CMake invokes pkg-config itself, so if you can get pkg-config to work by hand then CMake should work as well. > I have not found wxWidgets or PDL via the setup. The latter is probably the > reason that the Perl bindings are not enabled (but the CMake output is rather > quiet about it). Yes, it looks like there is no wxwidgets binary package for Cygwin. So the eventual solution would be to build wxwidgets on Cygwin. But that is considerably more difficult than taking advantage of all the binary Cygwin packages that are readily available to satisfy other PLplot dependencies so my advice is to give wxwidgets a low priority. The PLplot PDL bindings are integrated into PDL rather than being an independent package that can be installed in an PDL environment. This means it is generally quite tricky to use any of Doug Hunt's updates to the PLplot bindings that have not yet been made a part of PDL (read examples/perl/README.perldemos for the "gory details"). Doug can tell you more about the current status, but until keeping the PLplot bindings for PDL up to date with recent PLplot becomes a lot more convenient, my advice would be to give testing Doug's external bindings with our perl/PDL examples a low priority. > > Anyway, I have for the moment run out of ideas or out of energy with the > holiday approaching fast. You are exploring completely new territory for yourself. You have to figure out what components of Cygwin need to be installed to satisfy PLplot and how to configure PLplot to find those components. Furthermore, there is the occasional build-system bug to figure out as well such as using the correct Cygwin name of the Ada library. So what you are attempting to do is non-trivial, but you are making good progress and asking for further help here (as you have just done) should help you get through this much faster. When you do want to deal with this (either before or after your holiday), the summary is (1) you need javac on your PATH, (2), you need to change our build system so the correct name of the Ada library is searched for on Cygwin, (3) the file pango.pc needs to be installed (and pkg-config needs to be able to find that file, and (4) you should probably view wxwidgets and the perl examples as a low priority since they will be much tougher to deal with on Cygwin than the other PLplot dependencies. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
