<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Centos7 Installation</title><link>https://sourceforge.net/p/plplot/discussion/8607/thread/5e31d13a94/</link><description>Recent posts to Centos7 Installation</description><atom:link href="https://sourceforge.net/p/plplot/discussion/8607/thread/5e31d13a94/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 07 Dec 2018 22:02:10 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/plplot/discussion/8607/thread/5e31d13a94/feed.rss" rel="self" type="application/rss+xml"/><item><title>Centos7 Installation</title><link>https://sourceforge.net/p/plplot/discussion/8607/thread/5e31d13a94/?limit=25#3fb4</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello everyone,&lt;br/&gt;
I have a trouble installing plplot on my machine. My system specs are as follows&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[root@]&lt;/span&gt;# cat /etc/&lt;em&gt;release&lt;/em&gt;&lt;br/&gt;
CentOS Linux release 7.4.1708 (Core) &lt;br/&gt;
Derived from Red Hat Enterprise Linux 7.4 (Source)&lt;br/&gt;
NAME="CentOS Linux"&lt;br/&gt;
VERSION="7 (Core)"&lt;br/&gt;
ID="centos"&lt;br/&gt;
ID_LIKE="rhel fedora"&lt;br/&gt;
VERSION_ID="7"&lt;br/&gt;
PRETTY_NAME="CentOS Linux 7 (Core)"&lt;br/&gt;
ANSI_COLOR="0;31"&lt;br/&gt;
CPE_NAME="cpe:/o:centos:centos:7"&lt;br/&gt;
HOME_URL="https://www.centos.org/"&lt;br/&gt;
BUG_REPORT_URL="https://bugs.centos.org/"&lt;/p&gt;
&lt;p&gt;CENTOS_MANTISBT_PROJECT="CentOS-7"&lt;br/&gt;
CENTOS_MANTISBT_PROJECT_VERSION="7"&lt;br/&gt;
REDHAT_SUPPORT_PRODUCT="centos"&lt;br/&gt;
REDHAT_SUPPORT_PRODUCT_VERSION="7"&lt;/p&gt;
&lt;p&gt;CentOS Linux release 7.4.1708 (Core) &lt;br/&gt;
CentOS Linux release 7.4.1708 (Core) &lt;br/&gt;
cpe:/o:centos:centos:7&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[root@]&lt;/span&gt;# uname -mrs&lt;br/&gt;
Linux 3.10.0-693.21.1.el7.x86_64 x86_64&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[root@]&lt;/span&gt;# cat /proc/version&lt;br/&gt;
Linux version 3.10.0-693.21.1.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) ) #1 SMP Wed Mar 7 19:03:37 UTC 2018&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[root@]&lt;/span&gt;# lscpu&lt;br/&gt;
Architecture: x86_64&lt;br/&gt;
CPU op-mode(s): 32-bit, 64-bit&lt;br/&gt;
Byte Order: Little Endian&lt;br/&gt;
CPU(s): 64&lt;br/&gt;
On-line CPU(s) list: 0-63&lt;br/&gt;
Thread(s) per core: 2&lt;br/&gt;
Core(s) per socket: 16&lt;br/&gt;
Socket(s): 2&lt;br/&gt;
NUMA node(s): 2&lt;br/&gt;
Vendor ID: GenuineIntel&lt;br/&gt;
CPU family: 6&lt;br/&gt;
Model: 79&lt;br/&gt;
Model name: Intel(R) Xeon(R) CPU E5-2697A v4 @ 2.60GHz&lt;br/&gt;
Stepping: 1&lt;br/&gt;
CPU MHz: 2600.101&lt;br/&gt;
CPU max MHz: 3600.0000&lt;br/&gt;
CPU min MHz: 1200.0000&lt;br/&gt;
BogoMIPS: 5200.07&lt;br/&gt;
Virtualization: VT-x&lt;br/&gt;
L1d cache: 32K&lt;br/&gt;
L1i cache: 32K&lt;br/&gt;
L2 cache: 256K&lt;br/&gt;
L3 cache: 40960K&lt;br/&gt;
NUMA node0 CPU(s): 0-15,32-47&lt;br/&gt;
NUMA node1 CPU(s): 16-31,48-63&lt;/p&gt;
&lt;p&gt;I am trying to install plplot within &lt;code&gt;build_dir&lt;/code&gt; with the following sequence&lt;/p&gt;
&lt;p&gt;&lt;code&gt;[root@ build_dir]# cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_compiler_diagnostics=ON ../../plplot-5.13.0 &amp;gt;&amp;amp; cmake.out&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The cmake.out file looks benign with only these warnings:&lt;br/&gt;
&lt;span&gt;[...]&lt;/span&gt;&lt;br/&gt;
-- Found PythonInterp: /bin/python3 (found suitable version "3.4.9", minimum required is "3") &lt;br/&gt;
-- Found PythonInterp: /bin/python3 (found suitable version "3.4.9", minimum required is "2") &lt;br/&gt;
-- Found PythonLibs: //lib64/libpython3.6m.so (found version "3.6.5") &lt;br/&gt;
Traceback (most recent call last):&lt;br/&gt;
  File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;br/&gt;
