Hi Alan, On 23.11.18 22:17, Alan W. Irwin wrote: > On 2018-11-23 08:28+0100 Ole Streicher wrote: >> -- Could NOT find Qt5Svg (missing: Qt5Svg_DIR) >> CMake Warning at >> /usr/lib/x86_64-linux-gnu/cmake/plplot/plplotConfig.cmake:5 >> (find_package): >> Found package configuration file: >> >> /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake >> >> but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT >> FOUND. Reason given by package:
That was actually my fault; I didn't install all plplot packages. >> CMake Error at >> /usr/lib/x86_64-linux-gnu/cmake/plplot/export_plplot.cmake:279 (message): >> The imported target "_Pltk_init2.7" references the file >> >> "/usr/lib/python2.7/dist-packages/_Pltk_init.so" >> >> but this file does not exist. Possible reasons include: This however remains. > II. The second problem above starts with the message > > CMake Error at > /usr/lib/x86_64-linux-gnu/cmake/plplot/export_plplot.cmake:279 (message) > > I am virtually positive what is going on is that PLplot installs the > files corresponding to the exported target PLPLOT::_Pltk_init.so in > one location, e.g., "/usr/lib/python2.7/dist-packages/_Pltk_init.so" > and your Debian packaging automatically changes that location to > something else creating an inconsistency between the location expected > by the exported target, and the location where the file was installed. Hmm, no. It installs the file on the expected place, but *after* this (just before the files are put into the package), its name is changed to_Pltk_init.x86_64-linux-gnu.so (so, the architecture triple is added). Similarly for _plplotc.so (to _plplotc.x86_64-linux-gnu.so) and for the Python 3 shared libs (there, the name contains the Python version as well). So, it is not an inconsistent location, but a different file name. > Please look at your core build (not the build of the installed > examples you were testing above) cmake output for instructions about > how to get PLplot to modify installation locations. For example, here > is the relevant part of my cmake output: > > -----------------------------------------------8<------------------------------------- > > CMAKE_INSTALL_PREFIX: /home/software/plplot/installcmake > CMAKE_INSTALL_EXEC_PREFIX: /home/software/plplot/installcmake > CMAKE_INSTALL_BINDIR: /home/software/plplot/installcmake/bin > CMAKE_INSTALL_DATADIR: /home/software/plplot/installcmake/share > CMAKE_INSTALL_LIBDIR: /home/software/plplot/installcmake/lib > CMAKE_INSTALL_INCLUDEDIR: /home/software/plplot/installcmake/include > CMAKE_INSTALL_INFODIR: /home/software/plplot/installcmake/share/info > CMAKE_INSTALL_MANDIR: /home/software/plplot/installcmake/share/man > CMAKE_INSTALL_PKG_CONFIG_DIR: > /home/software/plplot/installcmake/lib/pkgconfig > DATA_DIR: /home/software/plplot/installcmake/share/plplot5.13.0 > LIB_DIR: /home/software/plplot/installcmake/lib > INCLUDE_DIR: /home/software/plplot/installcmake/include/plplot > BIN_DIR: /home/software/plplot/installcmake/bin > DRV_DIR: /home/software/plplot/installcmake/lib/plplot5.13.0/drivers > DOC_DIR: /home/software/plplot/installcmake/share/doc/plplot > INFO_DIR: /home/software/plplot/installcmake/share/info > MAN_DIR: /home/software/plplot/installcmake/share/man > PKG_CONFIG_DIR: /home/software/plplot/installcmake/lib/pkgconfig > FORTRAN_MOD_DIR: > /home/software/plplot/installcmake/lib/fortran/modules/plplot > JAR_DIR: /home/software/plplot/installcmake/share/java > JAVAWRAPPER_DIR: /home/software/plplot/installcmake/lib/jni > PYTHON_INSTDIR: > /home/software/plplot/installcmake/lib/python3.6/site-packages > PLPLOT_OCTAVE_DIR: /home/software/plplot/installcmake/share/plplot_octave > OCTAVE_M_DIR: /home/software/plplot/installcmake/share/octave/site/m/PLplot > OCTAVE_OCT_DIR: /home/software/plplot/installcmake/lib/octave > TCL_DIR: /home/software/plplot/installcmake/share/plplot5.13.0/tcl > ADA_INCLUDE_DIR: > /home/software/plplot/installcmake/share/ada/adainclude/plplotada > ADA_LIB_DIR: /home/software/plplot/installcmake/lib/ada/adalib/plplotada > LUA_DIR: /home/software/plplot/installcmake/lib/lua/plplot > OCAML_INSTALL_DIR: /home/software/plplot/installcmake/lib/ocaml > -----------------------------------------------8<------------------------------------- That looks reasonable, see f.e. https://buildd.debian.org/status/fetch.php?pkg=plplot&arch=amd64&ver=5.13.0%2Bdfsg-9&stamp=1538607430&raw=0 -----------------------------------------------8<------------------------------------- CMAKE_INSTALL_PREFIX: /usr CMAKE_INSTALL_EXEC_PREFIX: /usr CMAKE_INSTALL_BINDIR: /usr/bin CMAKE_INSTALL_DATADIR: /usr/share CMAKE_INSTALL_LIBDIR: /usr/lib/x86_64-linux-gnu CMAKE_INSTALL_INCLUDEDIR: /usr/include CMAKE_INSTALL_INFODIR: /usr/share/info CMAKE_INSTALL_MANDIR: /usr/share/man CMAKE_INSTALL_PKG_CONFIG_DIR: /usr/lib/x86_64-linux-gnu/pkgconfig DATA_DIR: /usr/share/plplot5.13.0 LIB_DIR: /usr/lib/x86_64-linux-gnu INCLUDE_DIR: /usr/include/plplot BIN_DIR: /usr/bin DRV_DIR: /usr/lib/x86_64-linux-gnu/plplot5.13.0/drivers DOC_DIR: /usr/share/doc/plplot INFO_DIR: /usr/share/info MAN_DIR: /usr/share/man PKG_CONFIG_DIR: /usr/lib/x86_64-linux-gnu/pkgconfig FORTRAN_MOD_DIR: /usr/lib/x86_64-linux-gnu/fortran/modules/plplot JAR_DIR: /usr/share/java JAVAWRAPPER_DIR: /usr/lib/x86_64-linux-gnu/jni PYTHON_INSTDIR: /usr/lib/python3/dist-packages PLPLOT_OCTAVE_DIR: /usr/share/plplot_octave OCTAVE_M_DIR: /usr/share/octave/site/m/PLplot OCTAVE_OCT_DIR: /usr/lib/x86_64-linux-gnu/octave/site/oct/api-v52/x86_64-pc-linux-gnu TCL_DIR: /usr/share/plplot5.13.0/tcl ADA_INCLUDE_DIR: /usr/share/ada/adainclude/plplotada ADA_LIB_DIR: /usr/lib/x86_64-linux-gnu/ada/adalib/plplotada LUA_DIR: /usr/lib/x86_64-linux-gnu/lua/5.1/plplot OCAML_INSTALL_DIR: /usr/lib/ocaml -----------------------------------------------8<------------------------------------- (The Python install dir is patched, since I build both Python 2 and 3 packages) Best Ole _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel