Package Details: r-mkl 3.4.2-1

Git Clone URL: https://aur.archlinux.org/r-mkl.git (read-only)
Package Base: r-mkl
Description: Language and environment for statistical computing and graphics, linked to the Intel(R) MKL.
Upstream URL: http://www.r-project.org/
Keywords: hpc mathematics modelling r statistics
Licenses: GPL
Conflicts: r
Provides: r=3.4.2,r-mkl=3.4.2
Submitter: giniu
Maintainer: alexanderp
Last Packager: alexanderp
Votes: 16
Popularity: 0.000804
First Submitted: 2010-05-06 00:10
Last Updated: 2017-09-30 09:05

Required by (155)

Sources (4)

Latest Comments

mys_721tx commented on 2017-11-16 17:29

icc 18.0.1 is out, it should fix the gcc 7.0 compatibility issue

https://software.intel.com/en-us/forums/intel-c-compiler/topic/742701

alexanderp commented on 2017-04-24 18:40

Yes, compilation was fixed with my last update on 2017-03-06.

gergi commented on 2017-04-24 07:29

Compiles again smoothly.

zlib issue got fixed in
https://stat.ethz.ch/pipermail/r-help//2017-January/444162.html

alexanderp commented on 2017-02-16 17:07

That's a general problem with zlib.
Even vanilla R from the repositories doesn't compile.

adalardo commented on 2017-02-14 11:43

Same here

checking if zlib version >= 1.2.5... no
checking whether zlib support suffices... configure: error: zlib library and headers are required

The zlib version installed is 1:1.2.11. I believe the problem is "1:" before official version name.

gergi commented on 2017-02-07 15:11

Build fails on

checking if zlib version >= 1.2.5... no
checking whether zlib support suffices... configure: error: zlib library and headers are required

herraiz commented on 2016-11-20 22:42

Excellent, thanks @alexanderp!

alexanderp commented on 2016-11-20 21:01

Herraiz, thank you for the insight in compiling quantreg and igraph.
I've implemented your suggestion in the ./configure line instead of Makeconf.
It seems that -lifcore and -lifport needed to be included before and after -lm.

herraiz commented on 2016-11-20 17:41

Here is the same patch against the current master:

From 79b350c7f58018b28374201fc3d644b3bd2696ce Mon Sep 17 00:00:00 2001
From: "Israel Herraiz <isra@herraiz.org>"
Date: Sun, 20 Nov 2016 18:39:02 +0100
Subject: [PATCH] Patch for Makeconf.in

---
PKGBUILD | 14 ++++++++++----
makeconf.in.patch | 11 +++++++++++
2 files changed, 21 insertions(+), 4 deletions(-)
create mode 100644 makeconf.in.patch

diff --git a/PKGBUILD b/PKGBUILD
index 348fa61..3a19729 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -48,16 +48,20 @@ install=r-mkl.install
source=("http://cran.r-project.org/src/base/R-${pkgver%%.*}/R-${pkgver}.tar.gz"
'r.desktop'
'r.png'
- 'R.conf')
-
+ 'R.conf'
+ 'makeconf.in.patch'
+ )
md5sums=('2437014ef40641cdc9673e89c040b7a8'
'44ca875140b148543148b7749c7d6f5e'
'8e0c51650b8a63f110fa7b09e699e9c4'
- '1dfa62c812aed9642f6e4ac34999b9fe')
+ '1dfa62c812aed9642f6e4ac34999b9fe'
+ 'd7cf18f67e7e76cc81fed1a2a3e654de')
sha512sums=('06a98687c0b180cb0bfd57440ea26088212d9f48948d503136475bf54b42d72cfec5bea7e333c0cedd60733bd614dd0f8c2eced7e24478b6c89f48e8d0c43482'
'1a90aed5411d72dd3e7708db0cb92c518e656e1a510ece02ad934131e05b8e683b4a36da8d37198263dc19fb2f3f19656c19c01f9b67974f0d7755974076d0b7'
'1491b01d3d14b86d26c383e00e2305858a52ddd498158c9f7f6b33026ee01f246408b1676cffea73f7783c8c4cf546285705c43c0286adbd75ad77706918b5fe'
- 'aae388c5b6c02d9fb857914032b0cd7d68a9f21e30c39ba11f5a29aaf1d742545482054b57ce18872eabb6605bbb359b2fc1e9be5ce6881443fdbdf6b67fab3b')
+ 'aae388c5b6c02d9fb857914032b0cd7d68a9f21e30c39ba11f5a29aaf1d742545482054b57ce18872eabb6605bbb359b2fc1e9be5ce6881443fdbdf6b67fab3b'
+ 'e04288ec8bed02dc4f5e4441285dba499390c78e5a4df8a82718b2905eed3c3a75828bebe4f5fddd1fab5831f0fc764df062f8f8bd971cb2e90352ea240218ac')
+

# Build with GCC/GFortran or the Intel Compiler Suite
_CC="icc" # comment to build with GCC
@@ -70,6 +74,8 @@ prepare() {
sed -i 's|test ${makeinfo_version_min} -lt 7|test ${makeinfo_version_min} -lt 0|' configure
# Fix the config script to look in Makeconf for LDFLAGS
sed -i '/LIBS=`eval $query VAR=LIBS`/a\LDFLAGS=`eval $query VAR=LDFLAGS`' src/scripts/config
+
+ patch -p2 < ../makeconf.in.patch
}

build() {
diff --git a/makeconf.in.patch b/makeconf.in.patch
new file mode 100644
index 0000000..98d09b5
--- /dev/null
+++ b/makeconf.in.patch
@@ -0,0 +1,11 @@
+--- src/R-3.3.2/etc/Makeconf.in 2016-03-17 00:04:44.000000000 +0100
++++ src/R-3.3.2/etc/Makeconf.in.new 2016-11-20 18:35:47.681107000 +0100
+@@ -10,7 +10,7 @@
+ include $(R_SHARE_DIR)/make/vars.mk
+
+ AR = @AR@
+-BLAS_LIBS = @BLAS_LIBS@
++BLAS_LIBS = @BLAS_LIBS@ -lifcore -lifport
+ C_VISIBILITY = @C_VISIBILITY@
+ CC = @CC@
+ CFLAGS = @CFLAGS@ $(LTO)
--
2.10.2

herraiz commented on 2016-11-20 17:25

Could you add a patch for Makeconf.in? The patch is the following one:

14c14
< BLAS_LIBS = @BLAS_LIBS@
---
> BLAS_LIBS = @BLAS_LIBS@ -lifcore -lifport

It prevents problems when compiling some R packages. With that change, I was able to install quantreg and igraph. See comment from AnRe005 2016-08-07 09:22

All comments