Package Details: plplot 5.15.0-8

Git Clone URL: (read-only, click to copy)
Package Base: plplot
Description: A cross-platform software package for creating scientific plots
Upstream URL:
Licenses: GPL-2.0-or-later, LGPL-2.0-or-later, LicenseRef-custom
Submitter: None
Maintainer: jankoh
Last Packager: jankoh
Votes: 48
Popularity: 0.000000
First Submitted: 2005-06-08 03:23 (UTC)
Last Updated: 2024-04-30 23:17 (UTC)

Dependencies (26)

Sources (2)

Latest Comments

1 2 3 4 Next › Last »

vickysharma0812 commented on 2024-03-14 03:24 (UTC)

Currently ENABLE_fortran is set to OFF. Can we set it to ON so that we can use this repo to build plplot with fortran binding.

Otherwise we should create plplot-fortran to build plplot with fortran bindings.

Regards Vikas

MarsSeed commented on 2023-10-14 13:42 (UTC)

'qt4' optdepends should also be deleted. Not used by this build. (It is already configured to support Gtk3 GUI toolkit. Also the source code supports Qt5, so if Qt is needed, the build should be set to enable Qt5.)

MarsSeed commented on 2023-10-13 16:25 (UTC)

Also please remove optdepends=agg. Not supported anymore.

MarsSeed commented on 2023-10-02 00:40 (UTC)

wxgtk optdepend should be changed to wxwidgets-gtk3.

Universebenzene commented on 2023-07-07 12:58 (UTC) (edited on 2023-07-07 12:58 (UTC) by Universebenzene)

Could you please add -DENABLE_wxwidgets=ON and -DPLD_wxwidgets=ON to the cmake options? The gnudatalanguage 1.0.2 needs plplot to be compiled with these options, or the compilation will fail like this issue.

jvfaegje commented on 2022-08-10 10:57 (UTC)

I solved the problem. If you are using nvcc compilers for c, add the lines:

CC=/usr/bin/gcc CXX=/usr/bin/g++

In the build function of the pkgbuild file for Plplot, making it:

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  if [ -d build ]; then
      rm -r build
  mkdir build
  cd build
      -DENABLE_octave=off \
      -DENABLE_tcl=ON \
      -DENABLE_tk=ON \
      -DPLPLOT_USE_QT5=1 \
      -DPL_FREETYPE_FONT_PATH=/usr/share/fonts/TTF ..
  find . -name '*.make' -exec sed -i 's|-isystem /usr/include ||g' '{}' ';'

With this configuration, I was able to build the AUR.

jvfaegje commented on 2022-08-08 03:45 (UTC)

Hey everyone, I recently tried installing this aur and in the build phase, it has tried to use nvc to make the software in vain:

CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:69 (message):
  The C compiler


  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /var/tmp/pamac-build-usbfvlaeef/plplot/src/plplot-5.15.0/build/CMakeFiles/CMakeTmp

    Run Build Command(s):/usr/bin/make -f Makefile cmTC_bdbc2/fast && /usr/bin/make  -f CMakeFiles/cmTC_bdbc2.dir/build.make CMakeFiles/cmTC_bdbc2.dir/build
    make[1]: Entering directory '/var/tmp/pamac-build-usbfvlaeef/plplot/src/plplot-5.15.0/build/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_bdbc2.dir/testCCompiler.c.o
    /opt/nvidia/hpc_sdk/Linux_x86_64/22.7/compilers/bin/nvc   -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection  -MD -MT CMakeFiles/cmTC_bdbc2.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_bdbc2.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_bdbc2.dir/testCCompiler.c.o -c /var/tmp/pamac-build-usbfvlaeef/plplot/src/plplot-5.15.0/build/CMakeFiles/CMakeTmp/testCCompiler.c
    nvc-Error-Switch -tp with unknown keyword x86-64
                        Select target processor
        px              Generic Linux/Windows x86_64 Processor.
        bulldozer       AMD Bulldozer processor
        piledriver      AMD Piledriver processor
        zen             AMD Zen architecture (Epyc, Ryzen)
        zen2            AMD Zen 2 architecture (Ryzen 2)
        zen3            AMD Zen 3 architecture (Ryzen 3)
        sandybridge     Intel SandyBridge processor
        haswell         Intel Haswell processor
        skylake         Intel Skylake Xeon processor
        host            Link native version of HPC SDK cpu math library
        native          Alias for -tp host
    make[1]: *** [CMakeFiles/cmTC_bdbc2.dir/build.make:79: CMakeFiles/cmTC_bdbc2.dir/testCCompiler.c.o] Error 1
    make[1]: Leaving directory '/var/tmp/pamac-build-usbfvlaeef/plplot/src/plplot-5.15.0/build/CMakeFiles/CMakeTmp'
    make: *** [Makefile:127: cmTC_bdbc2/fast] Error 2

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:110 (enable_language)

-- Configuring incomplete, errors occurred!
See also "/var/tmp/pamac-build-usbfvlaeef/plplot/src/plplot-5.15.0/build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/pamac-build-usbfvlaeef/plplot/src/plplot-5.15.0/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().

It looks like pyplot is not engaging nvc with the right switches. Not sure how to fix this as I am somewhat of an amateur here.

James-T commented on 2021-08-11 14:34 (UTC) (edited on 2021-08-11 14:35 (UTC) by James-T)

I was looking around the plplot site the other day, and saw that it can be built with qt5 rather than qt4 by specifying -DPLPLOT_USE_QT5=1 on the cmake line.

Updating to use QT5 would remove the dependency on qt4 which is no longer in the repositories.

The only significant drawback I can see is that there is no QT5 ps driver. I'm not sure whether there is any dependency beyond qt5-base as I have a full qt5 install on my KDE-based system.


gypaetus commented on 2020-08-25 10:28 (UTC)

Thank you. Adding a patch to the PKGBUILD to solve this issue.

mazzarino commented on 2020-08-18 17:05 (UTC) (edited on 2020-08-18 17:21 (UTC) by mazzarino)

@Cjen1 It seems to be plplot issue. Similar nextcloud-client issue:

I've succeeded to solve the problem by adding

'#include <QPainterPath>'

to the file /plplot-5.15.0/bindings/qt_gui/plqt.cpp