ImportError: No module named 'numpy'&lt;br/&gt;
-- WARNING: NumPy header not found. Disabling Python binding&lt;br/&gt;
-- OCTAVE = /bin/octave&lt;br/&gt;
-- MKOCTFILE = /bin/mkoctfile&lt;br/&gt;
-- OCTAVE_CONFIG = /bin/octave-config&lt;br/&gt;
-- OCTAVE_VERSION = 3.8.2&lt;br/&gt;
-- OCTAVE_LIBRARIES = /usr/lib64/octave/3.8.2/liboctave.so&lt;br/&gt;
-- OCTINTERP_LIBRARIES = /usr/lib64/octave/3.8.2/liboctinterp.so&lt;br/&gt;
-- OCTAVE_INCLUDE_PATH = /usr/include;/usr/include/octave-3.8.2;/usr/include/octave-3.8.2/octave&lt;br/&gt;
warning: docstring file '/usr/share/octave/3.8.2/etc/built-in-docstrings' not found&lt;br/&gt;
warning: docstring file '/usr/share/octave/3.8.2/etc/built-in-docstrings' not found&lt;br/&gt;
warning: docstring file '/usr/share/octave/3.8.2/etc/built-in-docstrings' not found&lt;br/&gt;
&lt;span&gt;[...]&lt;/span&gt;&lt;br/&gt;
-- A test cmake run with language = D enabled failed with the following output:&amp;lt;/module&amp;gt;&amp;lt;/string&amp;gt;&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;-- CMAKE_GENERATOR = Unix Makefiles&lt;br/&gt;
-- D Compiler Install Prefix (use D_PATH env var to override): &lt;br/&gt;
-- Check for working D compiler: /bin/dmd&lt;br/&gt;
-- Check for working D compiler: /bin/dmd -- broken&lt;br/&gt;
-- To force a specific D compiler set the DC environment variable&lt;br/&gt;
--     ie - export DC="/opt/dmd/bin/dmd"&lt;br/&gt;
-- If the D path is not set please use the D_PATH variable&lt;br/&gt;
--     ie - export D_PATH="/opt/dmd"&lt;br/&gt;
CMake Error at /usr/local/software/plplot-5.13.0/cmake/modules/language_support/cmake/CMakeTestDCompiler.cmake:52 (MESSAGE):&lt;br/&gt;
  The D compiler "/bin/dmd" is not able to compile a simple test program.&lt;/p&gt;
&lt;p&gt;It fails with the following output:&lt;/p&gt;
&lt;p&gt;Change Dir: /usr/local/software/plplot-5.13.0/build_dir/language_tests/D/CMakeFiles/CMakeTmp&lt;/p&gt;
&lt;p&gt;Run Build Command:"/bin/gmake" "cmTC_9761b/fast"&lt;/p&gt;
&lt;p&gt;/bin/gmake -f CMakeFiles/cmTC_9761b.dir/build.make&lt;br/&gt;
  CMakeFiles/cmTC_9761b.dir/build&lt;/p&gt;
&lt;p&gt;gmake&lt;span&gt;[1]&lt;/span&gt;: Entering directory&lt;br/&gt;
  `/usr/local/software/plplot-5.13.0/build_dir/language_tests/D/CMakeFiles/CMakeTmp'&lt;/p&gt;
&lt;p&gt;Building D object CMakeFiles/cmTC_9761b.dir/testDCompiler.o&lt;/p&gt;
&lt;p&gt;/bin/dmd -version=Posix -I/include -I/import&lt;br/&gt;
  -ofCMakeFiles/cmTC_9761b.dir/testDCompiler.o -c&lt;br/&gt;
 /usr/local/software/plplot-5.13.0/build_dir/language_tests/D/CMakeFiles/CMakeTmp/testDCompiler.d&lt;/p&gt;
&lt;p&gt;Error: version identifier &lt;code&gt;Posix&lt;/code&gt; is reserved and cannot be set&lt;/p&gt;
&lt;p&gt;gmake&lt;span&gt;[1]&lt;/span&gt;: *** &lt;span&gt;[CMakeFiles/cmTC_9761b.dir/testDCompiler.o]&lt;/span&gt; Error 1&lt;/p&gt;
&lt;p&gt;gmake&lt;span&gt;[1]&lt;/span&gt;: Leaving directory&lt;br/&gt;
  `/usr/local/software/plplot-5.13.0/build_dir/language_tests/D/CMakeFiles/CMakeTmp'&lt;/p&gt;
