afaict these environment variables are essential for plots:

PLPLOT_DRV_DIR=/usr/local/lib/plplot5.10.0/drivers
PLPLOT_HOME=/usr/local/share/plplot5.10.0/

DRV_DIR for dynamic loading, to get the driver_info files (.dll files
are to be pick
up in PATH) and PLPLOT_HOME for support files:
greg@Homerw7 /d/bld
$ ls $PLPLOT_DRV_DIR
cairo.dll          null.dll          qt.dll           wxwidgets.dll
      xwin.dll
cairo.driver_info  null.driver_info  qt.driver_info
wxwidgets.driver_info  xwin.driver_info
mem.dll            ps.dll            svg.dll          xfig.dll
mem.driver_info    ps.driver_info    svg.driver_info  xfig.driver_info

greg@Homerw7 /d/bld
$ ls $PLPLOT_HOME
cglobe.map                cmap0_white_bg.pal     cmap1_gray.pal
examples     usa.map
cmap0_alternate.pal       cmap1_blue_red.pal     cmap1_highfreq.pal
globe.map    usaglobe.map
cmap0_black_on_white.pal  cmap1_blue_yellow.pal  cmap1_lowfreq.pal   plstnd5.fnt
cmap0_default.pal         cmap1_default.pal      cmap1_radar.pal     plxtnd5.fnt

The WIN32 warning will go away when the cmake_minimum_required() command is
the very first command. (and min is > 2.8.4)

greg@Homerw7 /usr/local/include
$ env | grep PKG
PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig

The chatter in CMAKE tells you it detects three paths from PKG_CONFIG_PATH
and so it forms CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH with
whatever I've put there; if I had a non-empty LDFLAGS it would add
those to the mix, also.  All in addition to the traditional
list acquired at the outset.

I've now run the test again and it never goes beyond "make" from the
comprehensive test.
It can also have a make problem when run as if to simply build.  It
snags in a file comparison
of the cairo drivers during test_dyndrivers build.
I can however push the make along and complete the build.


Each of the steps in this comprehensive test may take a while....
cmake -DENABLE_qt=OFF -DENABLE_wxwidgets=OFF -DPLD_wxwidgets=OFF in
the build tree
make VERBOSE=1 in the build tree
ERROR: make failed in the build tree

greg@Homerw7 /d/bld/plplot2-cygwin/shared/build_tree
$ tail ../output_tree/make.out
cd /d/bld/plplot2-cygwin/shared/build_tree/drivers &&
/opt/local/bin/cmake.exe -E compare_files
/d/bld/plplot2-cygwin/shared/build_tree/drivers/test_dyndrivers_dir/cairo.driver_info
/d/bld/plplot2-cygwin/shared/build_tree/drivers/cairo.driver_info
Files 
"/d/bld/plplot2-cygwin/shared/build_tree/drivers/test_dyndrivers_dir/cairo.driver_info"
to "/d/bld/plplot2-cygwin/shared/build_tree/drivers/cairo.driver_info"
are different.
drivers/CMakeFiles/test_cairo_dyndriver.dir/build.make:52: recipe for
target 'drivers/test_dyndrivers_dir/cairo.driver_info' failed
make[2]: *** [drivers/test_dyndrivers_dir/cairo.driver_info] Error 1
make[2]: Leaving directory '/cygdrive/d/bld/plplot2-cygwin/shared/build_tree'
CMakeFiles/Makefile2:2703: recipe for target
'drivers/CMakeFiles/test_cairo_dyndriver.dir/all' failed
make[1]: *** [drivers/CMakeFiles/test_cairo_dyndriver.dir/all] Error 2
make[1]: Leaving directory '/cygdrive/d/bld/plplot2-cygwin/shared/build_tree'
Makefile:147: recipe for target 'all' failed
make: *** [all] Error 2

greg@Homerw7 /d/bld/plplot2-cygwin/shared/build_tree
$ make VERBOSE=1 >& ../output_tree/make1.out &
[1] 5540
then the tail end of make1.out shows completion:

Scanning dependencies of target lena_file
make[2]: Leaving directory '/cygdrive/d/bld/plplot2-cygwin/shared/build_tree'
make -f plplot_test/CMakeFiles/lena_file.dir/build.make
plplot_test/CMakeFiles/lena_file.dir/build
make[2]: Entering directory '/cygdrive/d/bld/plplot2-cygwin/shared/build_tree'
/opt/local/bin/cmake.exe -E cmake_progress_report
/d/bld/plplot2-cygwin/shared/build_tree/CMakeFiles
[100%] Generating lena.pgm
cd /d/bld/plplot2-cygwin/shared/build_tree/plplot_test &&
/opt/local/bin/cmake.exe -E copy_if_different
/d/bld/plplot-5.11/examples/lena.pgm
/d/bld/plplot2-cygwin/shared/build_tree/plplot_test/lena.pgm
make[2]: Leaving directory '/cygdrive/d/bld/plplot2-cygwin/shared/build_tree'
/opt/local/bin/cmake.exe -E cmake_progress_report
/d/bld/plplot2-cygwin/shared/build_tree/CMakeFiles
[100%] Built target lena_file
make[1]: Leaving directory '/cygdrive/d/bld/plplot2-cygwin/shared/build_tree'
/opt/local/bin/cmake.exe -E cmake_progress_start
/d/bld/plplot2-cygwin/shared/build_tree/CMakeFiles 0

greg@Homerw7 /d/bld/plplot2-cygwin/shared/build_tree
So the stuff is built, but I have to test step-by-step.


On Sat, Apr 4, 2015 at 6:00 PM, Alan W. Irwin <ir...@beluga.phys.uvic.ca> wrote:
> On 2015-04-04 21:27-0000 Arjen Markus wrote:
>
>> I had to suppress the test_interactive part as well as the traditional
>> build, but then it finished all right. See the attached tgz-file for the
>> details.
>
>
> I agree that limited Cygwin result looks good (other than the
> test_interactive and traditional parts). When time permits
> post-release it would be good to expand this limited Cygwin result to
> more components (via installing them on Cygwin) and also sorting out
> the problems for the interactive and traditional parts of the test.
> But for this release it shows at least these limited components work
> for all our build configurations on Cygwin which is a great relief to
> me as release manager after nothing worked for Greg.
>
> To finish this off so I can post this result in the wiki for this
> release could you also please send the script stderr and stdout output
> that is normally sent to the screen?
>
> To repeat what I told Greg recently, you can capture that script output with
> e.g.,
>
> scripts/comprehensive_test.sh <-- options you used for that script> \
>>
>> & comprehensive_test.sh.out
>
>
> Note that command will hang initially until you answer the question at
> the end of comprehensive_test.sh.out that would ordinarily be sent to
> the screen for the case where script output was not redirected (by
> ">&") to comprehensive_test.sh.out.
>
> Thanks.
>
>
> 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
> __________________________

Attachment: plplot2-cygwin.tgz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to