From philipp.angerer at helmholtz-muenchen.de  Thu Apr 20 11:17:11 2017
From: philipp.angerer at helmholtz-muenchen.de (Angerer, Philipp)
Date: Thu, 20 Apr 2017 11:17:11 +0200 (CEST)
Subject: [Rd] R 3.4 has broken C++11 support
In-Reply-To: <CA+vqiLETnTgPgJij3KmychuJWrrnpXdjiHyt6OS3=Dmf388qwQ@mail.gmail.com>
References: <1893707771.15504454.1492521112411.JavaMail.zimbra@helmholtz-muenchen.de>
 <1492531681.12031.7.camel@iarc.fr>
 <642977090.16502618.1492598553592.JavaMail.zimbra@helmholtz-muenchen.de>
 <22775.18530.735196.500981@max.eddelbuettel.com>
 <1850432340.16760624.1492612330199.JavaMail.zimbra@helmholtz-muenchen.de>
 <CA+vqiLETnTgPgJij3KmychuJWrrnpXdjiHyt6OS3=Dmf388qwQ@mail.gmail.com>
Message-ID: <2031523708.17629360.1492679831425.JavaMail.zimbra@helmholtz-muenchen.de>

indeed. Makeconf isn?t in the right spot, so the correct vars aren?t set. 

thank you all and sorry for the noise! 


Von: "Ista Zahn" <istazahn at gmail.com> 
An: "Angerer, Philipp" <philipp.angerer at helmholtz-muenchen.de> 
CC: "Dirk Eddelbuettel" <edd at debian.org>, "Martyn Plummer" <plummerm at iarc.fr>, "r-devel" <r-devel at r-project.org> 
Gesendet: Mittwoch, 19. April 2017 19:10:20 
Betreff: Re: [Rd] R 3.4 has broken C++11 support 

Hi Philipp, 

Fellow Archlinux user here. I think the problem is with the r-devel 
PKGBUILD file, rather than anything wrong in R itself. The PKGBUILD 
file does this: 

ln -s /etc/R/${i} ${i} 

when it should do 

ln -s /etc/R-devel/${i} ${i} 

You can fix your installed version with 

cd /opt/r-devel/lib/R/etc/ 
sudo rm ./* 
sudo ln -s /etc/R-devel/javaconf 
sudo ln -s /etc/R-devel/ldpaths 
sudo ln -s /etc/R-devel/Makeconf 
sudo ln -s /etc/R-devel/Renviron 
sudo ln -s /etc/R-devel/repositories 

Or (better) fix the PKGBUILD and makepkg/pacman -U 

Best, 
Ista 



On Wed, Apr 19, 2017 at 10:32 AM, Angerer, Philipp via R-devel 
<r-devel at r-project.org> wrote: 
> Hi Dirk and Martyn, 
> 
>> That looks fine. Can you please give a reproducible example of a package 
>> that compiles correctly on R 3.3.3 but not with R 3.4.0 or R-devel. 
> 
> here you go, it?s pretty much the simplest package possible that needs C++11: 
> 
> https://github.com/flying-sheep/cxx11test 
> 
>> Maybe you can share with us how you configure the build of R-devel? 
> 
> Sure, in the mail you quoted, I already linked exactly that: 
> 
> https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=r-devel#n40 
> 
>> ./configure --prefix=/opt/r-devel \ 
>> --libdir=/opt/r-devel/lib \ 
>> --sysconfdir=/etc/R-devel \ 
>> --datarootdir=/opt/r-devel/share \ 
>> rsharedir=/opt/r-devel/share/R/ \ 
>> rincludedir=/opt/r-devel/include/R/ \ 
>> rdocdir=/opt/r-devel/share/doc/R/ \ 
>> --with-x \ 
>> --enable-R-shlib \ 
>> --with-lapack \ 
>> --with-blas \ 
>> F77=gfortran \ 
>> LIBnn=lib 
> 
> 
> Thanks and cheers, 
> Philipp 
> 
> 
> Helmholtz Zentrum Muenchen 
> Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH) 
> Ingolstaedter Landstr. 1 
> 85764 Neuherberg 
> www.helmholtz-muenchen.de 
> Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe 
> Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen 
> Registergericht: Amtsgericht Muenchen HRB 6466 
> USt-IdNr: DE 129521671 
> 
> ______________________________________________ 
> R-devel at r-project.org mailing list 
> https://stat.ethz.ch/mailman/listinfo/r-devel 

 


Helmholtz Zentrum Muenchen

Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)

Ingolstaedter Landstr. 1

85764 Neuherberg

www.helmholtz-muenchen.de

Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe

Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen

Registergericht: Amtsgericht Muenchen HRB 6466

USt-IdNr: DE 129521671


	[[alternative HTML version deleted]]



[Rd] R 3.4 has broken C++11 support
Angerer, Philipp