On 11/24/18 11:55 AM, Alan W. Irwin wrote:
Hi Orion:

This thread has previously been directed mostly at Ole, but
I am including you now because I think it will interest you.  It concerns the
problems (one of them upstream which I plan to fix soon by factoring
the export files [as I promised you long ago, but it got lost on the
stack until Ole ran into this problem again!]) that Ole has been having
with Debian to get testing working properly for the installed
examples.

I would appreciate you contributing to this thread.  For example, if
all Fedora binary packages are installed (which works around the above
factoring problem until I can get it fixed) do the following tests of the
CMake-based and legacy-based installed examples work?

# CMake-based build system for the installed examples
# Move to initially empty build tree first.
rm -rf /tmp/plplot_cmake_test
mkdir /tmp/plplot_cmake_test
cd /tmp/plplot_cmake_test
cmake $prefix/share/plplot$plplot_version/examples
make -j<parallel_build_number> test_noninteractive >& test_noninteractive.out

# Legacy-based build system for the installed examples
# Keep the install-tree clean by copying the installed examples elsewhere
cp -a $prefix/share/plplot$plplot_version/examples /tmp
cd /tmp/examples
make -j<parallel_build_number> test_noninteractive >& test_noninteractive.out

If the above tests work on Fedora that proves that the Fedora
PLplot installation has correctly configured CMake export
and pkg-config *.pc files for the final Fedora installation locations.

Currently such tests fail for Ole's Debian packages, but I think some
attention to the details of PLplot installation locations will solve this
issue.  And similarly in your case if those tests fail for Fedora.

Alan

It mostly seems to work fine.  The one strange error for cmake is:

Generate C results for bmpqt file device
/usr/share/plplot5.13.0/examples/test_lua.sh: line 50: lua_svg_test.error: Permission denied
[ 92%] Built target xtraditional16a
cat: lua_svg_test.error: No such file or directory
make[3]: *** [CMakeFiles/test_lua_svg.dir/build.make:374: test_examples_output_dir/x00lua01.svg] Error 1

and for make/pkgconfig:

Generate Octave results for svg device
./plplot-test.sh --verbose --front-end=octave --device=svg
/usr/bin/bash: ./plplot-test.sh: Permission denied
make: *** [Makefile:126: x01o01.svg] Error 126

which is due to my removing the executable bit for the example script to avoid issues with automatic dependencies.


--
Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       or...@nwra.com
Boulder, CO 80301                 https://www.nwra.com/


_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to