Dear Alan, On 13.07.2017 11:27, Alan W. Irwin wrote: >> I already have a few small questions. First language bindings: Currently >> the following are disabled: >> >> ENABLE_ada: OFF >> ENABLE_d: OFF >> ENABLE_octave: OFF >> ENABLE_pdl: OFF >> ENABLE_pyqt5: OFF >> >> Would it be useful to (re-)enable any of them? And what would I need to >> add as dependencies then? > > You should _not_ disable the first 3 which are well supported (at least > on Linux). On Debian Jessie, ENABLE_ada, ENABLE_d, and ENABLE_octave > require the gnat, gdc, and liboctave-dev packages be installed.
ADA seems to work fine, I enabled it. With D, I also have to install libgphobos-dev (right?), but even then I get the following error (on newer Debian systems, f.e. Stretch, or unstable): -- D Compiler Install Prefix (use D_PATH env var to override): /usr -- Check for working D compiler: /usr/bin/gdc -- Check for working D compiler: /usr/bin/gdc -- works -- Check for working Phobos -- Check for working Phobos -- unavailable -- Check for working Tango -- Check for working Tango -- unavailable CMake Error at cmake/modules/language_support/cmake/CMakeTestDCompiler.cmake:175 (MESSAGE): Phobos is required for this project, but it is not available! Call Stack (most recent call first): cmake/modules/d.cmake:53 (enable_language) cmake/modules/plplot.cmake:493 (include) CMakeLists.txt:135 (include) [...] Determining if Phobos works failed with the following output: Change Dir: /build/plplot-5.12.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_b0e79/fast" make[2]: Entering directory '/build/plplot-5.12.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_b0e79.dir/build.make CMakeFiles/cmTC_b0e79.dir/build make[3]: Entering directory '/build/plplot-5.12.0+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp' Building D object CMakeFiles/cmTC_b0e79.dir/testDCompiler.o /usr/bin/gdc -fversion=Phobos -o CMakeFiles/cmTC_b0e79.dir/testDCompiler.o -c /build/plplot-5.12.0+dfsg/obj-x86_64-linux-gnu/CM Linking D executable cmTC_b0e79 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b0e79.dir/link.txt --verbose=1 /usr/bin/gdc -fversion=Phobos -Wl,-z,relro -Wl,--as-needed CMakeFiles/cmTC_b0e79.dir/testDCompiler.o -o cmTC_b0e79 -lgphobos2 /usr/bin/ld: cannot find -lgphobos2 collect2: error: ld returned 1 exit status [...] Do you have an idea what to do here? Did I use the wrong library? I also tried octave, but get the warning -- OCTAVE = /usr/bin/octave -- MKOCTFILE = /usr/bin/mkoctfile -- OCTAVE_CONFIG = /usr/bin/octave-config -- OCTAVE_VERSION = 4.2.1 -- WARNING: Octave-4 has been found which is likely to lead to build errors for PLplot. -- WARNING: Disabling Octave binding. If you want to use that component of PLplot you should try installing Octave-3 (which works well with PLplot) or else try the experimental cmake option -DTRY_OCTAVE4=ON Debian (Stretch and later) has Octave 4 only, so I am a bit worried enabling this for the moment. Would you recommend it despite of the warning? Best regards Ole ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel