Summary: | Build fails, error about no R.h. | ||
---|---|---|---|
Product: | [Applications] cantor | Reporter: | jarymut+kde |
Component: | r-backend | Assignee: | Filipe Saraiva <filipe> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | alexanderrieder |
Priority: | NOR | ||
Version: | 16.04 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/cantor/01cb9b95dce72092231594a44b6dcfb913d475e5 | Version Fixed In: | |
Attachments: | Change 'echo -n' to 'printf' |
Description
jarymut+kde
2016-07-20 13:35:16 UTC
Created attachment 100196 [details]
Change 'echo -n' to 'printf'
It works as portage patch, so maybe paths should be changed.
Is R Backend working for you? Hi. I forgot about it, because someone in my distro (Gentoo) used same kind of patch for version 17: https://bugs.gentoo.org/show_bug.cgi?id=596940 according to POSIX echo does not take any arguments, but cmake/FindR.cmake still contains: sh -c "echo -n $R_INCLUDE_DIR" at https://github.com/KDE/cantor/blob/master/cmake/FindR.cmake#L34 There are two options: 1. go POSIX and change it to: sh -c "printf $R_INCLUDE_DIR" 2. Bash is installed on most systems, so change it to: bash -c "echo -n $R_INCLUDE_DIR" Thanks jarymut, I will address it soon. But in a side question, is R backend working to you in Gentoo? Several distros as problem with this backend right now (bug 351871), so I would like to know if it works for Gentoo. Thanks. Sorry, I misunderstood. Nope, it is stuck on "initialising session". I don't know if it has worked before. I'm using LXQt, KDE was for other users. And I simply installed "all KDE stuff" and noticed cantor did not compile. Git commit 01cb9b95dce72092231594a44b6dcfb913d475e5 by Filipe Saraiva. Committed on 29/04/2017 at 13:37. Pushed by filipesaraiva into branch 'master'. Put the FindR.cmake in a POSIX compatible way M +1 -1 cmake/FindR.cmake https://commits.kde.org/cantor/01cb9b95dce72092231594a44b6dcfb913d475e5 |