LabPlot builds and runs with kf5

Marko Käning mk-lists at email.de
Sun Mar 1 19:55:22 UTC 2015


Hi Alexander,

I just tried to build LabPlot on OSX/CI for which I had to add these deps:
---
$ git diff
diff --git a/dependency-data-kf5-qt5 b/dependency-data-kf5-qt5
index 46d92ca..3731ec6 100644
--- a/dependency-data-kf5-qt5
+++ b/dependency-data-kf5-qt5
@@ -813,6 +813,14 @@ kde/kdeedu/parley: kde/kdeedu/libkeduvocdocument
 kde/kdeedu/khangman: kde/kdeedu/libkeduvocdocument
 kde/kdeedu/khangman: kde/kdeedu/kdeedu-data
 kde/kdeedu/kwordquiz: kde/kdeedu/libkeduvocdocument
+kdereview/labplot: frameworks/karchive
+kdereview/labplot: frameworks/ki18n
+kdereview/labplot: frameworks/kwidgetsaddons
+kdereview/labplot: frameworks/kxmlgui
+kdereview/labplot: frameworks/kio
+kdereview/labplot: frameworks/kdelibs4support
+kdereview/labplot: frameworks/kemoticons
+kdereview/labplot: frameworks/kitemmodels
 
 # KDE Plasma Addons
 kde/kdeplasma-addons: frameworks/krunner
---


I installed GSL through MacPorts:
---
$ port installed gsl
The following ports are currently installed:
  gsl @1.16_3 (active)
$ $ port contents gsl
Port gsl contains:
  /opt/local/bin/gsl-config
  /opt/local/bin/gsl-histogram
  /opt/local/bin/gsl-randist
  /opt/local/include/gsl/gsl_blas.h
.
.
.
  /opt/local/include/gsl/gsl_wavelet2d.h
  /opt/local/lib/libgsl.0.dylib
.
.
.
  /opt/local/lib/libgslcblas.dylib
  /opt/local/lib/pkgconfig/gsl.pc
  /opt/local/share/aclocal/gsl.m4
  /opt/local/share/info/gsl-ref.info
.
.
.
  /opt/local/share/info/gsl-ref.info-5
  /opt/local/share/man/man1/gsl-config.1.gz
.
.
  /opt/local/share/man/man3/gsl.3.gz
---
which puts everything below prefix /opt/local and unfortunately leads to a failing
build on my OSX/CI system:
---
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
CMake Error at CMakeLists.txt:71 (MESSAGE):
  GNU Scientific Library not found.


-- Configuring incomplete, errors occurred!
See also "/Users/marko/WC/KDECI-builds/kf5-qt5/labplot/build/CMakeFiles/CMakeOutput.log".
See also "/Users/marko/WC/KDECI-builds/kf5-qt5/labplot/build/CMakeFiles/CMakeError.log".

KDE Continuous Integration Build
== Building Project: labplot - Branch frameworks
---

What can be done to let CMake find GSL properly?

Well, I have already used option

	-DCMAKE_PREFIX_PATH=/opt/local 

to teach cmake a little more, but it isn’t sufficient, unfortunately...

Greets,
Marko


More information about the kde-edu mailing list