&lt;p&gt;gmake: *** &lt;span&gt;[cmTC_9761b/fast]&lt;/span&gt; Error 2&lt;/p&gt;
&lt;p&gt;CMake will not be able to correctly generate this project.&lt;br/&gt;
Call Stack (most recent call first):&lt;br/&gt;
  CMakeLists.txt:11 (enable_language)&lt;/p&gt;
&lt;p&gt;-- Configuring incomplete, errors occurred!&lt;br/&gt;
See also "/usr/local/software/plplot-5.13.0/build_dir/language_tests/D/CMakeFiles/CMakeOutput.log".&lt;br/&gt;
See also "/usr/local/software/plplot-5.13.0/build_dir/language_tests/D/CMakeFiles/CMakeError.log".&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;-- WARNING: no working D compiler so disabling D binding and examples.&lt;br/&gt;
-- FindShapelib: Found shapelib header directory, /usr/include, and library, /usr/lib64/libshp.so.&lt;br/&gt;
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.8.0") &lt;br/&gt;
-- FREETYPE_CFLAGS = -I/usr/include/freetype2&lt;br/&gt;
-- FREETYPE_LIBRARIES = /usr/lib64/libfreetype.so&lt;br/&gt;
Fonts not found - disabling freetype&lt;br/&gt;
&lt;span&gt;[...]&lt;/span&gt;&lt;br/&gt;
-- WARNING: pkg-config does not find pango.&lt;br/&gt;
&lt;span&gt;[...]&lt;/span&gt;&lt;br/&gt;
-- WARNING: pkg-config does not find pangoft2.&lt;br/&gt;
&lt;span&gt;[...]&lt;/span&gt;&lt;br/&gt;
-- WARNING: pango and/or cairo not found with pkg-config.&lt;br/&gt;
   Disabling cairo drivers.  To enable these drivers you must install&lt;br/&gt;
   development versions of pango and cairo and/or set&lt;br/&gt;
   the environment variable PKG_CONFIG_PATH appropriately.&lt;br/&gt;
&lt;span&gt;[...]&lt;/span&gt;&lt;br/&gt;
cflags = &lt;br/&gt;
-- WARNING: pango, pangoft2, or lasi not found with pkg-config.&lt;br/&gt;
   Setting PLD_psttf to OFF.  Please install all of these packages&lt;br/&gt;
   and/or set the environment variable PKG_CONFIG_PATH appropriately.&lt;br/&gt;
-- Found unsuitable Qt version "" from NOTFOUND&lt;br/&gt;
-- WARNING: Suitable Qt4 development environment not found so trying Qt5 instead.&lt;br/&gt;
CMake Warning at cmake/modules/qt.cmake:144 (find_package):&lt;br/&gt;
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has&lt;br/&gt;
  asked CMake to find a package configuration file provided by "Qt5", but&lt;br/&gt;
  CMake did not find one.&lt;/p&gt;
&lt;p&gt;Could not find a package configuration file provided by "Qt5" (requested&lt;br/&gt;
  version 5.3.1) with any of the following names:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;Qt5Config.cmake
qt5-config.cmake
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"&lt;br/&gt;
  to a directory containing one of the above files.  If "Qt5" provides a&lt;br/&gt;
  separate development package or SDK, be sure it has been installed.&lt;br/&gt;
Call Stack (most recent call first):&lt;br/&gt;
  cmake/modules/drivers.cmake:96 (include)&lt;br/&gt;
  cmake/modules/plplot.cmake:556 (include)&lt;br/&gt;
  CMakeLists.txt:125 (include)&lt;/p&gt;
&lt;p&gt;-- WARNING: Suitable Qt5 development environment not found so disabling qt&lt;br/&gt;
-- WARNING: ENABLE_qt is OFF so setting all qt devices to OFF.&lt;br/&gt;
-- WARNING: PLPLOT_USE_QT5 is ON so setting ENABLE_pyqt4 to OFF.&lt;br/&gt;
-- WARNING: ENABLE_python is OFF so setting ENABLE_pyqt5 to OFF.&lt;br/&gt;
&lt;span&gt;[...]&lt;/span&gt;&lt;br/&gt;
-- Checking whether wxwidgets version &amp;gt;= 3.0.0&lt;br/&gt;
-- Performing Test WX_VERSION_LARGE_ENOUGH&lt;br/&gt;
-- Performing Test WX_VERSION_LARGE_ENOUGH - Failed&lt;br/&gt;
-- WARNING: wxWidgets version is less than 3.0.0 so setting all wxwidgets devices to OFF.&lt;br/&gt;
-- WARNING: PLD_wxwidgets is OFF so setting ENABLE_wxwidgets to OFF.&lt;br/&gt;
-- WARNING: ENABLE_wxwidgets is OFF so setting all wxwidgets devices to OFF.&lt;br/&gt;
&lt;span&gt;[...]&lt;/span&gt;&lt;br/&gt;
-- Checking whether libharu version &amp;gt;= 2.3.0&lt;br/&gt;
-- Performing Test LIBHARU_VERSION_LARGE_ENOUGH&lt;br/&gt;
-- Performing Test LIBHARU_VERSION_LARGE_ENOUGH - Failed&lt;br/&gt;
-- WARNING: libharu version is less than 2.3.0 (required for handling medium-large fonts and other fixes) so setting PLD_pdf to OFF.&lt;br/&gt;
-- OCAMLC = /bin/ocamlc.opt&lt;br/&gt;
-- CAMLIDL = /bin/camlidl&lt;br/&gt;
-- OCAMLMKLIB = /bin/ocamlmklib&lt;br/&gt;
-- OCAMLOPT = /bin/ocamlopt.opt&lt;br/&gt;
-- WARNING: The ocamlfind application not found.&lt;br/&gt;
-- OCAML_LIB_PATH = /usr/lib64/ocaml&lt;br/&gt;
-- CAMLIDL_LIB_DIR = /usr/lib64/ocaml&lt;br/&gt;
-- WARNING: ocamlfind not available.  Disabling Plcairo module and lablgtk2 support&lt;br/&gt;
-- validate target will be available to check for syntax issues in the PLplot DocBook documentation using /bin/env SP_CHARSET_FIXED=yes SP_ENCODING=xml /bin/onsgmls.&lt;br/&gt;
pc_libplplot_LINK_FLAGS = /usr/lib64/libltdl.so;/usr/lib64/libm.so;/usr/lib64/libshp.so;-lcsirocsa;-lcsironn;-lqhull;-lqsastime&lt;br/&gt;
-- WARNING concerning spurious warning messages generated by the gfortran compiler.&lt;br/&gt;
   The new Fortran binding is known to generate some ~50 "marked&lt;br/&gt;
   PRIVATE" warning messages when building the plplotfortran target with the&lt;br/&gt;
   gfortran Fortran compiler.  A typical example of such a warning&lt;br/&gt;
   message is&lt;/p&gt;
&lt;p&gt;Warning: Symbol 'interface_plcont' at (1) is marked PRIVATE but has been given the binding label 'c_plcont'&lt;/p&gt;
&lt;p&gt;It appears these warnings (which do not occur if using the ifort or&lt;br/&gt;
   nagfor Fortran compilers) are due to a gfortran bug (see&lt;br/&gt;
&lt;a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49111" rel="nofollow"&gt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49111&lt;/a&gt; and&lt;br/&gt;
&lt;a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64861" rel="nofollow"&gt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64861&lt;/a&gt;), i.e., they&lt;br/&gt;
   are spurious warnings concerning completely valid use of the&lt;br/&gt;
   private attribute for interface blocks describing C routines.&lt;br/&gt;
   There appear to be no known negative consequences of this gfortran&lt;br/&gt;
   bug other than the spurious warnings themselves.  Until this gfortran&lt;br/&gt;
   bug is fixed, these ~50 "marked PRIVATE" warnings should just be&lt;br/&gt;
   ignored for those using gfortran.&lt;br/&gt;
&lt;span&gt;[...]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Executing the subsequent &lt;strong&gt;make&lt;/strong&gt; command runs into trouble.&lt;br/&gt;
&lt;code&gt;[root@ build_dir]# make VERBOSE=1 &amp;gt;&amp;amp; make.out&lt;/code&gt;&lt;br/&gt;
I am attaching the make.out file. &lt;/p&gt;
&lt;p&gt;Any ideas for how to fix the gfortran 'c_loc' error are greatly appreciated. Thanks!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dr4712</dc:creator><pubDate>Fri, 07 Dec 2018 22:02:10 -0000</pubDate><guid>https://sourceforge.net8fbcaf1bfeb66e83740a7c6cde1a238375092e43</guid></item></channel></rss>